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