Harmonizer
This package ensures that all datasets can be easily processed by any tool within the CDS toolbox. The main goal of the harmonizer is to return datasets following a common convention, which is as close as possible to the Climate and Forecast (CF) Metadata Conventions.
The harmonizer will use cf-xarray under the hood, as many features needed have been already implemented:
guess_coord_axis: Automagically guess CF axes and coordinates adding missing attributes without modifying existing metadata.
add_canonical_attributes: Add missing CF attributes to variables with a known standard name. Canonical attributes are inferred from the official CF standard name table.
rename_like: Rename coordinate variables like a template/standard dataset. Note that this step is only needed if downstream tools do not make use of cf-xarray.
units: Downstream packages might use unit-aware arrays (e.g., pint arrays enabled by pint-xarray). Importing cf_xarray.units makes CF-compliant UDUNITS compatible with pint.