When I try to open a netcdf4 file containing tropomi data of the ESA copernicus mission, I run into the following error.
[Errno -101] NetCDF: HDF error: b'5P_NRTI_L2__CO_____20190505T104819_20190505T105319_08073_01_010301_20190505T124936.nc'
the code that I use is simply
import netCDF4
rootgrp = netCDF4.Dataset(5P_NRTI_L2__CO_____20190505T104819_20190505T105319_08073_01_010301_20190505T124936.nc, "r",format="NETCDF4")
If i re-install netCDF4 or shutdown my computer a few times it succeeds in reading the file again (though this trick does not always work). But it's just a matter of time before it starts failing again. Does anyone have any idea what causes this problem? I work under Ubuntu 18.