Dataset function not working when calling after creating a empty netcdf file
Created by: thopri
ITs not clear why but netCDF4 Dataset module doesn't work correctly when trying to request a netcdf from an thredds server. It ends up downloading a data file with no time dimension and consequently no data.
This would occur when using Dataset module to create an empty writable netcdf file. Even if that file had been closed. I found no way to make the function work without restarting PyNEMO.