Skip to content

Unpinning netCDF4 version causes failure #988

@lsetiawan

Description

@lsetiawan

Overview

This issue brings back #801. Currently we have a pin on netCDF4, which doesn't bring in the latest netCDF4 version 1.6.3. After digging into this some more it seems like this is an issue with us using zlib as mentioned in the other PR. However, now netCDF4 actually allows for compression attribute to be used, see https://unidata.github.io/netcdf4-python/#Dataset.createVariable. But, the package we depend on, xarray doesn't currently have this option as mentioned in pydata/xarray#7388. Someone has put in a PR for this fix 3 weeks ago (pydata/xarray#7551), but it's still active, so at some point, we can potentially unpin and use the zstd compression like we are using with zarr as seen in

"zarr": {
"float": {"compressor": zarr.Blosc(cname="zstd", clevel=3, shuffle=2)},
"int": {"compressor": zarr.Blosc(cname="lz4", clevel=5, shuffle=1, blocksize=0)},
"string": {"compressor": zarr.Blosc(cname="lz4", clevel=5, shuffle=1, blocksize=0)},
"time": {"compressor": zarr.Blosc(cname="lz4", clevel=5, shuffle=1, blocksize=0)},
},
.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions