arviz-devs / arviz-base

Base ArviZ features and converters
https://arviz-base.readthedocs.io/
Apache License 2.0
0 stars 1 forks source link

Use `DataTree` from xarray #14

Open OriolAbril opened 1 week ago

OriolAbril commented 1 week ago

DataTree is already available in main and will be usable and importable from xarray directly starting with next xarray release. see https://docs.xarray.dev/en/latest/whats-new.html and https://github.com/pydata/xarray/issues/8807

OriolAbril commented 3 days ago

We should also discuss how quickly do we want to make the switch. There have already been a couple changes of behaviour between DataTree in xarray-datatree package and DataTree in xarray itself so I'd probably change the dependency as soon as the next xarray release is out to make sure we don't end up with a painful transition later on when we'd like to start advertizing the library