Why MATLAB R2018a is unable to open netCDF5 files?

2 visualizaciones (últimos 30 días)
Mohamed Gad
Mohamed Gad el 16 de Ag. de 2019
Comentada: Walter Roberson el 16 de Ag. de 2019
I have actullaly used MATLAB R2018a with no problems; however, when I was trying to open a netCDF 5 file, Matlab was incapable to open it. For example when I was running the following terminal, an error appears.
>> fname = netcdf.open('Regcm_10_V10_MAM_min_1979_1983.nc','NOWRITE');
Error using netcdflib
The NetCDF library encountered an error during execution of 'open' function - 'Unknown file format (NC_ENOTNC)'.
Error in netcdf.open (line 59)
[varargout{:}] = netcdflib ( 'open', filename, varargin{1} );
  1 comentario
Walter Roberson
Walter Roberson el 16 de Ag. de 2019
netcdf5 turns out to be a quite different file format than netcdf4
Earlier, Marius suggested,
"https://github.com/nctoolbox/nctoolbox/wiki nctoolbox can open grib2 files locally and also remote via an OPeNDAP URL."

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by