netcdf4-python icon indicating copy to clipboard operation
netcdf4-python copied to clipboard

The linux wheel netCDF4-1.5.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64 uses older libnetcdf-60d928ce.so.18.0.0

Open ocefpaf opened this issue 3 years ago • 5 comments

In the CIs it seems to be netcdf-c 4.8.0 and I think that would provide libnetcdf.so.19 but in the wheel we have libnetcdf-60d928ce.so.18.0.0 (which I think is 4.7.x). Maybe it is just a matter of publish new wheels?

The reason I'm looking into this is b/c I'm hitting an OSError: [Errno -45] NetCDF: Not a valid data type or _FillValue type mismatch when reading from 'http://gliders.ioos.us/thredds/dodsC/deployments/rutgers/ru29-20150623T1046/ru29-20150623T1046.nc3.nc'. I don't see that error with the conda package or a my own build with netcdf-c 4.8.1.

ocefpaf avatar Jan 27 '22 23:01 ocefpaf

Looks like it should be building netcdf-c 4.8.1 (https://github.com/MacPython/netcdf4-python-wheels/blob/master/config.sh). Not sure why it's not ending up in the whl.

jswhit avatar Feb 02 '22 19:02 jswhit

more recently build wheels are at https://github.com/MacPython/netcdf4-python-wheels/releases/tag/v1.5.8rel - they should definitely be using 4.8.1

jswhit avatar Feb 02 '22 21:02 jswhit

I'm not familiar with wheels but I found libnetcdf-60d928ce.so.18.0.0 when unpacking the wheel. Not sure what is going.

ocefpaf avatar Feb 09 '22 16:02 ocefpaf

This should be fixed in the next release (1.6.0)

jswhit avatar Apr 27 '22 15:04 jswhit

Thanks. I'll test it as soon as it is out.

ocefpaf avatar Apr 27 '22 16:04 ocefpaf

I forgot about this one but it looks like the latest wheel is using libnetcdf-9e49a1ce.so.19.

ocefpaf avatar Sep 15 '22 15:09 ocefpaf