Skip to content

netCDF zlib compression problem with netCDF4 >= 1.6.0 #106

@ghiggi

Description

@ghiggi

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

With the current implementation, there is no problem writing netCDF4 as long as the netCDF4 package version is <1.6.0.

With netCDF4>=1.6.0, the zlib: True field of the encoding dictionary is not accepted anymore.
With netCDF4>=1.6.0, the field has to be changed with compression="zlib" . This a back-ward incompatibility.

Expected Behavior

The code has to be adapted to the netCDF version in order to not restrict the netCDF package version!

Relevant docs:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions