Thanks Rafael! Disabling hdf5 file locking solved it.

 export HDF5_USE_FILE_LOCKING=FALSE
 
 I didn't have to do this for v3 mounts before. The only time I remember of 
users having to use this is when using xarray and dask to open the netcdf file 
in parallel. Anyhow I am happy that it works now. Thanks a lot for your help. 
Please see the results below - 


export HDF5_USE_FILE_LOCKING=TRUE
ncdump  -h -s MERRA2.19800101.A1.05x0625.NA.nc4 |tail -2
ncdump: MERRA2.19800101.A1.05x0625.NA.nc4: MERRA2.19800101.A1.05x0625.NA.nc4: 
NetCDF: HDF error

export HDF5_USE_FILE_LOCKING=FALSE
ncdump  -h -s MERRA2.19800101.A1.05x0625.NA.nc4 |tail -2
                :_Format = "netCDF-4"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1903974

Title:
  issue reading netcdf4 files with nfs v3 on ubuntu 20.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1903974/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to