Observations#

Resources to handle observations files in various formats.

class vortex.nwp.data.obs.ObsProcessed(*args, **kw)[source]#

Pre-Processed or Processed observations.

class vortex.nwp.data.obs.ObsODB(*args, **kw)[source]#

Observations in ODB format associated to a given stage.

class vortex.nwp.data.obs.ObsRaw(*args, **kw)[source]#

TODO.

class vortex.nwp.data.obs.ObsFlags(*args, **kw)[source]#

Class for observations flags.

class vortex.nwp.data.obs.VarBCContent(**kw)[source]#
class vortex.nwp.data.obs.VarBC(*args, **kw)[source]#

VarBC file resource. Contains all the coefficients for the VarBC bias correction scheme.

class vortex.nwp.data.obs.BlackList(*args, **kw)[source]#

TODO.

class vortex.nwp.data.obs.ObsRefContent(**kw)[source]#

Content class for refdata resources.

class vortex.nwp.data.obs.Refdata(*args, **kw)[source]#

TODO.

class vortex.nwp.data.obs.ObsMapContent(**kw)[source]#

Content class for the ObsMap resources.

The ObsMap resource provides its discard and only attributes. This attribute is a footprints.stdtypes.FPSet object thats holds odb:data pairs that will be used to filter/discard some of the lines of the local resource. The matching is done using regular expressions (however when :data is omitted, ‘:’ is automatically added at the end of the regular expression).

The only attribute is evaluated first (if only is not provided or equals None, all ObsMap lines are retained).

Here are some examples:

  • discard=FPSet(('sev',)) -> The sev ODB database will be discarded (but the seviri database is kept).

  • discard=FPSet(('radar', 'radar1')) -> Both the radar and radar1 ODB databases will be discarded.

  • discard=FPSet(('radar1?', )) -> Same result as above.

  • discard=FPSet(('conv:temp', )) -> Discard the temp data file that would usualy be inserted in the conv database.

  • discard=FPSet(('conv:temp', )) -> Discard the temp data file that would usualy be inserted in the conv database.

  • discard=FPSet(('conv:t[ea]', )) -> Discard the data file starting with te or ta that would usualy be inserted in the conv database.

  • only=FPSet(('conv',)) -> Only conv ODB database will be used.

class vortex.nwp.data.obs.ObsMap(*args, **kw)[source]#

Observation mapping.

Simple ascii table for the description of the mapping of observations set to ODB bases. The native format is : odb / data / fmt / instr.

The discard attribute is passed directly to the ObsMapContent object in charge of accessing this resource: It is used to discard some of the lines of the ObsMap file (for more details see the ObsMapContent class documentation)

class vortex.nwp.data.obs.Bcor(*args, **kw)[source]#

Bias correction parameters.