You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The xr.open_dataset call in lesson 02-visualisation threw an TypeError for me. The error was:
TypeError: Error: .../data-carpentry/data/pr_Amon_ACCESS1-3_historical_r1i1p1_200101-200512.nc is not a valid NetCDF 3 file
If this is a NetCDF4 file, you may need to install the
netcdf4 library, e.g.,
$ pip install netcdf4
This is likely due to the an assumption that the conda env built by the users will have the python netcdf4 in it... but that was not the case for my set up so I have submitted an issue to add netcdf4 to the install process in lesson 01-conda.
I recommend adding netCDF4 to to the install explicitly.
It's frustrating that the conda recipe for xarray doesn't install netCDF4 by default, but indeed at the xarray website it asks people to install netCDF4, bottleneck and dask. These lessons don't cover parallel processing (and hence dask and bottleneck aren't required), but I've gone ahead and added netCDF4 to the install instructions.
The xr.open_dataset call in lesson
02-visualisation
threw an TypeError for me. The error was:This is likely due to the an assumption that the conda env built by the users will have the python netcdf4 in it... but that was not the case for my set up so I have submitted an issue to add netcdf4 to the install process in lesson
01-conda
.I recommend adding netCDF4 to to the install explicitly.
CC: openjournals/jose-reviews#37
The text was updated successfully, but these errors were encountered: