David Orme
David Orme
I did not, sorry.
If you could post an example of the code, that would be fantastic!
OK, so netcdf4-python is using its own version of netcdf4-c: ```python >>> import netCDF4 >>> netCDF4.__netcdf4libversion__ u'4.6.3' ``` If I look at the open files used by the Python process,...
I can rule out (I think!) some of that: 1. If I use `ncdump` (which is installed by brew) then I can access the CEDA OpenDAP files: `ncdump` successfully uses...
Which gives: ```sh $ otool -L /usr/local/bin/ncdump /usr/local/bin/ncdump: @rpath/libnetcdf.13.dylib (compatibility version 13.0.0, current version 13.0.0) /usr/local/opt/hdf5/lib/libhdf5_hl.100.dylib (compatibility version 102.0.0, current version 102.1.0) /usr/local/opt/hdf5/lib/libhdf5.103.dylib (compatibility version 104.0.0, current version 104.0.0) /usr/local/opt/szip/lib/libsz.2.dylib...
Oh, okay. `_netCDF4.so` links `libnetcdf.15.dylib` and _that_ links `libcurl`. ```sh $ otool -L /usr/local/lib/python2.7/site-packages/netCDF4/.dylibs/libnetcdf.15.dylib /usr/local/lib/python2.7/site-packages/netCDF4/.dylibs/libnetcdf.15.dylib: /DLC/netCDF4/libnetcdf.15.dylib (compatibility version 16.0.0, current version 16.0.0) @loader_path/libhdf5_hl.100.dylib (compatibility version 102.0.0, current version 102.0.0) @loader_path/libhdf5.101.dylib...
Looks like it: ```sh $ otool -L /usr/local/lib/python2.7/site-packages/netCDF4/.dylibs/libcurl.4.dylib /usr/local/lib/python2.7/site-packages/netCDF4/.dylibs/libcurl.4.dylib: /DLC/netCDF4/libcurl.4.dylib (compatibility version 9.0.0, current version 9.0.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1451.0.0) /System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 58286.41.2)...
Hi @DennisHeimbigner, I've tried playing around with the `dods_cookies` file specified in `.dodsrc`. If it doesn't exist, then attempting an OpenDAP connection with netCDF4-python _does_ create an empty file with...
@DennisHeimbigner: That's correct. Because I've got the parallel installation of netCDF4-c and the command line tools via brew, `ncdump` correctly creates the dods_cookies file and, once it is there, netCDF4-python...
That's not clear (to me). otool shows that `ncdump` links the `/usr/local/lib/libnetcdf.dylib` (as you'd expect). Like all (?) homebrew installations, that is a symlink to resources within `/usr/local/Cellar`: ```sh lb-dormelap:Downloads...