Skip to content

time_bnds no longer auto-generated (was in 0.5.0) #734

Closed Answered by pochedls
durack1 asked this question in 2. Questions
Discussion options

You must be logged in to vote

This was an intentional change. Up until v6.0 the functionality to create time bounds was overly simplistic, which could lead to incorrect time bounds. In v5.0, if a dataset had a monthly time axis with an un-centered date of 2000-01-01, we would (likely incorrectly) infer that the time bounds were ["1999-12-16", "2000-16-01"] (or something like that).

In v6.0, this was addressed, but there was a recognition that it is not always possible to infer the correct time bounds (e.g., for some sub-daily data or pentad data). We didn't want to automatically add time bounds that could be wrong. The user can elect to add time bounds by specifying xc.open_mfdataset(..., add_bounds=["T"]) or after op…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by durack1
Comment options

durack1
Feb 10, 2025
Collaborator Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants