Skip to content

Commit 7ffccc9

Browse files
committed
Add dataset accessor
1 parent 852b8c3 commit 7ffccc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cf_xarray/accessor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def __getattr__(self, attr):
9494

9595

9696
@xr.register_dataarray_accessor("cf")
97+
@xr.register_dataset_accessor("cf")
9798
class CFAccessor:
9899
def __init__(self, da):
99100
self._obj = da

0 commit comments

Comments
 (0)