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 handling of NULL start/count/stride, remove unneeded file lookups, moved get/put code from nc4hdf5.c to hdf5var.c #1112

Merged

Conversation

edhartnett
Copy link
Contributor

@edhartnett edhartnett commented Aug 16, 2018

Fixes #231.
Fixes #999.
Part of #856.
Part of #857.
Part of #965.
Fixes #1009.
Fixes #1029.

In this PR there are some fixes on the way to the lazy var reads:

  • Fixed handling of NULLs as start/count/stride in get/put calls.
  • Removed dead code protected by VARS_USES_VARM macro - this code would no longer work with these changes, and is no longer needed.
  • Removed unneeded extra file lookup in var1, vara, and vars functions.
  • Moved some type checking for user-defined types from dvarget/dvarput into the netCDF-4 code.
  • Moved the get/put functions from nc4hdf5.c to hdf5var.c.
  • Extra testing for these changes.
  • Some documentation improvements along the way.

@edhartnett edhartnett changed the title Ejh vars null count issue 2 Fix handling of NULL start/count/stride, remove unneeded file lookups, moved get/put code from nc4hdf5.c to hdf5var.c Aug 16, 2018
@edhartnett edhartnett closed this Aug 16, 2018
@edhartnett
Copy link
Contributor Author

@WardF can we get this one merged soon please? Plenty more to come...

@WardF WardF self-assigned this Aug 27, 2018
@WardF WardF added this to the 4.7.0 milestone Aug 27, 2018
@WardF
Copy link
Member

WardF commented Aug 27, 2018

Merging after the update w/ master!

@WardF WardF merged commit 416413b into Unidata:master Aug 28, 2018
@edhartnett
Copy link
Contributor Author

Thanks!

@edhartnett edhartnett deleted the ejh_vars_null_count_issue_2 branch August 28, 2018 15:54
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