Preprocessing plugins

Preprocessing plugins#

In this case, the required information is:

  1. Up to five pieces of information for the component as expected by datavect. Note that varname is almost always needed, since raw external inventories rarely use the same species names as CHIMERE.

  2. The name, type, and version of the plugin used to read the raw files, along with any plugin-specific arguments found in the plugin’s documentation.

  3. Recipes for building the transformations from raw data to CHIMERE inputs — i.e. the spatial and temporal interpolations and the unit conversion. Each recipe is a keyword with arguments that the CIF internally maps to plugins (this is why the documentation links point to plugins, even though users do not reference them directly in the YAML).

    1. the regrid recipe for spatial interpolation. If regrid is not specified, the CIF assumes the data is already on the domain grid. This can cause hard-to-diagnose errors or, worse, a simulation with incorrect fluxes if the original and domain grid sizes happen to coincide.

    2. if required, the vertical_interpolation recipe for vertical interpolation.

    3. the time_interpolation recipe for temporal interpolation.

    4. the unit_conversion recipe for unit conversion.