These tests occasionally fail because the CMOR tables have not been loaded before they are run:
FAILED tests/unit/preprocessor/_derive/test_soz.py::test_soz_calculate_hybrid_plevs - KeyError: 'plev19'
FAILED tests/unit/preprocessor/_derive/test_toz.py::test_toz_calculate_masked_cubes_hybrid_plevs - KeyError: 'plev19'
FAILED tests/unit/preprocessor/_derive/test_troz.py::test_troz_calculate_hybrid_plevs - KeyError: 'plev19'
FAILED tests/unit/preprocessor/_other/test_other.py::test_align_metadata - ValueError: Unable to convert from 'Unit('celsius')' to 'Unit('unknown')'.
FAILED tests/unit/preprocessor/_other/test_other.py::test_align_metadata_alt_names[sic] - ValueError: Unable to convert from 'Unit('%')' to 'Unit('unknown')'.
FAILED tests/unit/preprocessor/_other/test_other.py::test_align_metadata_alt_names[siconc] - ValueError: Unable to convert from 'Unit('%')' to 'Unit('unknown')'.
FAILED tests/unit/preprocessor/_other/test_other.py::test_align_metadata_invalid_short_name_strict - AssertionError: Regex pattern did not match.
Expected regex: "Variable 'zzz' not available for table 'Amon' of project 'CMIP6'"
Actual message: "Unable to convert from 'Unit('1')' to 'Unit('unknown')'."
FAILED tests/unit/preprocessor/_other/test_other.py::test_align_metadata_invalid_short_name_not_strict - ValueError: Unable to convert from 'Unit('1')' to 'Unit('unknown')'.
These tests occasionally fail because the CMOR tables have not been loaded before they are run:
Example runs: