installing/loading OPeNDAP

4 views (last 30 days)
Laurel Bayless
Laurel Bayless on 23 May 2021
Commented: BN on 8 Nov 2022
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 Comments
Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni on 1 Jun 2021
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 on 1 Jun 2021
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".

Sign in to comment.

Answers (1)

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni on 4 Jun 2021
Hi,
I have brought this issue to the notice of our developers. They will investigate the matter further.
Thanks.
  2 Comments
Laurel Bayless
Laurel Bayless on 4 Jun 2021
Thank you very much! Please keep me updated.
BN
BN on 8 Nov 2022
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?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!