40 likes | 52 Views
Learn how to unpack and run the Matlab GUI and command-line client for accessing OPeNDAP data. Access and manipulate data sets easily with step-by-step instructions provided in this guide.
E N D
Unpack the Matlab GUI • cd to your home directory • > cd • Unpack the Matlab GUI • > Tar –xzvf /scr/OPeNDAP_Software/Clients/Binary/ • DODS-ml-toolbox--i686-pc-linux-gnu-RH8.0.tar.gz • Check that it down loaded the GUI • > cd DODS/bin • > ls • You are looking for directory named ml-toolbox
Run the GUI • Run Matlab in the none java mode. (Remain in the directory containing writeval.) > matlab -nojvm • Add the GUI location to your Matlab path • >> path(path,’ml-toolbox/’) • Start the browser • >> browse • Select a data set, time and space range. • Ask for details. • Ask for data.
Unpack the Matlab Command Line Client • cd to your home directory • > cd • Unpack the Matlab command line tar file • > Tar –xzvf /scr/OPeNDAP_Software/Clients/Binary/ • DODS-ml-cmdln-3.4.4-i686-pc-linux-gnu.tar.gz • Check that it down loaded the command line client • > cd DODS/bin • > ls • You are looking for loaddods.m, loaddods.mexglx and writeval
Accessing Data in Matlab • Run Matlab in the none java mode. (Remain in the directory containing writeval.) • > matlab -nojvm • Read some data from an OPeNDAP site. • >> loaddods(‘http://dods.gso.uri.edu/cgi-bin/nph-dods • /htn_sst_decloud/1994/i94096102452.htn_d.z • This will place 3 variables in your Matlab work space • Dsp_band_1 • Lon • Lat • You can now manipulate the data as you like.