OPeNDAP not working on matlab 2014a

1 次查看(过去 30 天)
Nina
Nina 2016-12-29
评论: Kevin 2017-2-22
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 个评论
Kevin
Kevin 2017-2-22
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.

请先登录,再进行评论。

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by