boutproject / xBOUT

Collects BOUT++ data from parallelized simulations into xarray.
https://xbout.readthedocs.io/en/latest/
Apache License 2.0
22 stars 10 forks source link

xarray deprecation of `Dataset.drop()` #96

Closed johnomotani closed 4 years ago

johnomotani commented 4 years ago

xarray is deprecating the Dataset.drop() method in favour of Dataset.drop_vars(). However, Dataset.drop_vars() was only introduced in xarray-0.14.0, so if we change it now we have to increase the minimum supported version of xarray. Suggest leaving as-is for now, until our oldest supported version of xarray has to increase to 0.14.0 for some other reason, or until the newest xarray does not support Dataset.drop().