improver.cli.compare module
Script to compare netcdf files
- process(actual, desired, rtol=0.0001, atol=0.0001, *, ignored_attributes=None)[source]
Compare two netcdf files
- Parameters:
actual (
inputpath
) – Path to output data netcdf filedesired (
inputpath
) – Path to desired/known good data netcdf filertol (
float
) – Relative tolerance for data in variablesatol (
float
) – Absolute tolerance for data in variablesignored_attributes (
Optional
[comma_separated_list
]) – List of attributes to ignore in the comparison. This option allows for attributes such as “history” to be ignored, where such attributes often vary between files without indicating any differences in the data.
- Return type:
- Returns:
None