1 | |
---|
2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
3 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
4 | |
---|
5 | <!-- Generated by IDLdoc 2.0 --> |
---|
6 | |
---|
7 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
---|
8 | <head> |
---|
9 | <title>lec.pro (SAXO Documentation)</title> |
---|
10 | |
---|
11 | |
---|
12 | <link rel="stylesheet" type="text/css" media="all" href="./../main_files.css" /> |
---|
13 | <link rel="stylesheet" type="text/css" media="print" href="./../main_files_print.css" /> |
---|
14 | |
---|
15 | |
---|
16 | <script type="text/javascript"> |
---|
17 | function setTitle() { |
---|
18 | parent.document.title="lec.pro (SAXO Documentation)"; |
---|
19 | } |
---|
20 | </script> |
---|
21 | </head> |
---|
22 | |
---|
23 | <body onload="setTitle();"> |
---|
24 | |
---|
25 | <div id="navbar_title"> |
---|
26 | <h1>SAXO Documentation</h1> |
---|
27 | </div> |
---|
28 | |
---|
29 | |
---|
30 | <div id="main_navbar"> |
---|
31 | |
---|
32 | <table cellspacing="0"> |
---|
33 | <tr> |
---|
34 | |
---|
35 | <td><a href="./../overview.html?format=raw" title="Overview of library">Overview</a></td> |
---|
36 | |
---|
37 | |
---|
38 | |
---|
39 | <td >Directory</td> |
---|
40 | |
---|
41 | |
---|
42 | |
---|
43 | <td><a href="./../idldoc-categories.html?format=raw" title="Browse library by category">Categories</a></td> |
---|
44 | |
---|
45 | |
---|
46 | |
---|
47 | <td><a href="./../idldoc-index.html?format=raw" title="Index of files, routines, and parameters">Index</a></td> |
---|
48 | |
---|
49 | |
---|
50 | |
---|
51 | <td><a href="./../search-page.html?format=raw" title="Search library">Search</a></td> |
---|
52 | |
---|
53 | |
---|
54 | <td id="selected">File</td> |
---|
55 | |
---|
56 | |
---|
57 | <td >Source</td> |
---|
58 | |
---|
59 | |
---|
60 | |
---|
61 | <td><a href="./../idldoc-help.html?format=raw" title="Help on IDLdoc">Help</a></td> |
---|
62 | |
---|
63 | |
---|
64 | <td >Etc</td> |
---|
65 | |
---|
66 | <td id="flexible">Developer documentation</td> |
---|
67 | </tr> |
---|
68 | </table> |
---|
69 | |
---|
70 | </div> |
---|
71 | |
---|
72 | <div id="secondary_navbar"> |
---|
73 | |
---|
74 | <a href="juldate.html"><<prev file</a> | <a href="lect.html">next file >></a> <a href="lec.html?format=raw" target="_TOP">view single page</a> | <a href="./../index.html?format=raw" target="_TOP">view frames</a> summary: fields | routine details: <a href="#routine_details">routine</a> |
---|
75 | |
---|
76 | </div> |
---|
77 | |
---|
78 | |
---|
79 | <div id="container"> |
---|
80 | |
---|
81 | <h1 class="directory"><a href="directory-overview.html?format=raw">Obsolete/</a></h1> |
---|
82 | <h2 class="pro_file">lec.pro</h2> |
---|
83 | |
---|
84 | <div id="file_attr"> |
---|
85 | <dl> |
---|
86 | </dl> |
---|
87 | </div> |
---|
88 | |
---|
89 | <div id="file_comments"> |
---|
90 | lit les fichiers Vairmer en sort: |
---|
91 | un tableau 2d ou 3d en fonction de nomchamp qui est le nom |
---|
92 | du champ a extaire (2d s'il commence par SO et 3d s'il commence par VO) |
---|
93 | cette fonction modifie aussi les variables globales: |
---|
94 | varname: trois lettres: nom de l'experience |
---|
95 | vargrid: nom de la grille |
---|
96 | vardate: date (yy)yymmdd |
---|
97 | varexp: nom Vairmer du champ a tarcer |
---|
98 | </div> |
---|
99 | |
---|
100 | |
---|
101 | |
---|
102 | |
---|
103 | |
---|
104 | |
---|
105 | |
---|
106 | |
---|
107 | |
---|
108 | <div id="routine_details"> |
---|
109 | |
---|
110 | |
---|
111 | <div class="routine_details" id="_lec"> |
---|
112 | |
---|
113 | <h2><a class="top" href="#container">top</a>lec <span class="warning">obsolete</span> <span class="categories"> Graphics, lecture de fichier Vaimer |
---|
114 | </span></h2> |
---|
115 | |
---|
116 | <p class="header"> |
---|
117 | <span class="result">result = </span>lec(<span class="result"><a href="#_lec_param_nomchamp">nomchamp</a>[, <a href="#_lec_param_date">date</a>][, <a href="#_lec_param_nomexp">nomexp</a>]</span>, <a href="#_lec_keyword_ECRIT">ECRIT</a>=<span class="result">ECRIT</span>, <a href="#_lec_keyword_ANOM">ANOM</a>=<span class="result">ANOM</span>, <a href="#_lec_keyword_BOITE">BOITE</a>=<span class="result">BOITE</span>, <a href="#_lec_keyword_EXPANOM">EXPANOM</a>=<span class="result">EXPANOM</span>, <a href="#_lec_keyword_TOUT">TOUT</a>=<span class="result">TOUT</span>, <a href="#_lec_keyword_GRID">GRID</a>=<span class="result">GRID</span>, <a href="#_lec_keyword_NAME">NAME</a>=<span class="result">NAME</span>, <a href="#_lec_keyword_filename">filename</a>=<span class="result">filename</span>)</p> |
---|
118 | |
---|
119 | <div class="comments"></div> |
---|
120 | |
---|
121 | <h3>Return value</h3><div class="value"> un tableau 2 ou 3d. sans le mot cle /TOUT, sa taille est |
---|
122 | celle du sous domaine definit par domdef (nx,ny,nz). avec /TOUT le |
---|
123 | champ a la taille du domaine qui a etait selectionne pour la |
---|
124 | cession en cours (jpi,jpj,jpk). |
---|
125 | pour les sous domaines cf: |
---|
126 | http://www.ipsl.jussieu.fr/~smlod/sousdomaine.html |
---|
127 | Retourne -1 en cas d'erreur. |
---|
128 | </div> |
---|
129 | |
---|
130 | |
---|
131 | <h3>Parameters</h3> |
---|
132 | |
---|
133 | |
---|
134 | <h4 id="_lec_param_nomchamp">nomchamp |
---|
135 | <span class="attr">in</span> |
---|
136 | |
---|
137 | |
---|
138 | <span class="attr">required</span> |
---|
139 | |
---|
140 | |
---|
141 | |
---|
142 | |
---|
143 | </h4> |
---|
144 | |
---|
145 | <div class="comments"> 2 choix possibles: |
---|
146 | 1) nom de champ Vairmer (chaine de 8 caracteres en majuscule ou |
---|
147 | minuscule commencant par vo ou so). Dans cette methode on saute directement |
---|
148 | d'en-tete en en-tete jusqu'a trouver le bon fichier. |
---|
149 | 2) chaine de characteres commencant par vo ou so suivit du |
---|
150 | numero de champ a aller chercher (par ex 'vo5'). Cette methode est un peu |
---|
151 | plus rapide car elle va directement chercher le fichier qui nous interesse. |
---|
152 | </div> |
---|
153 | |
---|
154 | <h4 id="_lec_param_date">date |
---|
155 | <span class="attr">in</span> |
---|
156 | |
---|
157 | <span class="attr">optional</span> |
---|
158 | |
---|
159 | |
---|
160 | |
---|
161 | |
---|
162 | |
---|
163 | </h4> |
---|
164 | |
---|
165 | <div class="comments"> nombres de 6 ou 8 chiffres (anneemoisjour, par ex:19980507)</div> |
---|
166 | |
---|
167 | <h4 id="_lec_param_nomexp">nomexp |
---|
168 | <span class="attr">in</span> |
---|
169 | |
---|
170 | <span class="attr">optional</span> |
---|
171 | |
---|
172 | |
---|
173 | |
---|
174 | |
---|
175 | |
---|
176 | </h4> |
---|
177 | |
---|
178 | <div class="comments"> trois lettres designant le nom de l'experience |
---|
179 | |
---|
180 | </div> |
---|
181 | |
---|
182 | |
---|
183 | |
---|
184 | |
---|
185 | |
---|
186 | |
---|
187 | <h3>Keywords</h3> |
---|
188 | |
---|
189 | <h4 id="_lec_keyword_ECRIT">ECRIT |
---|
190 | <span class="attr">in</span> |
---|
191 | |
---|
192 | |
---|
193 | |
---|
194 | |
---|
195 | |
---|
196 | |
---|
197 | |
---|
198 | </h4> |
---|
199 | |
---|
200 | <div class="comments"> permet d'imprimer tous les noms vairmer que contient le fichier. |
---|
201 | ds ce cas en input on met seulement 'vo' ou 'so' la fonction retourne le |
---|
202 | nombre de fichiers lus. |
---|
203 | </div> |
---|
204 | |
---|
205 | <h4 id="_lec_keyword_ANOM">ANOM |
---|
206 | <span class="attr">in</span> |
---|
207 | |
---|
208 | |
---|
209 | |
---|
210 | |
---|
211 | |
---|
212 | |
---|
213 | |
---|
214 | </h4> |
---|
215 | |
---|
216 | <div class="comments"> type du fichier vairmer par rapport auquel on doit calculer |
---|
217 | l'anomalie ('EX','AN','SE','MO','') |
---|
218 | </div> |
---|
219 | |
---|
220 | <h4 id="_lec_keyword_BOITE">BOITE |
---|
221 | |
---|
222 | |
---|
223 | |
---|
224 | |
---|
225 | |
---|
226 | |
---|
227 | |
---|
228 | |
---|
229 | </h4> |
---|
230 | |
---|
231 | <div class="comments"></div> |
---|
232 | |
---|
233 | <h4 id="_lec_keyword_EXPANOM">EXPANOM |
---|
234 | <span class="attr">in</span> |
---|
235 | |
---|
236 | |
---|
237 | |
---|
238 | |
---|
239 | |
---|
240 | |
---|
241 | |
---|
242 | </h4> |
---|
243 | |
---|
244 | <div class="comments"> si on calcule l'anom par rapport a une exper |
---|
245 | differente |
---|
246 | </div> |
---|
247 | |
---|
248 | <h4 id="_lec_keyword_TOUT">TOUT |
---|
249 | |
---|
250 | |
---|
251 | |
---|
252 | |
---|
253 | |
---|
254 | |
---|
255 | |
---|
256 | |
---|
257 | </h4> |
---|
258 | |
---|
259 | <div class="comments"> oblige lec a lire le champ sur tout le domaine qui a |
---|
260 | etait selectionne pour la cession en cours (jpi,jpj,jpk) |
---|
261 | </div> |
---|
262 | |
---|
263 | <h4 id="_lec_keyword_GRID">GRID |
---|
264 | |
---|
265 | |
---|
266 | |
---|
267 | |
---|
268 | |
---|
269 | |
---|
270 | |
---|
271 | |
---|
272 | </h4> |
---|
273 | |
---|
274 | <div class="comments"> lorsque ce mot clef est active, lec retourne la liste |
---|
275 | des types de grilles (T, U...) auxquelles se rapportent les |
---|
276 | variables. ds ce cas en input on met seulement 'vo' ou 'so'. |
---|
277 | </div> |
---|
278 | |
---|
279 | <h4 id="_lec_keyword_NAME">NAME |
---|
280 | |
---|
281 | |
---|
282 | |
---|
283 | |
---|
284 | |
---|
285 | |
---|
286 | |
---|
287 | |
---|
288 | </h4> |
---|
289 | |
---|
290 | <div class="comments"> lorsque ce mot clef est active, lec retourne la liste |
---|
291 | des noms des variables. ds ce cas en input on met seulement |
---|
292 | 'vo' ou 'so'. |
---|
293 | </div> |
---|
294 | |
---|
295 | <h4 id="_lec_keyword_filename">filename |
---|
296 | |
---|
297 | |
---|
298 | |
---|
299 | |
---|
300 | |
---|
301 | |
---|
302 | |
---|
303 | |
---|
304 | </h4> |
---|
305 | |
---|
306 | <div class="comments"> string pour passer directement le nom du champ sans |
---|
307 | utiliser les inputs: nom_Vairmer',date,'nom_experience'. Rq si |
---|
308 | ces inputs sont qd meme donnes ils ne sont pas modifies par |
---|
309 | filename. |
---|
310 | </div> |
---|
311 | |
---|
312 | |
---|
313 | |
---|
314 | <h3>Examples</h3><div class="value"> |
---|
315 | IDL>resultat=lec('nom_Vairmer'[,date[,'nom_experience']]) |
---|
316 | </div> |
---|
317 | <h3>Version history</h3> |
---|
318 | |
---|
319 | |
---|
320 | <h4>History</h4><div class="value"> Sebastien Masson (smasson@lodyc.jussieu.fr) |
---|
321 | 26/5/98 |
---|
322 | Jerome Vialard : adaptation au format vairmer |
---|
323 | keyword anom et expanom |
---|
324 | 1/7/98 |
---|
325 | Sebastien Masson (masque des terres) |
---|
326 | 14/8/98 |
---|
327 | Sebastien Masson (decoupe pour les sous domaines...) |
---|
328 | 2/99 |
---|
329 | ;-</div> |
---|
330 | |
---|
331 | |
---|
332 | <h3>Known issues</h3> |
---|
333 | <h4>Obsolete</h4><div class="value"></div> |
---|
334 | |
---|
335 | |
---|
336 | |
---|
337 | |
---|
338 | <h3>Other attributes</h3> |
---|
339 | |
---|
340 | |
---|
341 | <h4>Uses routines</h4><div class="value"> common.pro isnumber.pro fivardate.pro |
---|
342 | </div> |
---|
343 | |
---|
344 | |
---|
345 | |
---|
346 | |
---|
347 | |
---|
348 | |
---|
349 | </div> |
---|
350 | |
---|
351 | </div> |
---|
352 | |
---|
353 | |
---|
354 | |
---|
355 | <div id="tagline">Produced by IDLdoc 2.0.</div> |
---|
356 | |
---|
357 | </div> |
---|
358 | |
---|
359 | </body> |
---|
360 | </html> |
---|