MCPcopy
hub / github.com/pydata/xarray / SeasonsGroup

Class SeasonsGroup

xarray/groupers.py:749–755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

747
748@dataclass(kw_only=True, frozen=True)
749class SeasonsGroup:
750 seasons: tuple[str, ...]
751 # tuple[integer months] corresponding to each season
752 inds: tuple[tuple[int, ...], ...]
753 # integer code for each season, this is not simply range(len(seasons))
754 # when the seasons have overlaps
755 codes: Sequence[int]
756
757
758def find_independent_seasons(seasons: Sequence[str]) -> Sequence[SeasonsGroup]:

Callers 1

find_independent_seasonsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…