The current custom_seasons back-end uses Pandas DataFrames to store Datetime components, which then get manipulated downstream (e.g., shifting months for spanning calendar years, dropping incomplete seasons).
Describe the solution you'd like
In Xarray PR #9524, the SeasonGrouper() API will introduce:
groupby() custom seasons
support seasons that span the calendar year (uses previous year for correct grouping)
Is your feature request related to a problem?
The current
custom_seasons
back-end uses Pandas DataFrames to store Datetime components, which then get manipulated downstream (e.g., shifting months for spanning calendar years, dropping incomplete seasons).Describe the solution you'd like
In Xarray PR #9524, the
SeasonGrouper()
API will introduce:groupby()
custom seasonsdrop_incomplete
to drop incomplete seasonsDescribe alternatives you've considered
No response
Additional context
No response