Azzera filtri
Azzera filtri

OPeNDAP not working on matlab 2014a

1 visualizzazione (ultimi 30 giorni)
Nina
Nina il 29 Dic 2016
Commentato: Kevin il 22 Feb 2017
Hello, I am trying to do the following in Matlab 2014a:
url_grid = ['http://www.esrl.noaa.gov/psd/thredds/dodsC/Datasets/NARR/monolevel/cape.1979.nc'];
ncdisp(url_grid)
When I run this, I get the following error:
Error using netcdflib
The NetCDF library encountered an error during execution of
'open' function - 'I/O failure (NC_EIO)'. If the data source was
an OPeNDAP URL, see the OPeNDAP Troubleshooting section in the
Users Guide.
Error in netcdf.open (line 59)
[varargout{:}] = netcdflib ( 'open', filename,
varargin{1} );
Error in internal.matlab.imagesci.nc/openToRead (line 1265)
this.ncRootid = netcdf.open(this.Filename,'NOWRITE');
Error in internal.matlab.imagesci.nc (line 121)
this.openToRead();
Error in ncdisp (line 50)
ncObj = internal.matlab.imagesci.nc(ncFile);
However, when a colleague with Matlab 2016a runs the same lines, there is no issue. Looking around, it seems this capability was added in 2012, so shouldn't be a problem in my 2014 version. Suggestions? Thank you.
  1 Commento
Kevin
Kevin il 22 Feb 2017
Did you find a solution yet? The PSD site recommended the Matlab bug fix #1072120 but that hasn't helped. It appears confined to 'www.esrl.noaa.gov/psd/*' but I tried reading the same files in python and it worked fine.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by