-
Notifications
You must be signed in to change notification settings - Fork 284
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve speed of loading small NetCDF files #6229
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6229 +/- ##
=======================================
Coverage 89.83% 89.83%
=======================================
Files 88 88
Lines 23315 23317 +2
Branches 4338 4339 +1
=======================================
+ Hits 20945 20947 +2
Misses 1644 1644
Partials 726 726 ☔ View full report in Codecov by Sentry. |
⏱️ Performance Benchmark Report: 0e462c7Performance shifts
Full benchmark results
Generated by GHA run |
@schlunma This seems to do great on the small example files you provided and the small benchmark test cases. Could you try this with your real-sized files to see if it is any good in practice? |
These were real-sized files (the model saves only one time slice per file). |
🚀 Pull Request
Description
This reduces the time required to load small NetCDF files, especially those with many variables.
Using the files and timing script from #6223, this pull request speeds up loading the file with a single variable by 30% and the file with many variables by 200%.
Consult Iris pull request check list
Add any of the below labels to trigger actions on this PR: