Open atb299 opened 2 years ago
It should be enough to use xarray<=2022.03.0
. Unfortunately, we don't have CI with unit tests and we don't catch these kind of issues. See #29 for more context.
OK. Thanks Mattia! I am using xarray==2022.9.0. When I created my nordic-seas-validation environment my conda was woefully out of date. Perhaps its worth me creating a new environment now that I have updated conda.
Yes, probably a good idea to use a new environment if the one you are using is very old.
We didn't merge the PR #29 yet, so you should either download that branch and follow the installation instructions, or somehow downgrade to xarray=2022.03.0
(e.g., use this environment https://github.com/JMMP-Group/nordic-seas-validation/blob/pin_xarray/environment.yml)
I can confirm that the kogur section works with xarray=2022.03.0
, but (for me at least) not with xarray=2022.09.0
.
When I try to run:
test = nsv.Standardizer().kogur
I get this:
Do you know if this is an out-of-date package, too, or something about the kogur section?