Using python client libraries to access remote servers via Web Coverage Services Dominic Lowe, BADC Ben Domenico, Unidata/UCAR* and the GALEON Team * Work.

Slides:



Advertisements
Similar presentations
WCS Data Exchange at the DataFed Server/Client Center for Air Pollution Impact and Trend Analysis (CAPITA) Washington University, St. Louis, MO OGC TC.
Advertisements

1 NASA CEOP Status & Demo CEOS WGISS-25 Sanya, China February 27, 2008 Yonsook Enloe.
EURO4M Project Kick-Off, April 2010 OGC Web Services Data visualization using OGC web services Maarten Plieger Wim Som de Cerff Royal Netherlands Meteorological.
The Next Generation Network Enabled Weather (NNEW) SWIM Application Asia/Pacific AMHS/SWIM Workshop Chaing Mai, Thailand March 5-7, 2012 Tom McParland,
The Model Output Interoperability Experiment in the Gulf of Maine: A Success Story Made Possible By CF, NcML, NetCDF-Java and THREDDS Rich Signell (USGS,
1 OGC Web Services Kai Lin San Diego Supercomputer Center
Integrating NOAA’s Unified Access Framework in GEOSS: Making Earth Observation data easier to access and use Matt Austin NOAA Technology Planning and Integration.
Europe’s Information Society eContentplus OrléansWP6 1st Coordination and progress meeting Technical information OGC WMS – WFS – CSW.
Implementation of a Data Node in China's Spatial Information Grid Based on NWGISS Dengrong Zhang, Le Yu, Liping Di Institute of Spatial.
Crossing the Digital Divide
NCAR GIS Program : Bridging Gaps
Dynamic Quick View, interoperability and the future Jon Blower, Keith Haines, Chunlei Liu, Alastair Gemmell Environmental Systems Science Centre University.
Unidata Outreach Activities focusing on Evolving Standards for Delivering Atmospheric Data into the GIS Realm (mainly OGC GALEON) Ben Domenico, Unidata.
Context for Semantic Interoperability: GALEON, OPeNDAP, WCS, etc Ben Domenico with material borrowed from GALEON team For OOSSI Workshop November 2008,
Development of a Community Hydrologic Information System Jeffery S. Horsburgh Utah State University David G. Tarboton Utah State University.
Discovering Earth Science Tools, Software, and Models through the CEOS IDN Tyler Stevens IDN GIS/Services Coordinator
U.S. Department of the Interior U.S. Geological Survey U.S. National Water Census “Cyber – Platform” Update Progress and challenges to overcome in realizing.
Storm Tracker – a Web-Based Tool for Working with the Automated Tracking of Thunderstorm Clusters Bob Rabin NOAA / NSSL / CIMSS Tom Whittaker Space Science.
Unidata TDS Workshop THREDDS Data Server Overview October 2014.
Introduction Downloading and sifting through large volumes of data stored in differing formats can be a time-consuming and sometimes frustrating process.
Delivery of Forecasted Atmospheric Ozone and Dust for a Public Health Decision-Support System-Architecture and Functionality William B. Hudspeth, Jeff.
AIRNow-International The future of the United States real-time air quality reporting and forecasting program and GEOSS participation John E. White U.S.
Interoperability ERRA System.
Crossing the Digital Divide Presented by: Fernando R. Salas David Maidment, Enrico Boldrini, Stefano Nativi, Ben Domenico OGC Technical Meeting – Met/Occean.
Bringing it All Together: NODC’s Geoportal Server as an Integration Tool for Interoperable Data Services Kenneth S. Casey, Ph.D. YuanJie Li NOAA National.
© Crown copyright Met Office WCSplus Making the Web Coverage Service work for the Fluid Earth Sciences Community Bruce Wright (Senior IT Architect), 7.
Unidata’s TDS Workshop TDS Overview – Part II October 2012.
Unidata TDS Workshop TDS Overview – Part I XX-XX October 2014.
Mapping between SOS standard specifications and INSPIRE legislation. Relationship between SOS and D2.9 Matthes Rieke, Dr. Albert Remke (m.rieke,
Data Scrounging 101 Steve Signell, Instructor Robert Poirier, TA School of Science Rensselaer Polytechnic Institute Monday,
12.3 Using Open GIS web services to serve environmental data 21rst IIPS: Session 12 GIS Applications 12.3 Using Open GIS web services to serve environmental.
Mid-Course Review: NetCDF in the Current Proposal Period Russ Rew
WCS Data Exchange at the DataFed Server/Client Center for Air Pollution Impact and Trend Analysis (CAPITA) Washington University, St. Louis, MO OGC TC.
Enhancements to a Community Toolset for Ocean Model Data Interoperability: Unstructured grids, NCTOOLBOX, and Distributed Search Rich Signell (USGS), Woods.
Tools in Support of a National DMAC Derrick Snowden NERACOOS/ODP Annual Meeting 26 Sep 2012.
Development of Dynamic SLD and Understanding WCS Using Geo-server Supervisor Prof N.L Sarda Dept. of Computer Science & Engg. IIT-Bombay Bharti M.Tech.
DELIVERING ENVIRONMENTAL WEB SERVICES (DEWS) Partners: UK Met Office (Lead Partner), British Atmospheric Data Centre (BADC), British Maritime Technology.
Accomplishments and Remaining Challenges: THREDDS Data Server and Common Data Model Ethan Davis Unidata Policy Committee Meeting May 2011.
1 Global Systems Division (GSD) Earth System Research Laboratory (ESRL) NextGen Weather Data Cube Chris MacDermaid October, 2010.
1PeopleDocumentsData Catalog Generation Tools Analysis and Visualization Tools Data Services Discovery and Publication Tools Discovery and Publication.
1 International Standards for Data Interoperability GALEON Geo-interface for Air, Environment, Land, Ocean NetCDF Ben Domenico Unidata Program Center*
Integrated Grid workflow for mesoscale weather modeling and visualization Zhizhin, M., A. Polyakov, D. Medvedev, A. Poyda, S. Berezin Space Research Institute.
NODC ↔ Data Consumers Steve Rutz NOAA/NESDIS National Oceanographic Data Center NODC Observing Systems Team Leader June 21, 2011.
EarthCube Building Block for Integrating Discrete and Continuous Data (DisConBB) David Maidment, University of Texas at Austin (Lead PI) Alva Couch, Tufts.
Unidata TDS Workshop THREDDS Data Server Overview
1 NASA CEOP Status & Demo CEOS WGISS-24 Oberpfaffenhofen, Germany October 15, 2007 Yonsook Enloe.
TPAC Tasmanian Partnership for Advanced Computing Partner in APAC (Australian Partnership for Advanced Computing) Expertise centre for Earth Systems Science.
IOOS Data Services with the THREDDS Data Server Rich Signell USGS, Woods Hole IOOS DMAC Workshop Silver Spring Sep 10, 2013 Rich Signell USGS, Woods Hole.
Air Quality Data Services: Application of OGC specifications Air Quality Data: Multi-dimensional, multi-source, multi-format Point observations are collected.
THREDDS Catalogs Ethan Davis UCAR/Unidata NASA ESDSWG Standards Process Group meeting, 17 July 2007.
Unidata’s TDS Workshop TDS Overview – Part I July 2011.
GEON2 and OpenEarth Framework (OEF) Bradley Wallet School of Geology and Geophysics, University of Oklahoma
1 NASA CEOP Final Summary CEOS WGISS-26 Boulder, Colorado September 23, 2008 Yonsook Enloe
1 MESSAGE EXCHANGE FOR Web Service-Based Mapping Services AHMET SAYAR INDIANA UNIVERSITY COMMUNITY GRIDS LAB. COMPUTER SCIENCE DEPARTMENT August 17, 2005.
Ed Armstrong – PI Luca Cinquini Chris Mattmann NASA Jet Propulsion Laboratory Frank O’Brien Zach Siegrist System Science Applications, Inc. 18 July 2012.
Interoperability = Leverage + Collaboration  Chris Lynnes  GES DISC.
Research & Development Building a science foundation for sound environmental decisions Remote Sensing Information Gateway (RSIG)
Grids and Beyond: netCDF-CF and ISO/OGC Features and Coverages Ethan Davis, John Caron, Ben Domenico UCAR/Unidata AMS IIPS, 23 January 2008.
Glossary WMS – OGC Web Mapping Services WFS – OGC Web Feature Services XML- Extensible Markup Language OGC – Open GIS Consortium ADN –
Convergence And Trust in Earth and Space Science Data Systems Ted Habermann, NOAA National Geophysical Data Center Documentation: It’s not just discovery...
Semantic Web underpinnings of the IRI Data Library Semantic Web as a Framework for Multiple Metadata IRI Data Library: presenting Data in multiple frameworks.
ORNL DAAC SPATIAL DATA ACCESS TOOL Open Geospatial Consortium (OGC) Services Bruce E. Wilson Suresh K. Santhana Vannan Yaxing Wei Tammy W. Beaty National.
ESIP Air Quality Jan Air Quality Cluster Air Quality Cluster Technology Track Earth Science Information Partners Partners NASA NOAA EPA (?) USGS.
OGC Web Services with complex data Stephen Pascoe How OGC Web Services relate to GML Application Schema.
1 2.5 DISTRIBUTED DATA INTEGRATION WTF-CEOP (WGISS Test Facility for CEOP) May 2007 Yonsook Enloe (NASA/SGT) Chris Lynnes (NASA)
NetCDF: Data Model, Programming Interfaces, Conventions and Format Adapted from Presentations by Russ Rew Unidata Program Center University Corporation.
Interoperability Day Introduction Standards-based Web Services Interfaces to Existing Atmospheric/Oceanographic Data Systems Ben Domenico Unidata Program.
Update on Unidata Technologies for Data Access Russ Rew
The Next Generation Network Enabled Weather (NNEW) SWIM Application
WGISS Connected Data Assets Oct 24, 2018 Yonsook Enloe
Presentation transcript:

Using python client libraries to access remote servers via Web Coverage Services Dominic Lowe, BADC Ben Domenico, Unidata/UCAR* and the GALEON Team * Work partially supported by US NSF Atmospheric Science Division

Working Together on A Mosaic for Atmospheric Data Ostia Antica circa 7 BC This presentation describes and draws on the work* of many collaborating individuals and institutions * Unidata’s contribution supported by the U.S. National Science Foundation

Acronym Glossary GALEON (Geo-interface for Air, Land, Environment, Oceans NetCDF) FES (Fluid Earth Systems, mainly the data systems of the atmospheric and ocean sciences) ations/acronyms/glossary.htmlhttp:// ations/acronyms/glossary.html

Outline GALEON Background OWSLib – OGC Web Services Library Simple Exercises for WCS Using OWSLib Clients Participating Institutions and Servers Future Directions References

Reconciling Disparate Data Models: Different Ways of Thinking about Data To the GIS (solid earth and societal impacts) community, the world is: features –A collection of static features (e.g., roads, lakes, plots of land) with geographic footprints on the Earth (surface). features discrete objects database. –The features are discrete objects with attributes which can be stored and manipulated conveniently in a database. To the fluids (atmosphere and oceans) communities, the world is: parameters continuous functions –A set of parameters (e.g., pressure, temperature, wind speed) which vary as continuous functions in 3-dimensional space and time. parameters equations. –The behavior of the parameters in space and time is governed by a set of equations. –Data are simply discrete points in the mathematical function space.

Taking Advantage of Web Services for Data System Interoperability GIS Client Applications FES Client Applications OpenGIS Protocols: WMS, WFS, WCS, CSW OGC or proprietary GIS protocols OGC or THREDDS, OPeNDAP, ADDE. FTP… protocols GIS Server GIS Servers Hydrologic, demographic, infrastructure, societal impacts, … datasets THREDDS Server FES Servers Satellite, radar, forecast model output, … datasets

Traditional GIS view Attributes in DBMS tables Features as points, lines, polygons

Typical NetCDF Visualization

OGC GALEON Phase 1: –Many successful experiments with WCS 1.0 –Gridded data Phase 2: –WCS 1.1 (and later) plus CS-W for catalogs –Non-gridded data collections via other Services (WFS, SOS) –Dearth of client implementations slows progress OGC Network Rather than Interoperability Experiment

Apply GIS Tools To Atmospheric Science Data

OWSLib – OGC Web Service utility library is a lightweight package for working with OGC map, feature, and coverage services using Python provides a common API for accessing service metadata and wrappers for GetCapabilities, GetMap, GetCoverage and GetFeature requests facilitates implementation of simple WCS clients as python scripts

OWSLib – Design Goals Instantiate an OGC web service proxy (ala xmlrpclib) Make a GetCapabilities request and marshal the response into a Python structure that models OWS Common metadata Proxy GetMap/GetFeature/GetCoverage/Get* requests to the service with Pythonic wrappers for those operations Note that OWS common is an initiative to separate out common elements of OGC web services -- likely important as GALEON attempts to serve non-gridded data

OWSLib History Originally developed by Sean Gillies as part of the Python Cartographic Library. Version 0.2 contained support for accessing WMS version and WFS servers. Version 0.3 developed by Sean Gillies & Dominic Lowe introduced support for WCS versions and Version 0.3 also introduced a harmonized OWS Common-like API to service metadata that is common across WCS, WMS and WFS. This API is a 'pythonic' interpretation of OWS-Common which provides easy access to the OWS-common metadata.

OWSLib Design Decisions Lightweight Easy to use Modelled on OWS-common but not verbatim; “pythonic beats pedantic as long as significant meaning is not lost” Use python idioms: e.g. convenient dictionary like access to coverage metadata: wcs['temperature'] Harmonize metadata between services where not harmonized (and where possible) in line with intentions of OWS common.

Rudimentary WCS Exercises via OWSLib Python Scripts Use getCapabilities for list of coverages Extract name of first coverage in list If multiple times are available, use the initial time Use getCoverage to request first coverage Use defaults wherever possible Focus on whether protocol works Worry about “correctness” of the returned coverages later

WCS Sites US Pacific Fisheries Environmental Lab US Unidata THREDDS Data Server US USGS Coast Environmental US NCDC NOMADS Netherlands KNMI Geoservices Netherlands ARGOSS UK BADC US NSIDC US George Mason U. Italy U. of Florence CNR US NNEW Weather.aero

General Results 3 servers returned a coverage on the first try 2 required minor changes to the default parameter list The rest required interactions between Dominic, Ben, and the WCS site administrator 2 cases of missing required parameters 2 cases uncovered bugs in python client library which were subsequently fixed All cases working in the end

Future Enhancements Include more servers in the exercise Augment exercise in the direction of a true test Retrieve representative coverages Retrieve representative times Use bounding box other than default Examine returned coverage Track evolution of WCS specification

Initial WCS Server URLs ' /1day', version='1.0.0' ' US_40km/conduit/NCEP-NAM-CONUS_40km-conduit_best.ncd', version='1.0.0' ' version='1.0.0' ' / /narrmon-a_221_ _0000_000.grb' As noted in the list given above, some servers can be made to work with alterations to the default parameter list, e.g.: –' version='1.0.0' –' version='1.0.0'

More Inforamtion OWSLib wiki: Subversion Repository: svn co Python Cheeseshop: GALEON Wiki page: GALEON%20WCS%20"Tests" GALEON%20WCS%20"Tests"