installing/loading OPeNDAP

17 ビュー (過去 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 Center および File ExchangeANOVA についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by