Error read data from HYCOM

8 ビュー (過去 30 日間)
Vinhteang Kaing
Vinhteang Kaing 2020 年 8 月 9 日
コメント済み: Walter Roberson 2020 年 8 月 9 日
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 件のコメント
Vinhteang Kaing
Vinhteang Kaing 2020 年 8 月 9 日
Thank Walter for your response.
But actually, when I write in command window, there are no space. And still got this error.
Walter Roberson
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
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.
  4 件のコメント
Walter Roberson
Walter Roberson 2020 年 8 月 9 日
and so on
Vinhteang Kaing
Vinhteang Kaing 2020 年 8 月 9 日
Yes, this is the right one. I still have no idea why my pc cannot run.
Thank you a lot.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeData Import and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by