pySTEPS / pysteps

Python framework for short-term ensemble prediction systems.
https://pysteps.github.io/
BSD 3-Clause "New" or "Revised" License
471 stars 168 forks source link

make dimension.py xarray compatible #397

Closed mats-knmi closed 3 months ago

mats-knmi commented 4 months ago

Converted the methods in dimension.py to work with the new xarray datamodel. Since these methods can largely be replaced by xarray functionality, I updated these methods to make use of this.

mats-knmi commented 3 months ago

@dnerini I have added a ticket to the project backlog, for a basic input validator with a decorator.

mats-knmi commented 3 months ago

@dnerini I believe I have also taken care of the remaining comments you had, let me know what you think