-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unpinning netCDF4 version causes failure #988
Comments
Currently, tests/convert/test_convert_source_target_locs.py::test_convert_ek fails when running with the "netcdf4" engine and on a conda environment where The segmentation doesn't occur writing to netcdf, though. It happens when reading the netcdf file created by the test. More specifically, it occurs when reading two of the netcdf groups: "Sonar/Beam_group1" and "Vendor_specific": ds = xr.open_dataset('Summer2017-D20170615-T190214.nc', engine='netcdf4', group='Sonar/Beam_group1')
Segmentation fault (core dumped) In both of these groups, In I think a possible solution could be setting |
This has been addressed in #1112. Now
PR #1112 doesn't introduce the use of a |
Overview
This issue brings back #801. Currently we have a pin on
netCDF4
, which doesn't bring in the latest netCDF4 version1.6.3
. After digging into this some more it seems like this is an issue with us usingzlib
as mentioned in the other PR. However, now netCDF4 actually allows forcompression
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 thezstd
compression like we are using withzarr
as seen inechopype/echopype/utils/coding.py
Lines 20 to 25 in f12322c
The text was updated successfully, but these errors were encountered: