1 Web Services USGS/EPA Collaboration
2 Overview EPA and USGS are working together to develop a commons suite of web services These services will allow for sharing of water monitoring data via a common format and common terminology The initial project is underway, and the new web services are expected to be completed by November 2007
3 What is a Web Service? A web service is a computer-to-computer protocol that allows for the direct sharing of information. Web services allow for data from multiple sources to be packaged together in one layout, web presentation, or application. Typically, a web service has input parameters, and pre-defined output format These are the basic principles under which the Exchange Network functions
4 A common web service example Weather bug: The weather bug software is something that many are familiar with. It runs on a very basic web service. The weather bug software is something that many are familiar with. It runs on a very basic web service. It has basic input parameters: zip code It has basic input parameters: zip code It has a defined output format (xml file) It has a defined output format (xml file) The actual weather data does not need to be stored on your computer, it just pulls the data via a web service, and then displays that information in a user friendly format. The actual weather data does not need to be stored on your computer, it just pulls the data via a web service, and then displays that information in a user friendly format.
5 What Web Services are being planned? Four core services are being developed: Watershed/Station Catalog service (Already available) – provides summary information on what data are available Watershed/Station Catalog service (Already available) – provides summary information on what data are available Project Catalog service (Jul 07) – provides summary information by projects based on an input of min/max latitude/longitude Project Catalog service (Jul 07) – provides summary information by projects based on an input of min/max latitude/longitude Stations service (Jul 07) – provides specific station information Stations service (Jul 07) – provides specific station information Results service (Jul 07) – provides results for modeling, analysis, and decision making Results service (Jul 07) – provides results for modeling, analysis, and decision making
6 Web Services – an Example STORET’s Watershed Catalog Web Service: ervice/ ervice/ ervice/ This service is used as part of the following applications: Watershed Summary reports: Watershed Summary reports: New Enviromapper for Water (currently in development): New Enviromapper for Water (currently in development):
7 So What? Web Services allow for more accessibility to the data. You are no longer limited to EPA or USGS interfaces for interacting with the data. Without Web Services, a STORET/NWIS collaboration would be impossible.
8 A Theoretical Application A user zooms into an area of interest The Stations Web Service returns the list of stations with lat/longs for that area of interest The Application draws the stations on the map and then calls the catalog web service to get summary information The Application also calls the Projects catalog web service so that it can display project summary information The user can then interact with the data, retrieving data by: Station Project Date Range Chemical Name etc.
9 STORET/NWIS Collaboration A USGS/EPA workgroup has been formed to work through collaboration issues: Mapping the Parameter Codes to EPA’s Substance Registry System Mapping the Parameter Codes to EPA’s Substance Registry System Identifying a common schema (would be based on WQX) Identifying a common schema (would be based on WQX) Developing common web services with common input parameters Developing common web services with common input parameters
10 What’s Next? A common portal for interacting with these services will need to be developed Expanding the net: These methodologies could grow beyond the current collaboration, and potentially include: These methodologies could grow beyond the current collaboration, and potentially include: Sharing data with other countries (Canada, Mexico)Sharing data with other countries (Canada, Mexico) NOAANOAA Army Corps of EngineersArmy Corps of Engineers National Science FoundationNational Science Foundation Other EPA offices running monitoring operations (Great Lakes, Chesapeake Bay)Other EPA offices running monitoring operations (Great Lakes, Chesapeake Bay)