xarray-contrib / xeofs

Comprehensive EOF analysis in Python with xarray: A versatile, multidimensional, and scalable tool for advanced climate data analysis
https://xeofs.readthedocs.io/
MIT License
105 stars 20 forks source link

fix: support new datatree and numpy 2.0 #169

Closed slevang closed 4 months ago

slevang commented 4 months ago

datatree is about to be merged into the public API of xarray. This adds a preferential import for the native xarray version but leaves the archived xarray-datatree package as a dependency, because it is small and avoids complications with supporting older xarray versions.

Also adds support for numpy==2.0 with a couple very small fixes.