Skip to content

Cut time coord for ymd chunking - #14

Open
GianmarcoLattaruolo wants to merge 4 commits into
mainfrom
cut-time-coord-for-ymd-chunking
Open

GianmarcoLattaruolo wants to merge 4 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.

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.

1 participant