Ignore:
Timestamp:
Feb 1, 2020, 9:32:17 PM (4 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
072cbea
Parents:
53d3b2a
Message:

updated online documentation with links on index page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Documentation/html/Documentation/Api/api_python.html

    r30f7911 reca358d  
    189189<div class="contents local topic" id="contents">
    190190<ul class="simple">
    191 <li><a class="reference internal" href="#programs" id="id1">Programs</a><ul>
    192 <li><a class="reference internal" href="#module-install" id="id2">install</a></li>
    193 <li><a class="reference internal" href="#module-submit" id="id3">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>
    194194</ul>
    195195</li>
    196 <li><a class="reference internal" href="#classes" id="id4">Classes</a><ul>
    197 <li><a class="reference internal" href="#module-ControlFile" id="id5">ControlFile</a></li>
    198 <li><a class="reference internal" href="#module-EcFlexpart" id="id6">EcFlexpart</a></li>
    199 <li><a class="reference internal" href="#module-GribUtil" id="id7">GribUtil</a></li>
    200 <li><a class="reference internal" href="#module-MarsRetrieval" id="id8">MarsRetrieval</a></li>
    201 <li><a class="reference internal" href="#module-UioFiles" id="id9">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>
    202202</ul>
    203203</li>
    204 <li><a class="reference internal" href="#modules" id="id10">Modules</a><ul>
    205 <li><a class="reference internal" href="#module-get_mars_data" id="id11">get_mars_data</a></li>
    206 <li><a class="reference internal" href="#module-prepare_flexpart" id="id12">prepare_flexpart</a></li>
    207 <li><a class="reference internal" href="#module-tools" id="id13">tools</a></li>
    208 <li><a class="reference internal" href="#module-checks" id="id14">checks</a></li>
    209 <li><a class="reference internal" href="#module-disaggregation" id="id15">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>
    210210</ul>
    211211</li>
     
    213213</div>
    214214<div class="section" id="programs">
    215 <h2><a class="toc-backref" href="#id1">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>
    216216<div class="section" id="module-install">
    217 <span id="install"></span><h3><a class="toc-backref" href="#id2">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>
    218218<p>This script installs the flex_extract program.</p>
    219219<p>Depending on the selected installation environment (locally or on the
     
    319319<dl class="function">
    320320<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>
    322322<dd><p>Modifies the original job template file so that it is specified
    323323for the user and the environment were it will be applied. Result
     
    330330<li><strong>makefile</strong> (<em>str</em>) – Name of the makefile which should be used to compile FORTRAN
    331331CONVERT2 program.</li>
    332 <li><strong>target</strong> (<em>str</em>) – The target where the installation should be done, e.g. the queue.</li>
    333332<li><strong>ecuid</strong> (<em>str</em>) – The user id on ECMWF server.</li>
    334333<li><strong>ecgid</strong> (<em>str</em>) – The group id on ECMWF server.</li>
     
    385384<dl class="function">
    386385<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>
    388387<dd><p>Modifies the original job template file so that it is specified
    389388for the user and the environment were it will be applied. Result
     
    396395<li><strong>ecuid</strong> (<em>str</em>) – The user id on ECMWF server.</li>
    397396<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 files
    400 from ECMWF server to local gateway server.</li>
    401397<li><strong>fp_root</strong> (<em>str</em>) – Path to the root directory of FLEXPART environment or flex_extract
    402398environment.</li>
     
    449445</div>
    450446<div class="section" id="module-submit">
    451 <span id="submit"></span><h3><a class="toc-backref" href="#id3">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>
    452448<p>This script allows the user to extract meteorological fields from the ECMWF.</p>
    453449<p>It prepares the settings for retrieving the data from ECMWF servers and
     
    530526</div>
    531527<div class="section" id="classes">
    532 <h2><a class="toc-backref" href="#id4">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>
    533529<div class="section" id="module-ControlFile">
    534 <span id="controlfile"></span><h3><a class="toc-backref" href="#id5">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>
    535531<dl class="class">
    536532<dt id="ControlFile.ControlFile">
     
    541537from the MARS archive for driving FLEXPART are set in a CONTROL file.
    542538Some specific parameters like the start and end dates can be overwritten
    543 by the command line parameters, but in generel all parameters needed
     539by the command line parameters, but in generall all parameters needed
    544540for a complete set of fields for FLEXPART can be set in the CONTROL file.</p>
    545541<dl class="attribute">
     
    12071203
    12081204<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 try
    1213 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">
    12251205<dt id="ControlFile.ControlFile.ecstorage">
    12261206<code class="descname">ecstorage</code><a class="headerlink" href="#ControlFile.ControlFile.ecstorage" title="Permalink to this definition">¶</a></dt>
     
    15571537<dd><p>List of the names of logical switches which controls the flow
    15581538of the program. Default list is [‘gauss’, ‘omega’, ‘omegadiff’, ‘eta’,
    1559 ‘etadiff’, ‘dpdeta’, ‘cwc’, ‘wrf’, ‘grib2flexpart’, ‘ecstorage’,
     1539‘etadiff’, ‘dpdeta’, ‘cwc’, ‘wrf’, ‘ecstorage’,
    15601540‘ectrans’, ‘debug’, ‘request’, ‘public’, ‘purefc’, ‘rrint’, ‘doubleelda’]</p>
    15611541<table class="docutils field-list" frame="void" rules="none">
     
    16421622</div>
    16431623<div class="section" id="module-EcFlexpart">
    1644 <span id="ecflexpart"></span><h3><a class="toc-backref" href="#id6">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>
    16451625<dl class="class">
    16461626<dt id="EcFlexpart.EcFlexpart">
     
    22112191</div>
    22122192<div class="section" id="module-GribUtil">
    2213 <span id="gributil"></span><h3><a class="toc-backref" href="#id7">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>
    22142194<dl class="class">
    22152195<dt id="GribUtil.GribUtil">
     
    22262206<dl class="method">
    22272207<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>
    22292209<dd><p>Add the content of another input grib file to the objects file but
    22302210only messages corresponding to keys/values passed to the function.
     
    22372217<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
    22382218<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>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
     2219<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
    22402220different to (False) the keynames/keyvalues list passed to the
    22412221function. 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>
    22442224<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>
    22452225</ul>
     
    22522232<dl class="method">
    22532233<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>
    22552235<dd><p>Get keyvalues for a given list of keynames a where statement
    22562236can be given (list of key and list of values)</p>
     
    22612241<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
    22622242<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>
    22652245</ul>
    22662246</td>
     
    22782258<dl class="method">
    22792259<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>
    22812261<dd><p>Create index file from a list of files if it does not exist or
    22822262read an index file.</p>
     
    22862266<tbody valign="top">
    22872267<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
     2269which the index is to be created.</li>
    22912270<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.
    22922271Default is “my.idx”.</li>
     
    23062285<dl class="method">
    23072286<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>
    23092288<dd><p>Opens the file to read the grib messages and then write
    23102289the selected messages (with wherekeys) to a new output file.
     
    23202299<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.
    23212300Default 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>
    23292303<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>
    23302304</ul>
     
    23392313</div>
    23402314<div class="section" id="module-MarsRetrieval">
    2341 <span id="marsretrieval"></span><h3><a class="toc-backref" href="#id8">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>
    23422316<dl class="class">
    23432317<dt id="MarsRetrieval.MarsRetrieval">
     
    26922666</div>
    26932667<div class="section" id="module-UioFiles">
    2694 <span id="uiofiles"></span><h3><a class="toc-backref" href="#id9">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>
    26952669<dl class="class">
    26962670<dt id="UioFiles.UioFiles">
     
    27172691<dt id="UioFiles.UioFiles.pattern">
    27182692<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>
    27202694<table class="docutils field-list" frame="void" rules="none">
    27212695<col class="field-name" />
     
    27532727</div>
    27542728<div class="section" id="modules">
    2755 <h2><a class="toc-backref" href="#id10">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>
    27562730<div class="section" id="module-get_mars_data">
    2757 <span id="get-mars-data"></span><h3><a class="toc-backref" href="#id11">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>
    27582732<p>This script extracts MARS data from ECMWF servers.</p>
    27592733<p>At first, the necessary parameters from command line and CONTROL files are
     
    27782752<dt id="get_mars_data.check_dates_for_nonflux_fc_times">
    27792753<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>
    27812774
    27822775<dl class="function">
     
    28462839boundary conditions)</p>
    28472840<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>
     2841if basetime is 0, the starting date has to be the day before</p>
    28492842<table class="docutils field-list" frame="void" rules="none">
    28502843<col class="field-name" />
     
    29292922</div>
    29302923<div class="section" id="module-prepare_flexpart">
    2931 <span id="prepare-flexpart"></span><h3><a class="toc-backref" href="#id12">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>
    29322925<p>This script prepares the final version of the grib files which are
    29332926then used by FLEXPART.</p>
     
    29822975</div>
    29832976<div class="section" id="module-tools">
    2984 <span id="tools"></span><h3><a class="toc-backref" href="#id13">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>
    29852978<p>This module contains a collection of diverse tasks within flex_extract.</p>
    29862979<dl class="function">
     
    34913484</div>
    34923485<div class="section" id="module-checks">
    3493 <span id="checks"></span><h3><a class="toc-backref" href="#id14">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>
    34943487<p>This module contains check methods for the CONTROL paramaters.</p>
    34953488<dl class="function">
     
    38463839<dl class="function">
    38473840<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>
    38493842<dd><p>Check for correct string format of ensemble member numbers.</p>
    38503843<table class="docutils field-list" frame="void" rules="none">
     
    38523845<col class="field-body" />
    38533846<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>
    38673852</tr>
    38683853</tbody>
     
    40053990<dl class="function">
    40063991<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>
    40083993<dd><p>Checks on step format and convert into a list of steps.</p>
    40093994<p>If the steps were defined with “to” and “by” they are converted into
     
    40143999<col class="field-body" />
    40154000<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.
     4002Valid 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>
    40304007</tr>
    40314008</tbody>
     
    40794056</div>
    40804057<div class="section" id="module-disaggregation">
    4081 <span id="disaggregation"></span><h3><a class="toc-backref" href="#id15">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>
    40824059<p>Disaggregation of deaccumulated flux data from an ECMWF model FG field.</p>
    40834060<dl class="docutils">
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG