xarray-contrib / xarray-contrib/flox
More Groupers / user stories / strategies
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 137
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
We need more discussion of strategies to label groups or perhaps just more convenient Grouper objects
-
QuantileBinGrouper?
-
SeasonGrouper?
- https://github.com/pydata/xarray/discussions/6664 :
JF,MAM,JJAS,OND - https://stackoverflow.com/questions/70658388/how-to-select-djfm-season-instead-of-xarray-groupby
- https://stackoverflow.com/questions/68455725/how-to-enable-season-selection-as-jjas-instead-of-jja-in-xarray
- rolling groupby : https://github.com/pydata/xarray/discussions/6180 - this in particular could be a special-case of SeasonGrouper. We can detect overlaps. and set up the problem appropriately.
- https://github.com/pydata/xarray/discussions/6664 :
-
SeasonResampler:
-
ResampleGrouper to complement TimeResampleGrouper: https://github.com/pydata/xarray/issues/4008 : ?
-
DayofYearGrouper:
- Handling
dayofyearwith leap years is also a common issue: https://stackoverflow.com/questions/68677362/daily-climatology-in-xarray-with-leap-years-accounted-for
- Handling
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked xarray discussions and examples for SeasonGrouper, SeasonResampler, QuantileBinGrouper, ResampleGrouper, and DayofYearGrouper. The issue does not identify files, tests, or a chosen strategy; progress would require narrowing this list to one agreed Grouper design and defining its implementation and tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100