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.

조회 수: 2 (최근 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