installing/loading OPeNDAP

23 views (last 30 days)
Laurel Bayless
Laurel Bayless on 23 May 2021
Commented: Laurel Bayless on 4 Jun 2021
I'm new to MatLab so please forgive me for my lack of understanding, but I'm trying to use sea surface temperatures from to make a correlation field. The data I want is accessible through OPeNDAP, but when I type the code the website provides:
MatLab tells ' isn't a valid character. So I tried the following:
>> modis=''
modis =
>> ncid = ( 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 (line 65)
[varargout{:}] = matlab.internal.imagesci.netcdflib ( 'open', filename, 'NOWRITE' );
I went to try to install OPeNDAP, but 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.
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
I have brought this issue to the notice of our developers. They will investigate the matter further.
  1 Comment
Laurel Bayless
Laurel Bayless on 4 Jun 2021
Thank you very much! Please keep me updated.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!