Hello,
I can't install pyferret and nco in the same conda (python 3) env. (system is MacOS X 10.14.6, conda is 4.7.11)
conda create --name TEST
conda activate TEST
conda install -c conda-forge pyferret ferret_datasets --yes
Then pyferret works fine.
I add nco :
conda install -c conda-forge nco
The installer says :
The following packages will be UPDATED:
netcdf-fortran 4.4.5-ha98af74_1003 --> 4.4.5-h1993a31_1004
The following packages will be DOWNGRADED:
libnetcdf 4.7.1-nompi_he14bcb6_101 --> 4.6.2-h1a02027_1003
Then pyferret is unable to read any data :
TEST-marti@Spip-~/Unix/Ferret 👉 pyferret
NOAA/PMEL TMAP
PyFerret v7.5 (optimized)
Darwin 17.7.0 - 08/23/19
3-Sep-19 11:40
yes? use levitus_climatology
NetCDF: Not a valid ID (OPeNDAP/netCDF Error code -33)
is this a CDF file ?
yes?
I've got the same incompatibility between pyferret and cdo. And between pyferret and cfunits. And I guess between pyferret and any other soft building on NetCDF ?
Is there a way to make this work ? pyFerret and nco are very complementary, and it will be a pain in the neck if they should be in different conda envs.
Olivier
—
Olivier Marti - LSCE Bât 714 p. 1049
Tel : +33 1 69 08 77 27