-
Notifications
You must be signed in to change notification settings - Fork 265
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
NetCDF 4.9.0: nc_def_var_fletcher32(ncid, varid, NC_NOCHECKSUM) activates check sums #2401
Comments
It was a typo. I will put up a fix shortly, but you can test it by:
|
Thanks, indeed! Now it works.
|
DennisHeimbigner
added a commit
to DennisHeimbigner/netcdf-c
that referenced
this issue
Jun 13, 2022
re: Github Issue Unidata#2401 The nc_def_var_fletcher32 code in hdf5 is always setting fletcher32 when invoked. Fix is to properly test value of the fletcher32 argument.
Thanks a lot for implementing this fix! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Linux, when I call
nc_def_var_fletcher32(ncid, varid, NC_NOCHECKSUM)
, a subsequent call tonc_inq_var_fletcher32
returnsNC_FLETCHER32
. Apparently check summing is activated. Under NetCDF 4.8.1,nc_inq_var_fletcher32
returnsNC_NOCHECKSUM
as expected. This causes some test failures in my Julia package.NetCDF 4.9.0
Ubuntu 18.04, gcc 7.5.0 with system HDF5 ( libhdf5-serial-dev ,1.10.0)
The program test_fletcher32.c (apated from examples/C/simple_xy_wr.c) shows this behavior:
Test program test_fletcher32.c
output of `ncdump -s` of the file generated by NetCDF 4.9.0
The text was updated successfully, but these errors were encountered: