Skip to content
Snippets Groups Projects
Commit 65a79527 authored by Mads M. Pedersen's avatar Mads M. Pedersen
Browse files

Update xarray_utils.py

parent 17618263
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ class sel_interp_all():
return da.interp(**interp_coords, method=method, kwargs=kwargs)
if not hasattr(xr.DataArray(), 'ilk'):
if not hasattr(xr.DataArray(None), 'ilk'):
xr.register_dataarray_accessor("ilk")(ilk)
xr.register_dataarray_accessor("interp_all")(interp_all)
xr.register_dataarray_accessor("sel_interp_all")(sel_interp_all)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment