Skip to content
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

Fix some issues, add comments, and prepare for lazy(-ish) var reads #1248

Merged

Conversation

edhartnett
Copy link
Contributor

@edhartnett edhartnett commented Dec 11, 2018

I have some speedups for file opens which are lazy reads of part of the variable metadata (see discussion in #489). There is also a dimscale matching optimization I will propose, and this prepares for that (see #865).

The changes in this PR are in preparation for the lazy read code. The changes in this PR are code cleanup, additional documentation, and fixing some error handling issues in the existing code. Some functions which are only used in one place are made static instead of global, and some long functions are broken down by adding some static functions to do some of the heavy lifting.

Fixes #1247.
Fixes #1241.

@WardF
Copy link
Member

WardF commented Dec 11, 2018

I’m at AGU this week, but should be able to queue up this and a few others in a combined PR shortly. I’m 2 hours in the future so by the time you reach this point along the continuum they should be merge-ready

@WardF
Copy link
Member

WardF commented Dec 31, 2018

Merging into aggregation as I get caught up post-holidays.

@WardF WardF merged commit 8ca5a1a into Unidata:master Jan 2, 2019
@edhartnett edhartnett deleted the ejh_fast_var_prep branch February 16, 2019 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants