[89] | 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 (IDLdoc API 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 (IDLdoc API documentation)"; |
---|
| 19 | } |
---|
| 20 | </script> |
---|
| 21 | </head> |
---|
| 22 | |
---|
| 23 | <body onload="setTitle();"> |
---|
| 24 | |
---|
| 25 | <div id="navbar_title"> |
---|
| 26 | <h1>IDLdoc API 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" 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"></div> |
---|
| 90 | |
---|
| 91 | |
---|
| 92 | |
---|
| 93 | |
---|
| 94 | |
---|
| 95 | |
---|
| 96 | |
---|
| 97 | |
---|
| 98 | |
---|
| 99 | <div id="routine_details"> |
---|
| 100 | |
---|
| 101 | |
---|
| 102 | <div class="routine_details" id="_lec"> |
---|
| 103 | |
---|
| 104 | <h2><a class="top" href="#container">top</a>lec </h2> |
---|
| 105 | |
---|
| 106 | <p class="header"> |
---|
| 107 | <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> |
---|
| 108 | |
---|
| 109 | <div class="comments"> |
---|
| 110 | NAME:lec |
---|
| 111 | |
---|
| 112 | |
---|
| 113 | PURPOSE: |
---|
| 114 | lit les fichiers Vairmer en sort: |
---|
| 115 | un tableau 2d ou 3d en fonction de nomchamp qui est le nom |
---|
| 116 | du champ a extaire (2d s'il commence par SO et 3d s'il commence par VO) |
---|
| 117 | cette fonction modifie aussi les variables globales: |
---|
| 118 | varname: trois lettres: nom de l'experience |
---|
| 119 | vargrid: nom de la grille |
---|
| 120 | vardate: date (yy)yymmdd |
---|
| 121 | varexp: nom Vairmer du champ a tarcer |
---|
| 122 | |
---|
| 123 | CATEGORY: |
---|
| 124 | Graphics, lecture de fichier Vaimer |
---|
| 125 | |
---|
| 126 | CALLING SEQUENCE: |
---|
| 127 | resultat=lec('nom_Vairmer'[,date[,'nom_experience']]) |
---|
| 128 | |
---|
| 129 | INPUTS: |
---|
| 130 | nom_Vairmer: 2 choix possibles: |
---|
| 131 | 1) nom de champ Vairmer (chaine de 8 caracteres en majuscule ou |
---|
| 132 | minuscule commencant par vo ou so). Dans cette methode on saute directement |
---|
| 133 | d'en-tete en en-tete jusqu'a trouver le bon fichier. |
---|
| 134 | 2) chaine de characteres commencant par vo ou so suivit du |
---|
| 135 | numero de champ a aller chercher (par ex 'vo5'). Cette methode est un peu |
---|
| 136 | plus rapide car elle va directement chercher le fichier qui nous interesse. |
---|
| 137 | |
---|
| 138 | arguments optionnels: |
---|
| 139 | |
---|
| 140 | date:nombres de 6 ou 8 chiffres (anneemoisjour, par ex:19980507) |
---|
| 141 | nom_experience:trois lettres designant le nom de l'experience |
---|
| 142 | |
---|
| 143 | KEYWORD PARAMETERS: |
---|
| 144 | |
---|
| 145 | /ANOM:type du fichier vairmer par rapport auquel on doit calculer |
---|
| 146 | l'anomalie ('EX','AN','SE','MO','') |
---|
| 147 | |
---|
| 148 | /ECRIT:permet d'imprimer tous les noms vairmer que contient le fichier. |
---|
| 149 | ds ce cas en input on met seulement 'vo' ou 'so' la fonction retourne le |
---|
| 150 | nombre de fichiers lus. |
---|
| 151 | |
---|
| 152 | /EXPANOM: si on calcule l'anom par rapport a une exper |
---|
| 153 | differente |
---|
| 154 | |
---|
| 155 | FILENAME: string pour passer directement le nom du champ sans |
---|
| 156 | utiliser les inputs: nom_Vairmer',date,'nom_experience'. Rq si |
---|
| 157 | ces inputs sont qd meme donnes ils ne sont pas modifies par |
---|
| 158 | filename. |
---|
| 159 | |
---|
| 160 | /GRID:lorsque ce mot clef est active, lec retourne la liste |
---|
| 161 | des types de grilles (T, U...) auxquelles se rapportent les |
---|
| 162 | variables. ds ce cas en input on met seulement 'vo' ou 'so'. |
---|
| 163 | |
---|
| 164 | /NAME:lorsque ce mot clef est active, lec retourne la liste |
---|
| 165 | des noms des variables. ds ce cas en input on met seulement |
---|
| 166 | 'vo' ou 'so'. |
---|
| 167 | |
---|
| 168 | /TOUT: oblige lec a lire le champ sur tout le domaine qui a |
---|
| 169 | etait selectionne pour la cession en cours (jpi,jpj,jpk) |
---|
| 170 | |
---|
| 171 | OUTPUTS: un tableau 2 ou 3d. sans le mot cle /TOUT, sa taille est |
---|
| 172 | celle du sous domaine definit par domdef (nx,ny,nz). avec /TOUT le |
---|
| 173 | champ a la taille du domaine qui a etait selectionne pour la |
---|
| 174 | cession en cours (jpi,jpj,jpk). |
---|
| 175 | pour les sous domaines cf: |
---|
| 176 | http://www.ipsl.jussieu.fr/~smlod/sousdomaine.html |
---|
| 177 | |
---|
| 178 | COMMON BLOCKS: |
---|
| 179 | common.pro isnumber.pro fivardate.pro |
---|
| 180 | |
---|
| 181 | SIDE EFFECTS:Retourne -1 en cas d'erreur. |
---|
| 182 | |
---|
| 183 | RESTRICTIONS: |
---|
| 184 | |
---|
| 185 | EXAMPLE: |
---|
| 186 | </div> |
---|
| 187 | |
---|
| 188 | |
---|
| 189 | |
---|
| 190 | |
---|
| 191 | <h3>Parameters</h3> |
---|
| 192 | |
---|
| 193 | |
---|
| 194 | <h4 id="_lec_param_nomchamp">nomchamp |
---|
| 195 | |
---|
| 196 | |
---|
| 197 | |
---|
| 198 | |
---|
| 199 | |
---|
| 200 | |
---|
| 201 | |
---|
| 202 | |
---|
| 203 | </h4> |
---|
| 204 | |
---|
| 205 | <div class="comments"></div> |
---|
| 206 | |
---|
| 207 | <h4 id="_lec_param_date">date |
---|
| 208 | |
---|
| 209 | |
---|
| 210 | |
---|
| 211 | |
---|
| 212 | |
---|
| 213 | |
---|
| 214 | |
---|
| 215 | |
---|
| 216 | </h4> |
---|
| 217 | |
---|
| 218 | <div class="comments"></div> |
---|
| 219 | |
---|
| 220 | <h4 id="_lec_param_nomexp">nomexp |
---|
| 221 | |
---|
| 222 | |
---|
| 223 | |
---|
| 224 | |
---|
| 225 | |
---|
| 226 | |
---|
| 227 | |
---|
| 228 | |
---|
| 229 | </h4> |
---|
| 230 | |
---|
| 231 | <div class="comments"></div> |
---|
| 232 | |
---|
| 233 | |
---|
| 234 | |
---|
| 235 | |
---|
| 236 | |
---|
| 237 | |
---|
| 238 | <h3>Keywords</h3> |
---|
| 239 | |
---|
| 240 | <h4 id="_lec_keyword_ECRIT">ECRIT |
---|
| 241 | |
---|
| 242 | |
---|
| 243 | |
---|
| 244 | |
---|
| 245 | |
---|
| 246 | |
---|
| 247 | |
---|
| 248 | |
---|
| 249 | </h4> |
---|
| 250 | |
---|
| 251 | <div class="comments"></div> |
---|
| 252 | |
---|
| 253 | <h4 id="_lec_keyword_ANOM">ANOM |
---|
| 254 | |
---|
| 255 | |
---|
| 256 | |
---|
| 257 | |
---|
| 258 | |
---|
| 259 | |
---|
| 260 | |
---|
| 261 | |
---|
| 262 | </h4> |
---|
| 263 | |
---|
| 264 | <div class="comments"></div> |
---|
| 265 | |
---|
| 266 | <h4 id="_lec_keyword_BOITE">BOITE |
---|
| 267 | |
---|
| 268 | |
---|
| 269 | |
---|
| 270 | |
---|
| 271 | |
---|
| 272 | |
---|
| 273 | |
---|
| 274 | |
---|
| 275 | </h4> |
---|
| 276 | |
---|
| 277 | <div class="comments"></div> |
---|
| 278 | |
---|
| 279 | <h4 id="_lec_keyword_EXPANOM">EXPANOM |
---|
| 280 | |
---|
| 281 | |
---|
| 282 | |
---|
| 283 | |
---|
| 284 | |
---|
| 285 | |
---|
| 286 | |
---|
| 287 | |
---|
| 288 | </h4> |
---|
| 289 | |
---|
| 290 | <div class="comments"></div> |
---|
| 291 | |
---|
| 292 | <h4 id="_lec_keyword_TOUT">TOUT |
---|
| 293 | |
---|
| 294 | |
---|
| 295 | |
---|
| 296 | |
---|
| 297 | |
---|
| 298 | |
---|
| 299 | |
---|
| 300 | |
---|
| 301 | </h4> |
---|
| 302 | |
---|
| 303 | <div class="comments"></div> |
---|
| 304 | |
---|
| 305 | <h4 id="_lec_keyword_GRID">GRID |
---|
| 306 | |
---|
| 307 | |
---|
| 308 | |
---|
| 309 | |
---|
| 310 | |
---|
| 311 | |
---|
| 312 | |
---|
| 313 | |
---|
| 314 | </h4> |
---|
| 315 | |
---|
| 316 | <div class="comments"></div> |
---|
| 317 | |
---|
| 318 | <h4 id="_lec_keyword_NAME">NAME |
---|
| 319 | |
---|
| 320 | |
---|
| 321 | |
---|
| 322 | |
---|
| 323 | |
---|
| 324 | |
---|
| 325 | |
---|
| 326 | |
---|
| 327 | </h4> |
---|
| 328 | |
---|
| 329 | <div class="comments"></div> |
---|
| 330 | |
---|
| 331 | <h4 id="_lec_keyword_filename">filename |
---|
| 332 | |
---|
| 333 | |
---|
| 334 | |
---|
| 335 | |
---|
| 336 | |
---|
| 337 | |
---|
| 338 | |
---|
| 339 | |
---|
| 340 | </h4> |
---|
| 341 | |
---|
| 342 | <div class="comments"></div> |
---|
| 343 | |
---|
| 344 | |
---|
| 345 | |
---|
| 346 | |
---|
| 347 | |
---|
| 348 | |
---|
| 349 | |
---|
| 350 | |
---|
| 351 | |
---|
| 352 | |
---|
| 353 | |
---|
| 354 | |
---|
| 355 | |
---|
| 356 | |
---|
| 357 | |
---|
| 358 | |
---|
| 359 | |
---|
| 360 | |
---|
| 361 | |
---|
| 362 | |
---|
| 363 | |
---|
| 364 | |
---|
| 365 | |
---|
| 366 | |
---|
| 367 | |
---|
| 368 | |
---|
| 369 | </div> |
---|
| 370 | |
---|
| 371 | </div> |
---|
| 372 | |
---|
| 373 | |
---|
| 374 | |
---|
| 375 | <div id="tagline">Produced by IDLdoc 2.0.</div> |
---|
| 376 | |
---|
| 377 | </div> |
---|
| 378 | |
---|
| 379 | </body> |
---|
| 380 | </html> |
---|