Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.2k
Add chunks='auto' support for cftime datasets#10527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Thank you for opening this pull request! It may take us a few days to respond here, so thank you for being patient. |
for more information, seehttps://pre-commit.ci
jemmajeffree commentedJul 14, 2025
Would these changes also work for cf timedeltas or are they going to still cause problems? |
If you can find something thats specifically a cftimedelta and run the |
jemmajeffree commentedJul 14, 2025
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
…1/xarray into autochunk-cftime
…pect disk chunks sensibly & this should be ready to go, I think
I did some prodding around yesterday and I realised this won't let us do something like importxarrayasxrcftime_datafile="/path/to/file.nc"xr.open_dataset(cftime_datafile,chunks='auto') yet, only stuff along the lines of importxarrayasxrcftime_datafile="/path/to/file.nc"ds=xr.open_dataset(cftime_datafile,chunks=-1)ds=ds.chunk('auto') I think implementing the former is going to be a bit harder, but I'm starting to clock the code structure a bit more now so I'll have a decent crack. |
Why so? Are we sending |