INRA Constellation of Experimental Watersheds

Download Report

Transcript INRA Constellation of Experimental Watersheds

CUAHSI
HIS
Sharing hydrologic data
http://his.cuahsi.org/
Hydroinformatics Lecture 15:
HydroServer and
HydroServer Lite
Daniel P. Ames and Jeffery S. Horsburgh
The CUAHSI HIS is
Supported by NSF
Grant# EAR 0622374
CUAHSI HIS
The CUAHSI Hydrologic Information System (HIS) is an internet based system
to support the sharing of hydrologic data. It is comprised of hydrologic
databases and servers connected through web services as well as software for
data publication, discovery and access.
HIS Central
Data Discovery and
Integration platform
HydroServer
Data Publication
platform
Like web
servers
Data Services
Water Data Services
Spatial Data Services
Like HTML
Like search portals
Google, Yahoo, Bing
HydroDesktop
Data Synthesis and
Research platform
Like browsers
HydroServer Goals
• A platform for organizing and publishing
space-time hydrologic datasets that:
– Provides local control of data
Put the data service as
close to the data
producer as possible.
– Makes data universally available
Share the data as
widely and openly as
possible.
– Is autonomous – e.g., functional
independent of the rest of HIS
Serve as a useful data
store regardless of
the fate of CUAHSI
HIS.
KEY HydroServer Functionality:
• Read ODM
• Share it with WebServices
Add on Visualization
Capabilities
Capabilities
Database
Configuration
Tool
WaterOneFlow
ODM
WaterOneFlow
Services
WaterOneFlow
ODM
WaterOneFlow
HydroServer
Capabilities
Database
Spatial
Services
Add on GIS Services
through ArcGIS Server
ODM
ODM Databases and Web Services
ArcGIS Server Spatial Data Services
ODM 1.1.1
Publishing Data in an ODM Database
WaterML and WaterOneFlow
WaterML is an XML schema for communicating water data
WaterOneFlow is a set of web services based on WaterML
• Set of query functions
• Returns data in WaterML
Slide from David Valentine
For example: to get a site, send this “SOAP” request
to the server:
Specify the site and an optional
authorization token
Get this response:
Result returns in this string.
2 Flavors of HydroServer:
HydroServer (.NET)
• HydroServer (.NET):
• http://hydroserver.codeplex.com
• Model implementation of the HydroServer CUAHSI HIS
specification
• Runs on Windows servers
• Requires Microsoft SQL Server
• Uses ArcGIS Server
• Uses Streaming Data Loader, Data Loader and SQL tools to
manage the database.
2 Flavors of HydroServer
• Original HydroServer:
• http://hydroserver.codeplex.com
• Model implementation of the
HydroServer CUAHSI HIS specification
• Runs on Windows servers
• Requires Microsoft SQL Server
• Uses ArcGIS Server
• Uses Streaming Data Loader, Data Loader
and SQL tools to manage the database.
• HydroServer Lite:
• http://hydroserverlite.codeplex.com
• Simplified implementation of the CUAHSI
HIS specification (all required services are
supported).
• Runs on the free LAMP stack (Linux,
Apache, MySQL, PHP)
• Uses front end web pages to load data in
the database.
HydroServer PHP (HydroServer Lite)
• HydroServer Lite:
• http://hydroserverlite.codeplex.com
• Simplified implementation of the CUAHSI HIS
specification (all required services are supported).
• Runs on the free LAMP stack (Linux, Apache, MySQL,
PHP)
• Uses front end web pages to load data in the database.
What is HydroServer Lite?
• PHP and MySQL mean easy/fast/cheap setup
• Focus on easy extends to user interfaces.
• Developer community at
http://hydroserverlite.codeplex.com/
• Let’s try it out: http://worldwater.byu.edu/
• Browse data from any database, upload data
using the “sandbox” database.
Can Citizen Science Data be Shared and
Intermingled with “Real Data”?
Data Input
WaterML2 Output
Interactive Map
Time Series Graph
Open Source/ Light Weight PHP and MySQL WaterML HydroServer
HydroServers
for the Developing World
• http://worldwater.byu.edu
• Custom PHP-based Catalog for Developing
Countries
Internationalization Effort
Try it…
•
•
•
•
•
Go to worldwater.byu.edu
Databases
Sandbox
Create a new site
Add the data to
your site from
the sample data
zip file on Canvas
Try it…
• Format your USGS data from Tuesday’s class
• Create a new site for this data.
• Upload your data!
• http://goo.gl/mR6uwb
Assignment
• Build your own HydroServer instance
• Use HydroServer .NET or HydroServer PHP
• Install on your own server or use
worldwater.byu.edu
• Upload your own observations
• Write a brief report…
CUAHSI
HIS
Sharing hydrologic data
Build your own HydroServer Lite instance
by following the instructions at :
http://hydroserverlite.codeplex.com/
Support
EAR 0622374