Error read data from HYCOM
이전 댓글 표시
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일
you appear to have an extra space at the end of the url
Vinhteang Kaing
2020년 8월 9일
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일
0 개 추천
Your url has an extra space at the beginning and the end.
I deleted them and tried and had no problem.
댓글 수: 4
Vinhteang Kaing
2020년 8월 9일
Walter Roberson
2020년 8월 9일
opdurl = 'http://tds.hycom.org/thredds/dodsC/GLBu0.08/expt_91.2' ;
ncdisp(opdurl);
Source:
http://tds.hycom.org/thredds/dodsC/GLBu0.08/expt_91.2
Format:
classic
Global Attributes:
classification_level = 'UNCLASSIFIED'
distribution_statement = 'Approved for public release. Distribution unlimited.'
downgrade_date = 'not applicable'
classification_authority = 'not applicable'
institution = 'Naval Oceanographic Office'
source = 'HYCOM archive file'
history = 'archv2ncdf2d'
comment = 'p-grid'
field_type = 'instantaneous'
Conventions = 'CF-1.6 NAVO_netcdf_v1.1'
Dimensions:
depth = 40
lat = 2001
lon = 4500
time = 920
Walter Roberson
2020년 8월 9일
and so on
Vinhteang Kaing
2020년 8월 9일
카테고리
도움말 센터 및 File Exchange에서 NetCDF에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!