usevortex — Proxies to reach resources using Vortex
Contains proxies to reach resources using Vortex.
Of course, this module need to have a proper Vortex installation !
Functions
-
usevortex.set_defaults(**defaults)[source]
Set defaults key/value pairs for get_resource().
-
usevortex.get_resources(getmode='epygram', **description)[source]
Get resources, given their description.
- getmode: ‘epygram’ return the epygram resources
- ‘locate’ return the physical resolved location of the resource
‘exist’ return the physical resolved location of the resource and its existence
‘fetch’ fetches the resource in local, as filename local
‘vortex’ return the vortex data handler of the resource
Examples:
- for the analysis of AROME-france from experiment 864G on 2015/08/15/00,
description will look like:
- experiment=‘864G’, # the experiment id
- block=’analysis’, # the OLIVE block
- kind=’analysis’, # the kind of resource
- date=‘2015081500’, # the initial date and time
- geometry=’franmgsp’, # the name of the model domain
- local=’analysis_[experiment]’, # the local filename of the resource, once fetched.
- for the model state at term 18h of ALADIN-reunion oper, production
cutoff, on 2015/08/15/00,
description will look like:
- suite=’oper’, # the suite // ‘dble’ = e-suite
- kind=’historic’, # model state
- date=‘2015081500’, # the initial date and time
- term=18, # the forecast term
- geometry=’reunionsp’, # the name of the model domain
- local=’ICMSHALAD_[term]’, # the local filename of the resource, once fetched.
- cutoff=’prod’, # type of cutoff
- vapp=’aladin’, # type of application in operations namespace
- vconf=’reunion’, # name of config in operation namespace
- model=’aladin’, # name of the model
- for the GRIB post-processed output on MASCA025 BDAP domain at terms
22->24h of ALADIN-reunion oper, production cutoff, on 2015/08/15/00,
description will look like:
- suite=’oper’, # the suite // ‘dble’ = e-suite
- kind=’gridpoint’, # model state
- date=‘2015081500’, # the initial date and time
- term=[22,23,24], # the forecast terms
- geometry=’masca025’, # the name of the post-processing domain
- local=’[geometry]_[term].grb’, # the local filename of the resource, once fetched.
- nativefmt=’grib’ # to fetch the gribs and not the FA post-processed files
- cutoff=’prod’, # type of cutoff
- vapp=’aladin’, # type of application in operations namespace
- vconf=’reunion’, # name of config in operation namespace
- model=’aladin’, # name of the model
Shortcuts
-
usevortex.get_gribfc_arome_oper(date, term, geometry='FRANGP0025', **others)[source]
Proxy for AROME oper GRIBs.
-
usevortex.get_histfc_arome_oper(date, term, **others)[source]
Proxy for AROME oper historic FAs.
-
usevortex.get_gribfc_arome_xp(xp, date, term, geometry='FRANGP0025', **others)[source]
Proxy for AROME experiment GRIBs.
-
usevortex.get_histfc_arome_xp(xp, date, term, **others)[source]
Proxy for AROME experiment historic FAs.
-
usevortex.get_gribfc_arpege_oper(date, term, geometry='FRANX01', **others)[source]
Proxy for ARPEGE oper GRIBs.
-
usevortex.get_histfc_arpege_oper(date, term, **others)[source]
Proxy for ARPEGE oper historic FAs.
-
usevortex.get_gribfc_arpege_xp(xp, date, term, geometry='FRANX01', **others)[source]
Proxy for ARPEGE experiment GRIBs.
-
usevortex.get_histfc_arpege_xp(xp, date, term, **others)[source]
Proxy for ARPEGE experiment historic FAs.