ecmwf / earthkit-transforms

Apache License 2.0
1 stars 1 forks source link

Anomaly to accept datasets for climatology #18

Closed EddyCMWF closed 4 months ago

EddyCMWF commented 4 months ago

This fixes a bug/lost feature following the refactor where the anomaly calculation required that the climatology to be provided as a dataarray. It can now be provided as either a dataset or a dataarray, and in the case of a dataset the appropriate variable within is detected. Also added: