We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2794dc commit 4042165Copy full SHA for 4042165
cf_xarray/accessor.py
@@ -400,9 +400,8 @@ def __getitem__(self, key):
400
return self._obj.reset_coords()[varnames].set_coords(varnames)
401
elif key in _CELL_MEASURES:
402
raise NotImplementedError("measures not implemented for Dataset yet.")
403
- # return self._obj[_get_measure(self._obj)[key]]
404
else:
405
- raise KeyError(f"DataArray.cf does not understand the key {key}")
+ raise KeyError(f"Dataset.cf does not understand the key {key}")
406
407
408
@xr.register_dataarray_accessor("cf")
0 commit comments