installing/loading OPeNDAP

4 次查看(过去 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
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
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 中查找有关 ANOVA 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by