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

netcdf > 1.6.1 does not read .netrc / .dodsrc

Open gauteh opened this issue 2 years ago • 4 comments

Hi,

To access CMEMS data-sources we use .netrc and .dodsrc, however it seems that versions post netcdf-1.6.1 no longer reads these files. Downgrading works fine. We use python-netcdf4 from conda-forge.

The issue seems to be present for ncdump and the likes as well.

Best regards, Gaute

Relevant issue: https://github.com/OpenDrift/opendrift/issues/1083

gauteh avatar Dec 12 '23 19:12 gauteh

This must be due to a change in the C library, not netcdf4-python (that's why it also shows up in ncdump). I don't see anything in the netcdf-c Changelog though.

jswhit avatar Dec 12 '23 20:12 jswhit

cc @WardF @DennisHeimbigner

dopplershift avatar Dec 12 '23 21:12 dopplershift

Maybe this issue: https://github.com/Unidata/netcdf-c/issues/1966

gauteh avatar Dec 13 '23 09:12 gauteh