VPRM1km/netcdf VPRM1km/netcdf

VPRM1km/netcdf VPRM1km/netcdf#

Description#

Reads VPRM daily NetCDF files at hourly resolution.

Data may be on either a regular lat/lon grid (default, as used by the CoCO2 VPRM fluxes) or an irregular lat/lon grid (as used by the CHE VPRM fluxes), selected via the regular input argument. A corner-coordinates file (corners_file) must be present in the same directory as the flux files.

Writing VPRM1km fluxes is not implemented.

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#

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

corners_file : str, optional, default “CoCO2_VPRM_areas.nc”

file of the corner coordinates, assumed to be stored in the same directory as data

regular : bool, optional, default True

True for regular lat lon as CoCO2 VPRM fluxes (default) False for irregular lat lon as CHE VPRM fluxes

YAML template#

Please find below a template for a YAML configuration:

 1flux:
 2  plugin:
 3    name: VPRM1km
 4    version: netcdf
 5    type: flux
 6
 7  # Optional arguments
 8  dir: XXXXX  # str
 9  file: XXXXX  # str
10  varname: XXXXX  # str
11  file_freq: XXXXX  # str
12  split_freq: XXXXX  # str
13  corners_file: XXXXX  # str
14  regular: XXXXX  # bool