Skip to content

Cut time coord for ymd chunking - #14

Merged
GianmarcoLattaruolo merged 8 commits into
mainfrom
cut-time-coord-for-ymd-chunking
Oct 16, 2026
Merged

GianmarcoLattaruolo merged 8 commits into
mainfrom
cut-time-coord-for-ymd-chunking

Conversation

@GianmarcoLattaruolo

Copy link
Copy Markdown
Member

The cartesian product of the year, month, day, and time lists can extend past the last date available in the dataset. This change adds an expected_end_date option to request_chunker_kwargs. For year/month/day requests, the reconstructed time coordinate is trimmed at that date, which is inclusive. Chunk sizes are resized so they still add up to the shorter coordinate. A chunk request that crosses the cutoff is kept unchanged, and requests that fall entirely after it are dropped.

@GianmarcoLattaruolo
GianmarcoLattaruolo merged commit 0495b67 into main Oct 16, 2026
10 checks passed
@GianmarcoLattaruolo
GianmarcoLattaruolo deleted the cut-time-coord-for-ymd-chunking branch October 16, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants