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

Allow nc_inq_var_szip() to return NC_NOERR and zero for parameters for vars without szip, also added parallel szip test #1625

Closed
wants to merge 23 commits into from

Conversation

edwardhartnett
Copy link
Contributor

Well this szip stuff was more of a can of worms than I expected! However, as my first boss used to say: "Anything worth doing is worth doing right." ;-)

In this PR we allow nc_inq_var_szip() to return success and zeros for parameters if szip is not on for the var. This matches the behavior of the API with the other filters. It is not an error to do an inq on a filter, even if the filter is not present.

Also renamed test tst_parallel_zlib2.c to tst_parallel_compress.c, and added a szip test that will only be run of szip is present in HDF5, and parallel filters are allowed.

Also fixed the incorrect location of the AC_SUBST call which was causing problems for non-netcdf-4 builds.

Also more documentation to help explain and capture all the fun twists and turns of szip use.

This PR includes #1619 and #1623

Fixes #1622
Fixes #1618

@edwardhartnett edwardhartnett requested a review from WardF as a code owner February 6, 2020 14:58
@edwardhartnett
Copy link
Contributor Author

This failed travis due to the test_byterange.sh test. Probably network timeout. I will update the branch to launch another travis run...

@edwardhartnett
Copy link
Contributor Author

I'm going to take this PR down. These changes are included in later PRs.

@edwardhartnett edwardhartnett deleted the ejh_more_szip_5 branch March 6, 2020 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant