Transcript
Page 1: Analyze data from  web services in  MATLAB “Getting the browser out of the way”

Analyze data from web services in MATLAB

“Getting the browser out of the way”

David G Tarboton

http://his.cuahsi.orgSupportEAR 0622374

Page 2: Analyze data from  web services in  MATLAB “Getting the browser out of the way”

CUAHSI-HISCUAHSI-HIS

CUAHSI-HIS Central Servers

ODM DatabaseWaterOneFlowWeb Services

Network/WSDL RegistryHydroSeek

HydroTagger3rd-Party Metadata

Repositryetc.

Data AccessToolbox

HydroExcelHydroGetHydroLink

HydroObjects

CUAHSI-HIS Servers

ODM DatabaseWaterOneFlow Web

ServicesDASH

ODM Data LoaderODM SDL

ODM Tools

3rd-Party Data Servers

USGS NWIS NCDC ASOS

NCEP NAM 12KNASA MODIS

etc.

(with web service capability)

3rd-Party Analysis Software

GISMatlabSplus

RIDL

JavaC++VB

Browser-based Data Discovery

Tools

DASHHydroseek

Data Transmission Formats

WaterML

Other

Page 3: Analyze data from  web services in  MATLAB “Getting the browser out of the way”

Look up “Web services” in Matlab help

Page 4: Analyze data from  web services in  MATLAB “Getting the browser out of the way”

Things you need to know to use CUAHSI Water Data Services in MATLAB

• MATLAB• createClassfromWSDL• Using CUAHSI Water Data Services

– Getsites– Getvariables– Getvariableinfo– Getvalues

• How to parse XML that is returned

Page 5: Analyze data from  web services in  MATLAB “Getting the browser out of the way”

http://www.geodise.org/toolboxes/generic/xml_toolbox.htm

Page 6: Analyze data from  web services in  MATLAB “Getting the browser out of the way”

Sequence

• getSites – to get a listing of all sites• getSiteInfoObject – to get details of the data

series available at that site• getValues – to get the actual data values • xml_parseany – to extract the values from the

XML string that is returned and plot


Top Related