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

v4.8.1 Wellspring changes to merge back upstream #2075

Merged
merged 21 commits into from
Aug 20, 2021
Merged

Conversation

WardF
Copy link
Member

@WardF WardF commented Aug 13, 2021

This branch will eventually split into the v4.8.1 release to one side, and a subset of those changes which will go back into the main development branch after the v4.8.1 release.

gsjaardema and others added 21 commits August 3, 2021 13:36
It looks like some vars have ndims==0 in which case the coord_dimids should not be written. Modify patch to catch those cases.
Make the data in the variable `var1` easier to compress so that the compression tests will be more robust.  The zlib_ng library, for example, at level 1 does not compress a sequence of integers very well which resulted in the NetCDF-4 compressed file being larger than the uncompressed NetCDF-3 file.  With the change above, the variable contains `0,0,0,1,1,1,2,2,2,...,` which compresses at level 1 and the compression test is more robust.
This PR adds the coordinate dimids to all variables; previously 1D
variables did not have it.  There is an issue with renaming variables
with the coordinate dimid which is now exposed in this test which
renames a 1D variable.

Disabling parts of this test until the variable renaming code can be
refactored.
Added comment indicating that we want integer division / truncation.
This should also trigger the tests to be run again; it looks like one of the tests just didn't run for some reason...
@WardF WardF merged commit e917509 into master Aug 20, 2021
@WardF WardF deleted the v4.8.1-wellspring.wif branch August 20, 2021 16:37
DennisHeimbigner added a commit to DennisHeimbigner/netcdf-c that referenced this pull request Aug 24, 2021
re: Unidata#2075

The long file name fix fails when the build is manually repeated
because the source file has already been renamed. Solution is to
test if the dest file exists or not before doing the rename.
DennisHeimbigner added a commit to DennisHeimbigner/netcdf-c that referenced this pull request Aug 25, 2021
re: Unidata#2075

The long file name fix fails when the build is manually repeated
because the source file has already been renamed. Solution is to
test if the dest file exists or not before doing the rename.
This is apparently not a problem for automake because it uses
AC_CONFIG_LINK, which uses link/copy instead of rename.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filename too long, causing 'make dist' issue on linux.
4 participants