Error read data from HYCOM
7 次查看(过去 30 天)
显示 更早的评论
Dear everyone,
I am trying to read data from HYCOM. Here the code that I use.
opdurl = ' http://tds.hycom.org/thredds/dodsC/GLBu0.08/expt_91.2 ' ;
ncdisp(opdurl);
But I got error as below, I don't know what's going it.
I really appriciate for your help.
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 67)
[varargout{:}] = netcdflib ( 'open' ,filename, varargin{1} );
Error in internal.matlab.imagesci.nc/openToRead (line 1278)
this.ncRootid = netcdf.open(this.Filename, 'NOWRITE' );
Error in internal.matlab.imagesci.nc (line 121)
this.openToRead();
Error in ncdisp (line 62)
ncObj = internal.matlab.imagesci.nc(ncFile);
Error in EX13 (line 2)
ncdisp(opdurl);
3 个评论
Walter Roberson
2020-8-9
It appears that hycom.org is being run as a consortium that includes USA government agencies. Some US government resources are blocked for access from some countries.
It looks to me as if you are probably in Japan, and I would not normally expect Japan to be blocked... but I have seen cases where data was restricted to USA, or was restricted to USA and Canada.
Have you been able to access files on that site from other system?
回答(1 个)
Walter Roberson
2020-8-9
Your url has an extra space at the beginning and the end.
I deleted them and tried and had no problem.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!