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 visualización (últimos 30 días)
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{:});

Respuesta aceptada

Jatin Waghela
Jatin Waghela el 2 de Oct. de 2017
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:

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by