When I have applied the command to smaller NetCDF everything have worked well, but with this one it gives me the error message: The NetCDF library encountered an error during execution of 'getVarsFloat' function - 'HDF error (NC_EHDFERR)'. ...
TheNetCDF library encountered an error during execution of 'close' function - 'HDF error (NC_EHDFERR)'. Errorin netcdf.close (line 16) netcdflib('close', ncid); Errorin internal.matlab.imagesci.nc/close (line 139) netcdf.close(this.ncRootid); ...
Errorusing netcdflib TheNetCDF library encountered an error during execution of 'open' function - 'HDF error (NC_EHDFERR)'. Errorin netcdf.open (line 67) [varargout{:}] = netcdflib ('open', filename, varargin{1} ); Errorin internal.matlab.imagesc...
I understand that you are getting the “NC_EHDFERR” error while reading variables ‘latitude’ and ‘longitude’. Based on the error message you received ('HDF error (NC_EHDFERR)'), it is likely that the netCDF file you are working with is corrupted...