Linux & Matlab 24 Apr 2008 10:03 am
Command line OpenDAP access in Matlab 2007b
In searching for a way to access OpenDAP data in Matlab I got to the Matlab Ocean Toolbox, which calls on the Loaddap backend. To get this running was pretty simple, although I went a bit backwards about it.
1. Compiling libdap-3.7.3 under CentOS 5.1
Basically there was an RPM for libdap that came with the Ocean Toolbox package, but I had already compiled the library from source. The only snag I hit was here during the make phase:
Vector.h:141: error: extra qualification ‘Vector::’ on member ‘value’
Vector.h:142: error: extra qualification ‘Vector::’ on member ‘value’
Vector.h:143: error: extra qualification ‘Vector::’ on member ‘value’
Vector.h:144: error: extra qualification ‘Vector::’ on member ‘value’
Vector.h:145: error: extra qualification ‘Vector::’ on member ‘value’
Vector.h:146: error: extra qualification ‘Vector::’ on member ‘value’
Vector.h:147: error: extra qualification ‘Vector::’ on member ‘value’
Vector.h:148: error: extra qualification ‘Vector::’ on member ‘value’
What I ended up doing was just to delete
Vector::
on all lines in the Vector.h file and it compiled. To get loaddap on there, I just did a simple
rpm -ivh –nodeps loaddap-3.6.0-1.i386.rpm
with the –nodeps switch to get rid of the matlab dependency issues. So far so good!
Leave a Reply
You must be logged in to post a comment.


