Why MATLAB R2018a is unable to open netCDF5 files?

조회 수: 3 (최근 30일)
Mohamed Gad
Mohamed Gad 2019년 8월 16일
댓글: Walter Roberson 2019년 8월 16일
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
Walter Roberson
Walter Roberson 2019년 8월 16일
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."

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 NetCDF에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by