Changeset eca358d in flex_extract.git for Documentation/html/Documentation/Api/api_python.html
- Timestamp:
- Feb 1, 2020, 9:32:17 PM (4 years ago)
- Branches:
- master, ctbto, dev
- Children:
- 072cbea
- Parents:
- 53d3b2a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Documentation/html/Documentation/Api/api_python.html
r30f7911 reca358d 189 189 <div class="contents local topic" id="contents"> 190 190 <ul class="simple"> 191 <li><a class="reference internal" href="#programs" id="id 1">Programs</a><ul>192 <li><a class="reference internal" href="#module-install" id="id 2">install</a></li>193 <li><a class="reference internal" href="#module-submit" id="id 3">submit</a></li>191 <li><a class="reference internal" href="#programs" id="id3">Programs</a><ul> 192 <li><a class="reference internal" href="#module-install" id="id4">install</a></li> 193 <li><a class="reference internal" href="#module-submit" id="id5">submit</a></li> 194 194 </ul> 195 195 </li> 196 <li><a class="reference internal" href="#classes" id="id 4">Classes</a><ul>197 <li><a class="reference internal" href="#module-ControlFile" id="id 5">ControlFile</a></li>198 <li><a class="reference internal" href="#module-EcFlexpart" id="id 6">EcFlexpart</a></li>199 <li><a class="reference internal" href="#module-GribUtil" id="id 7">GribUtil</a></li>200 <li><a class="reference internal" href="#module-MarsRetrieval" id="id 8">MarsRetrieval</a></li>201 <li><a class="reference internal" href="#module-UioFiles" id="id 9">UioFiles</a></li>196 <li><a class="reference internal" href="#classes" id="id6">Classes</a><ul> 197 <li><a class="reference internal" href="#module-ControlFile" id="id7">ControlFile</a></li> 198 <li><a class="reference internal" href="#module-EcFlexpart" id="id8">EcFlexpart</a></li> 199 <li><a class="reference internal" href="#module-GribUtil" id="id9">GribUtil</a></li> 200 <li><a class="reference internal" href="#module-MarsRetrieval" id="id10">MarsRetrieval</a></li> 201 <li><a class="reference internal" href="#module-UioFiles" id="id11">UioFiles</a></li> 202 202 </ul> 203 203 </li> 204 <li><a class="reference internal" href="#modules" id="id1 0">Modules</a><ul>205 <li><a class="reference internal" href="#module-get_mars_data" id="id1 1">get_mars_data</a></li>206 <li><a class="reference internal" href="#module-prepare_flexpart" id="id1 2">prepare_flexpart</a></li>207 <li><a class="reference internal" href="#module-tools" id="id1 3">tools</a></li>208 <li><a class="reference internal" href="#module-checks" id="id1 4">checks</a></li>209 <li><a class="reference internal" href="#module-disaggregation" id="id1 5">disaggregation</a></li>204 <li><a class="reference internal" href="#modules" id="id12">Modules</a><ul> 205 <li><a class="reference internal" href="#module-get_mars_data" id="id13">get_mars_data</a></li> 206 <li><a class="reference internal" href="#module-prepare_flexpart" id="id14">prepare_flexpart</a></li> 207 <li><a class="reference internal" href="#module-tools" id="id15">tools</a></li> 208 <li><a class="reference internal" href="#module-checks" id="id16">checks</a></li> 209 <li><a class="reference internal" href="#module-disaggregation" id="id17">disaggregation</a></li> 210 210 </ul> 211 211 </li> … … 213 213 </div> 214 214 <div class="section" id="programs"> 215 <h2><a class="toc-backref" href="#id 1">Programs</a><a class="headerlink" href="#programs" title="Permalink to this headline">¶</a></h2>215 <h2><a class="toc-backref" href="#id3">Programs</a><a class="headerlink" href="#programs" title="Permalink to this headline">¶</a></h2> 216 216 <div class="section" id="module-install"> 217 <span id="install"></span><h3><a class="toc-backref" href="#id 2">install</a><a class="headerlink" href="#module-install" title="Permalink to this headline">¶</a></h3>217 <span id="install"></span><h3><a class="toc-backref" href="#id4">install</a><a class="headerlink" href="#module-install" title="Permalink to this headline">¶</a></h3> 218 218 <p>This script installs the flex_extract program.</p> 219 219 <p>Depending on the selected installation environment (locally or on the … … 319 319 <dl class="function"> 320 320 <dt id="install.mk_compilejob"> 321 <code class="descclassname">install.</code><code class="descname">mk_compilejob</code><span class="sig-paren">(</span><em>makefile</em>, <em> target</em>, <em>ecuid</em>, <em>ecgid</em>, <em>fp_root</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/install.html#mk_compilejob"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#install.mk_compilejob" title="Permalink to this definition">¶</a></dt>321 <code class="descclassname">install.</code><code class="descname">mk_compilejob</code><span class="sig-paren">(</span><em>makefile</em>, <em>ecuid</em>, <em>ecgid</em>, <em>fp_root</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/install.html#mk_compilejob"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#install.mk_compilejob" title="Permalink to this definition">¶</a></dt> 322 322 <dd><p>Modifies the original job template file so that it is specified 323 323 for the user and the environment were it will be applied. Result … … 330 330 <li><strong>makefile</strong> (<em>str</em>) – Name of the makefile which should be used to compile FORTRAN 331 331 CONVERT2 program.</li> 332 <li><strong>target</strong> (<em>str</em>) – The target where the installation should be done, e.g. the queue.</li>333 332 <li><strong>ecuid</strong> (<em>str</em>) – The user id on ECMWF server.</li> 334 333 <li><strong>ecgid</strong> (<em>str</em>) – The group id on ECMWF server.</li> … … 385 384 <dl class="function"> 386 385 <dt id="install.mk_job_template"> 387 <code class="descclassname">install.</code><code class="descname">mk_job_template</code><span class="sig-paren">(</span><em>ecuid</em>, <em>ecgid</em>, <em> gateway</em>, <em>destination</em>, <em>fp_root</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/install.html#mk_job_template"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#install.mk_job_template" title="Permalink to this definition">¶</a></dt>386 <code class="descclassname">install.</code><code class="descname">mk_job_template</code><span class="sig-paren">(</span><em>ecuid</em>, <em>ecgid</em>, <em>fp_root</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/install.html#mk_job_template"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#install.mk_job_template" title="Permalink to this definition">¶</a></dt> 388 387 <dd><p>Modifies the original job template file so that it is specified 389 388 for the user and the environment were it will be applied. Result … … 396 395 <li><strong>ecuid</strong> (<em>str</em>) – The user id on ECMWF server.</li> 397 396 <li><strong>ecgid</strong> (<em>str</em>) – The group id on ECMWF server.</li> 398 <li><strong>gateway</strong> (<em>str</em>) – The gateway server the user is using.</li>399 <li><strong>destination</strong> (<em>str</em>) – The remote destination which is used to transfer files400 from ECMWF server to local gateway server.</li>401 397 <li><strong>fp_root</strong> (<em>str</em>) – Path to the root directory of FLEXPART environment or flex_extract 402 398 environment.</li> … … 449 445 </div> 450 446 <div class="section" id="module-submit"> 451 <span id="submit"></span><h3><a class="toc-backref" href="#id 3">submit</a><a class="headerlink" href="#module-submit" title="Permalink to this headline">¶</a></h3>447 <span id="submit"></span><h3><a class="toc-backref" href="#id5">submit</a><a class="headerlink" href="#module-submit" title="Permalink to this headline">¶</a></h3> 452 448 <p>This script allows the user to extract meteorological fields from the ECMWF.</p> 453 449 <p>It prepares the settings for retrieving the data from ECMWF servers and … … 530 526 </div> 531 527 <div class="section" id="classes"> 532 <h2><a class="toc-backref" href="#id 4">Classes</a><a class="headerlink" href="#classes" title="Permalink to this headline">¶</a></h2>528 <h2><a class="toc-backref" href="#id6">Classes</a><a class="headerlink" href="#classes" title="Permalink to this headline">¶</a></h2> 533 529 <div class="section" id="module-ControlFile"> 534 <span id="controlfile"></span><h3><a class="toc-backref" href="#id 5">ControlFile</a><a class="headerlink" href="#module-ControlFile" title="Permalink to this headline">¶</a></h3>530 <span id="controlfile"></span><h3><a class="toc-backref" href="#id7">ControlFile</a><a class="headerlink" href="#module-ControlFile" title="Permalink to this headline">¶</a></h3> 535 531 <dl class="class"> 536 532 <dt id="ControlFile.ControlFile"> … … 541 537 from the MARS archive for driving FLEXPART are set in a CONTROL file. 542 538 Some specific parameters like the start and end dates can be overwritten 543 by the command line parameters, but in gener el all parameters needed539 by the command line parameters, but in generall all parameters needed 544 540 for a complete set of fields for FLEXPART can be set in the CONTROL file.</p> 545 541 <dl class="attribute"> … … 1207 1203 1208 1204 <dl class="attribute"> 1209 <dt id="ControlFile.ControlFile.grib2flexpart">1210 <code class="descname">grib2flexpart</code><a class="headerlink" href="#ControlFile.ControlFile.grib2flexpart" title="Permalink to this definition">¶</a></dt>1211 <dd><p>Switch to select generation of preprocessed FLEXPART files “.fp”.1212 If it is selected, the program grib2flexpart will try1213 to convert the flex_extract output files into “.fp” format.</p>1214 <table class="docutils field-list" frame="void" rules="none">1215 <col class="field-name" />1216 <col class="field-body" />1217 <tbody valign="top">1218 <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">int 0</td>1219 </tr>1220 </tbody>1221 </table>1222 </dd></dl>1223 1224 <dl class="attribute">1225 1205 <dt id="ControlFile.ControlFile.ecstorage"> 1226 1206 <code class="descname">ecstorage</code><a class="headerlink" href="#ControlFile.ControlFile.ecstorage" title="Permalink to this definition">¶</a></dt> … … 1557 1537 <dd><p>List of the names of logical switches which controls the flow 1558 1538 of the program. Default list is [‘gauss’, ‘omega’, ‘omegadiff’, ‘eta’, 1559 ‘etadiff’, ‘dpdeta’, ‘cwc’, ‘wrf’, ‘ grib2flexpart’, ‘ecstorage’,1539 ‘etadiff’, ‘dpdeta’, ‘cwc’, ‘wrf’, ‘ecstorage’, 1560 1540 ‘ectrans’, ‘debug’, ‘request’, ‘public’, ‘purefc’, ‘rrint’, ‘doubleelda’]</p> 1561 1541 <table class="docutils field-list" frame="void" rules="none"> … … 1642 1622 </div> 1643 1623 <div class="section" id="module-EcFlexpart"> 1644 <span id="ecflexpart"></span><h3><a class="toc-backref" href="#id 6">EcFlexpart</a><a class="headerlink" href="#module-EcFlexpart" title="Permalink to this headline">¶</a></h3>1624 <span id="ecflexpart"></span><h3><a class="toc-backref" href="#id8">EcFlexpart</a><a class="headerlink" href="#module-EcFlexpart" title="Permalink to this headline">¶</a></h3> 1645 1625 <dl class="class"> 1646 1626 <dt id="EcFlexpart.EcFlexpart"> … … 2211 2191 </div> 2212 2192 <div class="section" id="module-GribUtil"> 2213 <span id="gributil"></span><h3><a class="toc-backref" href="#id 7">GribUtil</a><a class="headerlink" href="#module-GribUtil" title="Permalink to this headline">¶</a></h3>2193 <span id="gributil"></span><h3><a class="toc-backref" href="#id9">GribUtil</a><a class="headerlink" href="#module-GribUtil" title="Permalink to this headline">¶</a></h3> 2214 2194 <dl class="class"> 2215 2195 <dt id="GribUtil.GribUtil"> … … 2226 2206 <dl class="method"> 2227 2207 <dt id="GribUtil.GribUtil.copy_dummy_msg"> 2228 <code class="descname">copy_dummy_msg</code><span class="sig-paren">(</span><em>filename_in</em>, <em> selectWhere=True</em>, <em>keynames=[]</em>, <em>keyvalues=[]</em>, <em>filemode='wb'</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/GribUtil.html#GribUtil.copy_dummy_msg"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GribUtil.GribUtil.copy_dummy_msg" title="Permalink to this definition">¶</a></dt>2208 <code class="descname">copy_dummy_msg</code><span class="sig-paren">(</span><em>filename_in</em>, <em>keynames</em>, <em>keyvalues</em>, <em>selectwhere=True</em>, <em>filemode='wb'</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/GribUtil.html#GribUtil.copy_dummy_msg"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GribUtil.GribUtil.copy_dummy_msg" title="Permalink to this definition">¶</a></dt> 2229 2209 <dd><p>Add the content of another input grib file to the objects file but 2230 2210 only messages corresponding to keys/values passed to the function. … … 2237 2217 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> 2238 2218 <li><strong>filename_in</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code>) – Filename of the input file to read the grib messages from.</li> 2239 <li><strong>select Where</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">boolean</span></code>, optional) – Decides if to copy the keynames and values equal to (True) or2219 <li><strong>selectwhere</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">boolean</span></code>, optional) – Decides if to copy the keynames and values equal to (True) or 2240 2220 different to (False) the keynames/keyvalues list passed to the 2241 2221 function. Default is True.</li> 2242 <li><strong>keynames</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code> , optional) – List of keynames. Default is an empty list.</li>2243 <li><strong>keyvalues</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code> , optional) – List of keyvalues. Default is an empty list.</li>2222 <li><strong>keynames</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code>) – List of keynames.</li> 2223 <li><strong>keyvalues</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code>) – List of keyvalues.</li> 2244 2224 <li><strong>filemode</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code>, optional) – Sets the mode for the output file. Default is “wb”.</li> 2245 2225 </ul> … … 2252 2232 <dl class="method"> 2253 2233 <dt id="GribUtil.GribUtil.get_keys"> 2254 <code class="descname">get_keys</code><span class="sig-paren">(</span><em>keynames</em>, <em>wherekeynames =[]</em>, <em>wherekeyvalues=[]</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/GribUtil.html#GribUtil.get_keys"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GribUtil.GribUtil.get_keys" title="Permalink to this definition">¶</a></dt>2234 <code class="descname">get_keys</code><span class="sig-paren">(</span><em>keynames</em>, <em>wherekeynames</em>, <em>wherekeyvalues</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/GribUtil.html#GribUtil.get_keys"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GribUtil.GribUtil.get_keys" title="Permalink to this definition">¶</a></dt> 2255 2235 <dd><p>Get keyvalues for a given list of keynames a where statement 2256 2236 can be given (list of key and list of values)</p> … … 2261 2241 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> 2262 2242 <li><strong>keynames</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code>) – List of keynames.</li> 2263 <li><strong>wherekeynames</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code> , optional) – Default value is an empty list.</li>2264 <li><strong>wherekeyvalues</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code> , optional) – Default value is an empty list.</li>2243 <li><strong>wherekeynames</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code>) – List of key names for indexing grib message parameter.</li> 2244 <li><strong>wherekeyvalues</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code>) – List of key values corresponding the key names.</li> 2265 2245 </ul> 2266 2246 </td> … … 2278 2258 <dl class="method"> 2279 2259 <dt id="GribUtil.GribUtil.index"> 2280 <code class="descname">index</code><span class="sig-paren">(</span><em>index_keys =['mars'],index_file='my.idx'</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/GribUtil.html#GribUtil.index"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GribUtil.GribUtil.index" title="Permalink to this definition">¶</a></dt>2260 <code class="descname">index</code><span class="sig-paren">(</span><em>index_keys</em>, <em>index_file='my.idx'</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/GribUtil.html#GribUtil.index"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GribUtil.GribUtil.index" title="Permalink to this definition">¶</a></dt> 2281 2261 <dd><p>Create index file from a list of files if it does not exist or 2282 2262 read an index file.</p> … … 2286 2266 <tbody valign="top"> 2287 2267 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> 2288 <li><strong>index_keys</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code>, optional) – Contains the list of key parameter names from 2289 which the index is to be created. 2290 Default is a list with a single entry string “mars”.</li> 2268 <li><strong>index_keys</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code>) – Contains the list of key parameter names from 2269 which the index is to be created.</li> 2291 2270 <li><strong>index_file</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code>, optional) – Filename where the indices are stored. 2292 2271 Default is “my.idx”.</li> … … 2306 2285 <dl class="method"> 2307 2286 <dt id="GribUtil.GribUtil.set_keys"> 2308 <code class="descname">set_keys</code><span class="sig-paren">(</span><em>fromfile</em>, <em>keynames</em>, <em>keyvalues</em>, <em>wherekeynames =[]</em>, <em>wherekeyvalues=[]</em>, <em>strict=False</em>, <em>filemode='wb'</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/GribUtil.html#GribUtil.set_keys"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GribUtil.GribUtil.set_keys" title="Permalink to this definition">¶</a></dt>2287 <code class="descname">set_keys</code><span class="sig-paren">(</span><em>fromfile</em>, <em>keynames</em>, <em>keyvalues</em>, <em>wherekeynames</em>, <em>wherekeyvalues</em>, <em>filemode='wb'</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/GribUtil.html#GribUtil.set_keys"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GribUtil.GribUtil.set_keys" title="Permalink to this definition">¶</a></dt> 2309 2288 <dd><p>Opens the file to read the grib messages and then write 2310 2289 the selected messages (with wherekeys) to a new output file. … … 2320 2299 <li><strong>keyvalues</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code>) – List of keyvalues to set in the selected messages. 2321 2300 Default is an empty list.</li> 2322 <li><strong>wherekeynames</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code>, optional) – List of keynames to select correct message. 2323 Default value is an empty list.</li> 2324 <li><strong>wherekeyvalues</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code>, optional) – List of keyvalues for keynames to select correct message. 2325 Default value is an empty list.</li> 2326 <li><strong>strict</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">boolean</span></code>, optional) – Decides if everything from keynames and keyvalues 2327 is written out the grib file (False) or only those 2328 meeting the where statement (True). Default is False.</li> 2301 <li><strong>wherekeynames</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code>) – List of keynames to select correct message.</li> 2302 <li><strong>wherekeyvalues</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code> of <code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code>) – List of keyvalues for keynames to select correct message.</li> 2329 2303 <li><strong>filemode</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">string</span></code>, optional) – Sets the mode for the output file. Default is “wb”.</li> 2330 2304 </ul> … … 2339 2313 </div> 2340 2314 <div class="section" id="module-MarsRetrieval"> 2341 <span id="marsretrieval"></span><h3><a class="toc-backref" href="#id 8">MarsRetrieval</a><a class="headerlink" href="#module-MarsRetrieval" title="Permalink to this headline">¶</a></h3>2315 <span id="marsretrieval"></span><h3><a class="toc-backref" href="#id10">MarsRetrieval</a><a class="headerlink" href="#module-MarsRetrieval" title="Permalink to this headline">¶</a></h3> 2342 2316 <dl class="class"> 2343 2317 <dt id="MarsRetrieval.MarsRetrieval"> … … 2692 2666 </div> 2693 2667 <div class="section" id="module-UioFiles"> 2694 <span id="uiofiles"></span><h3><a class="toc-backref" href="#id 9">UioFiles</a><a class="headerlink" href="#module-UioFiles" title="Permalink to this headline">¶</a></h3>2668 <span id="uiofiles"></span><h3><a class="toc-backref" href="#id11">UioFiles</a><a class="headerlink" href="#module-UioFiles" title="Permalink to this headline">¶</a></h3> 2695 2669 <dl class="class"> 2696 2670 <dt id="UioFiles.UioFiles"> … … 2717 2691 <dt id="UioFiles.UioFiles.pattern"> 2718 2692 <code class="descname">pattern</code><a class="headerlink" href="#UioFiles.UioFiles.pattern" title="Permalink to this definition">¶</a></dt> 2719 <dd><p>Regular expression pattern. For example: ‘ *.grb’</p>2693 <dd><p>Regular expression pattern. For example: ‘<a href="#id1"><span class="problematic" id="id2">*</span></a>.grb’</p> 2720 2694 <table class="docutils field-list" frame="void" rules="none"> 2721 2695 <col class="field-name" /> … … 2753 2727 </div> 2754 2728 <div class="section" id="modules"> 2755 <h2><a class="toc-backref" href="#id1 0">Modules</a><a class="headerlink" href="#modules" title="Permalink to this headline">¶</a></h2>2729 <h2><a class="toc-backref" href="#id12">Modules</a><a class="headerlink" href="#modules" title="Permalink to this headline">¶</a></h2> 2756 2730 <div class="section" id="module-get_mars_data"> 2757 <span id="get-mars-data"></span><h3><a class="toc-backref" href="#id1 1">get_mars_data</a><a class="headerlink" href="#module-get_mars_data" title="Permalink to this headline">¶</a></h3>2731 <span id="get-mars-data"></span><h3><a class="toc-backref" href="#id13">get_mars_data</a><a class="headerlink" href="#module-get_mars_data" title="Permalink to this headline">¶</a></h3> 2758 2732 <p>This script extracts MARS data from ECMWF servers.</p> 2759 2733 <p>At first, the necessary parameters from command line and CONTROL files are … … 2778 2752 <dt id="get_mars_data.check_dates_for_nonflux_fc_times"> 2779 2753 <code class="descclassname">get_mars_data.</code><code class="descname">check_dates_for_nonflux_fc_times</code><span class="sig-paren">(</span><em>types</em>, <em>times</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/get_mars_data.html#check_dates_for_nonflux_fc_times"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#get_mars_data.check_dates_for_nonflux_fc_times" title="Permalink to this definition">¶</a></dt> 2780 <dd></dd></dl> 2754 <dd><p>Checks if the time 18UTC corresponds to forecast field.</p> 2755 <table class="docutils field-list" frame="void" rules="none"> 2756 <col class="field-name" /> 2757 <col class="field-body" /> 2758 <tbody valign="top"> 2759 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> 2760 <li><strong>types</strong> (<em>list of str</em>) – List of field types.</li> 2761 <li><strong>times</strong> (<em>list of str</em><em> or </em><em>str</em>) – The time in hours of the field.</li> 2762 </ul> 2763 </td> 2764 </tr> 2765 <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"></p> 2766 </td> 2767 </tr> 2768 <tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">True or False</p> 2769 </td> 2770 </tr> 2771 </tbody> 2772 </table> 2773 </dd></dl> 2781 2774 2782 2775 <dl class="function"> … … 2846 2839 boundary conditions)</p> 2847 2840 <p>Since for basetime the extraction contains the 12 hours upfront, 2848 if basetime is 0, the starting date has to be the day before and</p>2841 if basetime is 0, the starting date has to be the day before</p> 2849 2842 <table class="docutils field-list" frame="void" rules="none"> 2850 2843 <col class="field-name" /> … … 2929 2922 </div> 2930 2923 <div class="section" id="module-prepare_flexpart"> 2931 <span id="prepare-flexpart"></span><h3><a class="toc-backref" href="#id1 2">prepare_flexpart</a><a class="headerlink" href="#module-prepare_flexpart" title="Permalink to this headline">¶</a></h3>2924 <span id="prepare-flexpart"></span><h3><a class="toc-backref" href="#id14">prepare_flexpart</a><a class="headerlink" href="#module-prepare_flexpart" title="Permalink to this headline">¶</a></h3> 2932 2925 <p>This script prepares the final version of the grib files which are 2933 2926 then used by FLEXPART.</p> … … 2982 2975 </div> 2983 2976 <div class="section" id="module-tools"> 2984 <span id="tools"></span><h3><a class="toc-backref" href="#id1 3">tools</a><a class="headerlink" href="#module-tools" title="Permalink to this headline">¶</a></h3>2977 <span id="tools"></span><h3><a class="toc-backref" href="#id15">tools</a><a class="headerlink" href="#module-tools" title="Permalink to this headline">¶</a></h3> 2985 2978 <p>This module contains a collection of diverse tasks within flex_extract.</p> 2986 2979 <dl class="function"> … … 3491 3484 </div> 3492 3485 <div class="section" id="module-checks"> 3493 <span id="checks"></span><h3><a class="toc-backref" href="#id1 4">checks</a><a class="headerlink" href="#module-checks" title="Permalink to this headline">¶</a></h3>3486 <span id="checks"></span><h3><a class="toc-backref" href="#id16">checks</a><a class="headerlink" href="#module-checks" title="Permalink to this headline">¶</a></h3> 3494 3487 <p>This module contains check methods for the CONTROL paramaters.</p> 3495 3488 <dl class="function"> … … 3846 3839 <dl class="function"> 3847 3840 <dt id="checks.check_number"> 3848 <code class="descclassname">checks.</code><code class="descname">check_number</code><span class="sig-paren">(</span><em>number</em> , <em>mailfail</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/checks.html#check_number"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#checks.check_number" title="Permalink to this definition">¶</a></dt>3841 <code class="descclassname">checks.</code><code class="descname">check_number</code><span class="sig-paren">(</span><em>number</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/checks.html#check_number"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#checks.check_number" title="Permalink to this definition">¶</a></dt> 3849 3842 <dd><p>Check for correct string format of ensemble member numbers.</p> 3850 3843 <table class="docutils field-list" frame="void" rules="none"> … … 3852 3845 <col class="field-body" /> 3853 3846 <tbody valign="top"> 3854 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> 3855 <li><strong>number</strong> (<em>str</em>) – List of ensemble member forecast runs.</li> 3856 <li><strong>mailfail</strong> (<em>list of str</em>) – Contains all email addresses which should be notified. 3857 It might also contain just the ecmwf user name which will trigger 3858 mailing to the associated email address for this user.</li> 3859 </ul> 3860 </td> 3861 </tr> 3862 <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"><strong>number</strong> – String with list of ensemble member forecast runs. E.g. ‘01/02/03/04’</p> 3863 </td> 3864 </tr> 3865 <tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">str</p> 3866 </td> 3847 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>number</strong> (<em>str</em>) – List of ensemble member forecast runs.</td> 3848 </tr> 3849 <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><strong>number</strong> – String with list of ensemble member forecast runs. E.g. ‘01/02/03/04’</td> 3850 </tr> 3851 <tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">str</td> 3867 3852 </tr> 3868 3853 </tbody> … … 4005 3990 <dl class="function"> 4006 3991 <dt id="checks.check_step"> 4007 <code class="descclassname">checks.</code><code class="descname">check_step</code><span class="sig-paren">(</span><em>step</em> , <em>mailfail</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/checks.html#check_step"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#checks.check_step" title="Permalink to this definition">¶</a></dt>3992 <code class="descclassname">checks.</code><code class="descname">check_step</code><span class="sig-paren">(</span><em>step</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/checks.html#check_step"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#checks.check_step" title="Permalink to this definition">¶</a></dt> 4008 3993 <dd><p>Checks on step format and convert into a list of steps.</p> 4009 3994 <p>If the steps were defined with “to” and “by” they are converted into … … 4014 3999 <col class="field-body" /> 4015 4000 <tbody valign="top"> 4016 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> 4017 <li><strong>step</strong> (<em>list of str</em><em> or </em><em>str</em>) – Specifies the forecast time step from forecast base time. 4018 Valid values are hours (HH) from forecast base time.</li> 4019 <li><strong>mailfail</strong> (<em>list of str</em>) – Contains all email addresses which should be notified. 4020 It might also contain just the ecmwf user name which will trigger 4021 mailing to the associated email address for this user.</li> 4022 </ul> 4023 </td> 4024 </tr> 4025 <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"><strong>step</strong> – List of forecast steps in format e.g. [001, 002, …]</p> 4026 </td> 4027 </tr> 4028 <tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">list of str</p> 4029 </td> 4001 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>step</strong> (<em>list of str</em><em> or </em><em>str</em>) – Specifies the forecast time step from forecast base time. 4002 Valid values are hours (HH) from forecast base time.</td> 4003 </tr> 4004 <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><strong>step</strong> – List of forecast steps in format e.g. [001, 002, …]</td> 4005 </tr> 4006 <tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">list of str</td> 4030 4007 </tr> 4031 4008 </tbody> … … 4079 4056 </div> 4080 4057 <div class="section" id="module-disaggregation"> 4081 <span id="disaggregation"></span><h3><a class="toc-backref" href="#id1 5">disaggregation</a><a class="headerlink" href="#module-disaggregation" title="Permalink to this headline">¶</a></h3>4058 <span id="disaggregation"></span><h3><a class="toc-backref" href="#id17">disaggregation</a><a class="headerlink" href="#module-disaggregation" title="Permalink to this headline">¶</a></h3> 4082 4059 <p>Disaggregation of deaccumulated flux data from an ECMWF model FG field.</p> 4083 4060 <dl class="docutils">
Note: See TracChangeset
for help on using the changeset viewer.