You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code fails at runtime with libnetcdf>=4.9.0. If you modify FILT_SIZE to have a value lower or equal to 8191 (2**16 - 1 bytes), it works and produces a valid output file.
With libnetcdf=4.8.1, the code works no matter what the FILT_SIZE is.
The text was updated successfully, but these errors were encountered:
smndvgnc
changed the title
Attempting to create a variable using a compound with size larger larger or equal than 2**16 bytes fails
Attempting to create a variable using a compound with size larger or equal than 2**16 bytes fails
Aug 20, 2023
I have just now gotten to this. I can confirm the error.
I created a pure HDF5 equivalent and it worked,
so the error is somewhere in the netcdf-c library.
Hi,
I recently ran into this issue with the python API (see this).
It appears it is coming from the C library, so I wrote this code snippet to verify.
This code fails at runtime with libnetcdf>=4.9.0. If you modify
FILT_SIZE
to have a value lower or equal to 8191 (2**16 - 1 bytes), it works and produces a valid output file.With libnetcdf=4.8.1, the code works no matter what the
FILT_SIZE
is.The text was updated successfully, but these errors were encountered: