ECMWF grib2 data files (ECMWF / grib2)

Description

Read grib files from ECMWF

Grib files are provided either for 3D fields or, for surface variables, for 2D fields. Activate the surface option for treating 2D grib files. In case of grib files for cumulated variables, activate the decumul option. In this case 2 dates are saved in the fetch list and the decumulation is next_date - date

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

decumul: (optional): False

activates decumulation

accepted type: <class ‘bool’>

cumul_length: (optional): 12

if cumulation length differ from 12h, in hour

accepted type: <class ‘int’>

surface: (optional): False

for treating 2D fields (e.g. surface variables)

accepted type: <class ‘bool’>

expand_psurf: (optional): False

Expand surface pressure to full pressure field

accepted type: <class ‘bool’>

pressure_thickness: (optional): False

Returns the pressure thickness of each level. To be used with expand_psurf

accepted type: <class ‘bool’>

domain_file: (optional)

Name of the file to use to deduce the domain, if different from the file format specified for data reading

accepted type: <class ‘str’>

Yaml template

Please find below a template for a Yaml configuration:

 1datastream:
 2  plugin:
 3    name: ECMWF
 4    version: grib2
 5    type: datastream
 6
 7
 8  # Optional arguments
 9  decumul: XXXXX
10  cumul_length: XXXXX
11  surface: XXXXX
12  expand_psurf: XXXXX
13  pressure_thickness: XXXXX
14  domain_file: XXXXX