ECMWF grib2 data files (ECMWF / grib2)


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’>

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:

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