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 19ea33e commit 14477bdCopy full SHA for 14477bd
cf_xarray/groupers.py
@@ -7,6 +7,10 @@
7
8
@dataclass
9
class FlagGrouper(UniqueGrouper):
10
+ """
11
+ Grouper object that allows convenient categorical grouping by a CF flag variable.
12
13
+
14
def factorize(self, group) -> EncodedGroups:
15
if "flag_values" not in group.attrs or "flag_meanings" not in group.attrs:
16
raise ValueError(
0 commit comments