Standard CIF data vector standard/std

Standard CIF data vector standard/std#

Description#

This is the standard pyCIF implementation of the datavect class. Information about inputs are split into component/parameter categories. component/parameter categories are fully flexible in terms of names, but should be consistent with the rest of the configuration.

General component categories include for instance:

concs:

observed concentrations

fluxes:

emission fluxes

inicond:

initial conditions

meteo:

meteorological fields

For each component, multiple parameters can be defined depending on diverse species, sectors, etc.

The datavect object is used to define the controlvect and obsvect objects. Therefore, complementary arguments than those specific to the datavect can be used in each component/parameter. Please see details of such additional arguments here and here.

YAML arguments#

The following arguments are used to configure the plugin. pyCIF will return an exception at the initialization if mandatory arguments are not specified, or if any argument does not fit accepted values or type:

Optional arguments#

dump_debug : bool, optional, default False

Save extra information for debugging purpose. It includes the list of files and dates for each input saved in $workdir/datavect/

components : optional

List of components in the data vector

Argument structure:
any_key : optional

Name of a given component

Argument structure:
dir : str, optional, default “”

Path to the corresponding component. This value is used if not provided in parameters

file : str, optional, default “”

File format in the given directory. This value is used if not provided in parameters

varname : str, optional, default “”

Variable name to use to read data filesinstead of the parameter name if different to the parameter name

file_freq : str, optional, default “”

Temporal frequency to fetch files

split_freq : str, optional

Force splitting the processing at a given frequency different to file_freq

parameters : optional

Store the list of parameters for this component

Argument structure:
any_key : optional

Name of a given parameter

Argument structure:
dir : str, optional, default “”

Path to the corresponding component. This value is used if not provided in parameters

file : str, optional, default “”

File format in the given directory. This value is used if not provided in parameters

varname : str, optional, default “”

Variable name to use to read data filesinstead of the parameter name if different to the parameter name

file_freq : str, optional, default “”

Temporal frequency to fetch files

split_freq : str, optional

Force splitting the processing at a given frequency different to file_freq

Requirements#

The current plugin requires the present plugins to run properly:

Requirement name

Requirement type

Explicit definition

Any valid

Default name

Default version

domain

Domain

True

True

None

None

model

Model

True

True

None

None

components

DataStream

True

True

None

None

YAML template#

Please find below a template for a YAML configuration:

 1datavect:
 2  plugin:
 3    name: standard
 4    version: std
 5    type: datavect
 6
 7    # Optional arguments
 8    dump_debug: XXXXX  # bool
 9    components:
10      any_key:
11        dir: XXXXX  # str
12        file: XXXXX  # str
13        varname: XXXXX  # str
14        file_freq: XXXXX  # str
15        split_freq: XXXXX  # str
16        parameters:
17          any_key:
18            dir: XXXXX  # str
19            file: XXXXX  # str
20            varname: XXXXX  # str
21            file_freq: XXXXX  # str
22            split_freq: XXXXX  # str