-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Description
Three tests in test_seasonal_statistics.py fail due to a decoding error. Maybe the Copernicus data changed somehow? This becomes apparent in the compatibility tests for Climada Core, see e.g. https://github.com/CLIMADA-project/climada_python/actions/runs/15728137358/job/44323368118?pr=1063.
=========================== short test summary info ============================
FAILED climada_petals/hazard/copernicus_interface/test/test_seasonal_statistics.py::TestSeasonalStatistics::test_tmax_calculation - ValueError: Failed to decode variable 'step': failed to prevent overwriting existing key dtype in attrs on variable 'step'. This is probably an encoding field used by xarray to describe how a variable is serialized. To proceed, remove this key from the variable's attributes manually.
FAILED climada_petals/hazard/copernicus_interface/test/test_seasonal_statistics.py::TestSeasonalStatistics::test_tmean_calculation - ValueError: Failed to decode variable 'step': failed to prevent overwriting existing key dtype in attrs on variable 'step'. This is probably an encoding field used by xarray to describe how a variable is serialized. To proceed, remove this key from the variable's attributes manually.
FAILED climada_petals/hazard/copernicus_interface/test/test_seasonal_statistics.py::TestSeasonalStatistics::test_tmin_calculation - ValueError: Failed to decode variable 'step': failed to prevent overwriting existing key dtype in attrs on variable 'step'. This is probably an encoding field used by xarray to describe how a variable is serialized. To proceed, remove this key from the variable's attributes manually.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels