I am running R2015aSP1 and recently have gotten errors in trying to read OPeNDAP files that I previosuly had no issues with; other people I know have no problems using data from the same OpENDAP source; the errors I am getting are noted below.

1 回表示 (過去 30 日間)
Below are the errors I am getting from the same code I have been uising with no issues. Can someone please help me figure this out?
Error using netcdflib The NetCDF library encountered an error during execution of 'getVarFloat' function - 'Malformed or inaccessible DAP DATADDS (NC_EDATADDS)'. If the data source was an OPeNDAP URL, see the OPeNDAP Troubleshooting section in the Users Guide.
Error in netcdf.getVar (line 136) data = netcdflib(funcstr,ncid,varid,varargin{:});
Error in internal.matlab.imagesci.nc/read (line 605) data = netcdf.getVar(gid, varid);
Error in ncread (line 58) vardata = ncObj.read(varName, varargin{:});

採用された回答

Jatin Waghela
Jatin Waghela 2017 年 10 月 2 日
The errors you are receiving are due to the older OPeNDAP servers that do not conform to DAP 2.0 protocol. To resolve those errors, upgrade to MATLAB version R2015b or later.
You can find more information at the following link to the MATLAB Release Notes:

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by