Get simulation files through vortex¶
Reanalysis¶
Script scripts/extract/vortex/get_reanalysis.py
help:
usage: get_reanalysis.py [-h] [--geometry GEOMETRY] [-b BEGIN] [-e END]
[--meteo] [--prep] [--pgd] [--nativemeteo] [--snow]
[--xpid XPID] [--xpid_native XPID_NATIVE]
[--duration {yearly,monthly,full}]
Get Simulation files storend on Meteo-France archive (hendrix) through the
vortex toolbox. Up to now, it is able to deal with PRO, PREP (final and/or
yearly prep only, not daily prep), PGD and meteorological files. Do not forget
to first have set your communication creedentials with hendrix (.netrc) and
correctly installed wortex toolbox (including definition of MTOOLDIR if you
are not on MF supercomputers).
options:
-h, --help show this help message and exit
--geometry GEOMETRY geometry
-b BEGIN, --begin BEGIN, --byear BEGIN
Date of begining of extraction (year of full date).
-e END, --end END, --eyear END
Date of end of extraction (year or full date).
--meteo Extract meteorological forcing files
--prep Extract last PREP file
--pgd Extract PGD file
--nativemeteo Extract native meteorological forcing files
--snow Extract snowpack model output files
--xpid XPID Specific xpid (except for nativemeteo, see
--xpdi_native instead). Do not provide anything here
if you want the current reanalysis.
--xpid_native XPID_NATIVE
Specific xpid used for nativemeteo.
--duration {yearly,monthly,full}
Duration of files. Default is yearly files. Use
'monthly' for monthly files and 'full' for one sigle
file that covers the whole period between --begin and
--end
Reforecast¶
Created on dec. 2018 @author: Vernay
- class scripts.extract.vortex.get_reforecast.ReforecastExtractor(*args, **kw)[source]¶
Bases:
Task
,S2MTaskMixIn
Some class variables may have an impact on GetByTag behaviour:
_tag_default
: Sets the defaulttag
(if thetag
attribute is omitted when calling the constructor, the_tag_default
string will be used._tag_implicit_new
: If set toFalse
, unlessnew=True
is specified when calling the constructor, it won’t be allowed to create new objects (a RuntimeError exception will be thrown)._tag_topcls
: if set toFalse
, the tags list will be shared with the parent class (and possibly other siblings). Thetag_classes()
class method allows to retrieve the list of Classes sharing the same list of tags
Escroc¶
Script scripts/extract/vortex/get_escroc.py
help:
Usage: python get_escroc.py --site=xxx [--nmembers=xx] --escroc=xx [--byear=YYYY --eyear=YYYY] [--bdate=YYYYMMDDHH --eyear=YYYYMMDDHH]
Options:
-h, --help show this help message and exit
--site=SITE geometry
--nmembers=NMEMBERS nb of members
--escroc=ESCROC First year of extraction
--byear=BYEAR First year of extraction
--bdate=BDATE First date of extraction YYYYMMDDHH
--eyear=EYEAR Last year of extraction
--edate=EDATE Last date of extraction YYYYMMDDHH
--yearly Extract yearly files