Describe the bug
I just noticed that the new netcdf4 versions (>1.6.0) does not accept anymore the encoding "zlib": True, but expects the field "compression": "zlib" .
The CFWriter should likely be updated to deal with the netdf4 package version when defining the compression encoding.
Further info and relevant locations affected in the CFWriter:
FYI: @gerritholl @mraspaud