Time Series Plot from the Data Portal - CUAHSI-HIS

Download Report

Transcript Time Series Plot from the Data Portal - CUAHSI-HIS

Analyze data from web services in
MATLAB
“Getting the browser out of the way”
David G Tarboton
http://his.cuahsi.org
Support
EAR 0622374
CUAHSI-HIS
Browser-based
Data Discovery
Tools
DASH
Hydroseek
3rd-Party Analysis
Software
(with web service capability)
GIS
Matlab
Splus
R
IDL
Java
C++
VB
HydroExcel
HydroGet
HydroLink
HydroObjects
3rd-Party Data
Servers
CUAHSI-HIS
Servers
ODM Database
WaterOneFlow Web
Services
DASH
ODM Data Loader
ODM SDL
ODM Tools
Data Access
Toolbox
CUAHSI-HIS
Central Servers
ODM Database
WaterOneFlow
Web Services
Network/WSDL Registry
HydroSeek
HydroTagger
3rd-Party Metadata
Repositry
etc.
USGS NWIS
NCDC ASOS
NCEP NAM 12K
NASA MODIS
etc.
Data Transmission Formats
WaterML
Other
Look up “Web services” in Matlab help
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
http://www.geodise.org/toolboxes/generic/xml_toolbox.htm
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