cedadev / jasmin_scivm

9 stars 0 forks source link

HDF error using netCD4 in python2.7 #135

Closed cdr30 closed 5 years ago

cdr30 commented 7 years ago

I am getting the following error on jasmin-sci when I try and modify a CMOR compliant netCDF file within python.

from netCDF4 import Dataset
# Open file for read/write then close 
ncf = Dataset(cmor_compliant_netcdf_file, 'r+')
... 
ncf.close()  
RuntimeError: NetCDF: HDF error

I have checked it is not a file permission issue. Is it possible there is some problem with the netcdf/hdf/libraries installed?

Cheers, Chris Roberts

agstephens commented 5 years ago

Closing as old (and assumed fixed).