Why MATLAB R2018a is unable to open netCDF5 files?

3 visualizzazioni (ultimi 30 giorni)
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 Commento
Walter Roberson
Walter Roberson il 16 Ago 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."

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by