-
Notifications
You must be signed in to change notification settings - Fork 85
Description
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
echopype/echopype/utils/coding.py
Lines 20 to 25 in f12322c
"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
Labels
Type
Projects
Status