You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecate pygmt.io.load_dataarray, use xarray.load_dataarray instead (#3922)
Deprecate usage of `pygmt.io.load_dataarray` for loading NetCDF
and other grids, use `xr.load_dataarray(..., engine="gmt")` instead.
* Switch from pygmt.io.load_dataarray to xr.load_dataarray
Specifically with arguments (..., engine="gmt", decode_kind="grid").
* Suggest passing raster_kind="grid" or "image" in FutureWarning message
* Move test_io_load_dataarray benchmark test to test_xarray_backend
* Replace pygmt.io.load_dataarray with xr.load_dataarray in tests
* Replace xr.open_dataarray with xr.load_dataarray in tests
0 commit comments