Why MATLAB R2018a is unable to open netCDF5 files?

2 ビュー (過去 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 Center および File ExchangeNetCDF についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by