installing/loading OPeNDAP

조회 수: 13 (최근 30일)
Laurel Bayless
Laurel Bayless 2021년 5월 23일
댓글: BN 2022년 11월 8일
Hi!
I'm new to MatLab so please forgive me for my lack of understanding, but I'm trying to use sea surface temperatures from http://iridl.ldeo.columbia.edu/ to make a correlation field. The data I want is accessible through OPeNDAP, but when I type the code the website provides:
loaddap('http://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NCDC/.ERSST/.version5/.sst/X/%2880W%29%280%29RANGEEDGES/T/%28Jul%201993%29%28Jun%202019%29RANGEEDGES/Y/%2820S%29%2880N%29RANGEEDGES/T/%28Jul-Jun%29seasonalAverage/dods')
MatLab tells ' isn't a valid character. So I tried the following:
>> modis='http://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NCDC/.ERSST/.version5/.sst/X/%2880W%29%280%29RANGEEDGES/T/%28Jul%201993%29%28Jun%202019%29RANGEEDGES/Y/%2820S%29%2880N%29RANGEEDGES/T/%28Jul-Jun%29seasonalAverage/dods'
modis =
'http://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NCDC/.ERSST/.version5/.sst/X/%2880W%29%280%29RANGEEDGES/T/%28Jul%201993%29%28Jun%202019%29RANGEEDGES/Y/%2820S%29%2880N%29RANGEEDGES/T/%28Jul-Jun%29seasonalAverage/dods'
>> ncid = netcdf.open ( modis )
And I got the following error.
Error using matlab.internal.imagesci.netcdflib
The NetCDF library encountered an error during execution of 'open' function - 'Malformed or inaccessible DAP DDS
(NC_EDDS)'. If the data source was an OPeNDAP URL, see the OPeNDAP Troubleshooting section in the Users Guide.
Error in netcdf.open (line 65)
[varargout{:}] = matlab.internal.imagesci.netcdflib ( 'open', filename, 'NOWRITE' );
I went to try to install OPeNDAP, but https://www.opendap.org/deprecated-software/matlab-loaddap/3.7.3 does not seem to have all of the components necessary to do so. Is OPeNDAP already on MatLab R2021a? If not how can I find everything I need to install? What do I need to do in order to use OPeNDAP data?
Any help is appreciated.
  댓글 수: 2
Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni 2021년 6월 1일
Hi,
can you check whether you are getting same error with other OPeNDAP endpoints for the NOAA NCDC ESSRT version 5 datasets at http://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NCDC/.ERSST/.version5/?
Thanks.
Laurel Bayless
Laurel Bayless 2021년 6월 1일
Thank you for your message. Yes, I've tried other datasets from this same source. My problem is that MatLab doesn't recognize the function "loaddap".

댓글을 달려면 로그인하십시오.

답변 (1개)

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni 2021년 6월 4일
Hi,
I have brought this issue to the notice of our developers. They will investigate the matter further.
Thanks.
  댓글 수: 2
Laurel Bayless
Laurel Bayless 2021년 6월 4일
Thank you very much! Please keep me updated.
BN
BN 2022년 11월 8일
Dear @Shiva Kalyan Diwakaruni and @Laurel Bayless, I have the same issue, the loadapp function does not exist for me too. did you solve this problem? What can I do?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Call C++ from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by