필터 지우기
필터 지우기

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