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
{{ message }}
Repository navigation
Regression in createVariable between 1.5.8 and 1.6.0 #1175
Compression does not work with variable-length types. Maybe this did not cause an error with netcdf-c 4.8.1 (which was used for the netcdf4-python 1.5.8 wheel), but it looks like it does for netcdf-c 4.9.0 (which is used by the netcdf4-python 1.6.0 wheel). The error message (which comes from the C lib) is somewhat confusing though.
Thank you very much for the clarification, I was not aware of that.
Removing the zlib=True fixes the issue.
I opened an issue in netcdf-c to improve the error message: Unidata/netcdf-c#2447
Activity
jswhit commentedon Jul 3, 2022
Compression does not work with variable-length types. Maybe this did not cause an error with netcdf-c 4.8.1 (which was used for the netcdf4-python 1.5.8 wheel), but it looks like it does for netcdf-c 4.9.0 (which is used by the netcdf4-python 1.6.0 wheel). The error message (which comes from the C lib) is somewhat confusing though.
See https://forum.hdfgroup.org/t/compression-of-variable-lenght-datatypes/1384
mrsalo commentedon Jul 4, 2022
Thank you very much for the clarification, I was not aware of that.
Removing the
zlib=Truefixes the issue.I opened an issue in netcdf-c to improve the error message: Unidata/netcdf-c#2447
See Unidata/netcdf4-python#1175 "Regression in createVariable between…
unpin xarray, numpy, pandas, netcdf4 (#25)