The time variable was renamed in CDS from "time" to "valid_time", which is renamed in _rename_and_clean_coords()
A useless "number" coordinate was added, which is removed in _rename_and_clean_coords().
There was some weirdness in the "expver" coordinate when ERA5 and ERA5T data were mixed (coordinate but not a dimension). Also, it seems that the "expver" coordinate is now always created and is a 4-digit string rather than an integer. If somebody has a leaner suggestion here, I am all ears. It was quite tricky as non-xarray expert.
If we want to use new CDS infrastructure in CI, the secrets need to be updated. Perhaps we shouldn't do this immediately.
Furthermore, I am not sure how to remove the plentiful INFO logs.
closes #361
This PR is backwards compatible; old CDS infrastructure can still be used.
Other things needed to update:
~/.cdsapirc
cdsapi>=0.7.0
Main changes:
_rename_and_clean_coords()
_rename_and_clean_coords()
.xarray
expert.If we want to use new CDS infrastructure in CI, the secrets need to be updated. Perhaps we shouldn't do this immediately.
Furthermore, I am not sure how to remove the plentiful INFO logs.