1 / 25

Integrating a Web Map Service into the THREDDS Data Server

Integrating a Web Map Service into the THREDDS Data Server. Jon Blower, University of Reading, UK Pauline Mak, University of Tasmania, Australia Ethan Davis, John Caron, Unidata. Motivation. THREDDS is a very popular system for sharing environmental data Catalogue Data access via OPeNDAP

sloan
Download Presentation

Integrating a Web Map Service into the THREDDS Data Server

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Integrating a Web Map Service into the THREDDS Data Server Jon Blower, University of Reading, UK Pauline Mak, University of Tasmania, Australia Ethan Davis, John Caron, Unidata

  2. Motivation • THREDDS is a very popular system for sharing environmental data • Catalogue • Data access via OPeNDAP • However, client-side tools are required for visualization • Not easy to use by people outside “our” community • Web Map Service provides quick route to visualization • Produces georeferenced images • Images can be overlain to compare data • Very suitable for Web-GIS (low barrier to entry to users) • Use of WMS mandated in Europe by INSPIRE directive • THREDDS already used by data providers • WMS for NetCDF data already exists (http://ncwms.sf.net) • Both TDS and ncWMS are Java-based • Hence we aim to integrate ncWMS with TDS

  3. Web Map Service: a closer look • GetCapabilities -> metadata • GetMap -> map image, based on client-selected parameters, inc: • Image width/height • Image coordinate reference system • Geographic bounding box • Depth/height and time • Style • GetFeatureInfo -> information about a particular map pixel • Format not standardized • Specification supports 4D data • (Although tools often do not)

  4. NASA World Wind Cadcorp SIS Google Earth WMS Interoperability 3rd-party clients can’t use the custom WMS extensions

  5. Why ncWMS? • Based on same technology as TDS • Esp. Java NetCDF libraries • Significant effort put into fast image generation • Extensions to WMS to support scientific use cases • But fully backward-compatible with WMS specification

  6. Scientific visualization using (nc)WMS

  7. Notable features of ncWMS • Fast generation of images • Ability to read CF-NetCDF on variety of grids • inc. arbitrary grids and Murray tripolar • Reproject images into large number of coordinate systems • E.g. polar stereographic • Configuration via administrative web interface

  8. Non-standard features • Piecemeal metadata-serving in JSON format • avoids large XML Capabilities document • Extra metadata for science data • e.g. units of measurement • New parameters in GetMap for styling: • Choose colour palette • Set contrast range • Linear or logarithmic scaling • Far simpler than Styled Layer Descriptor • Generation of timeseries plots via GetFeatureInfo • … but fully backward-compatible with WMS1.1.1 and 1.3.0

  9. Godiva2: a web client for ncWMS • Interactively explore 4D geospatial raster datasets on the web • ~40 datasets • Research data, operational forecasts, satellite products • Backed by ncWMS server • OGC Website of the Month, January 2008 http://www.reading.ac.uk/godiva2

  10. Selection of depth Select from all the depth levels of the model

  11. Selection of time (range) Select from all the timesteps in the model Selection of a time range leads to an animation

  12. Finding the data value at a point Click on the data layer, data value and precise position is shown Lon: -64.08 Lat: 36.21 Value: 19.27

  13. Timeseries plots If a time range is selected, can create a timeseries plot at a point

  14. Vector plots

  15. Selection of colour palette

  16. Contrast-stretching • Manual or automatic

  17. Polar projections

  18. Choice of background images

  19. Export to Google Earth • Allows visualization of multiple data sources • Hurricane Katrina, August 2005 • Storm track positions (analysed from ECMWF vorticity data) by Lizzie Froude, ESSC • Sea surface temperature data from UK Met Office FOAM model • Combination shows cooling of surface waters on right-hand side of cyclonic storm track • High winds cause upwelling of cool, deep water

  20. Who’s using ncWMS/Godiva2? • 100,000 GetMap requests served in 3 months • From 5 continents • Customized versions of Godiva2 site set up for MERSEA and ECOOP projects • Major EU framework projects – INSPIRE compliance important! • Will be used in MyOcean • UK National Centre for Ocean Forecasting • Server software installed by: • Plymouth Marine Labs • AIMS, Australia • NOAA, US • USGS • Code contributions from: • MeteoGalicia, Spain • TPAC, Tasmania • AIMS, Australia

  21. Case study:European operational oceanography

  22. Current architecture as used inMERSEA and ECOOP projects NetCDF NetCDF NetCDF Data Provider 1 Data Provider 2 Data Provider 3 OPeNDAP (THREDDS) OPeNDAP (THREDDS) OPeNDAP (THREDDS) WMS Data providers already use TDS and OPeNDAP Requires minimal setup Single point of failure Relies on fast, reliable OPeNDAP servers Dynamic Quick View Web portal (rebranded Godiva2)

  23. THREDDS THREDDS THREDDS WMS WMS WMS OPeNDAP OPeNDAP OPeNDAP WCS? WCS? WCS? Improved architecture:Anticipated MyOcean deployment NetCDF NetCDF NetCDF WMS bundled with THREDDS Data providers install single piece of software

  24. Technical challenges • Merging Spring-based code (ncWMS) with servlet-based code (TDS) • Spring is fairly non-intrusive so not too hard to decouple • TDS moving toward Spring architecture • Spring cleanly separates internal logic from presentation • Merging catalogue and configuration systems • TDS system is more scalable • Changes to underlying Java-NetCDF libraries • Upgrade from version 2.2 to version 4 • Aligning all of this with THREDDS-WCS • Single point of configuration for WMS and WCS metadata

  25. Conclusions • First prototype of TDS-WMS now developed • To do: • Testing (inc. scalability) • Tidying-up and refactoring • Integration of logging and usage monitoring • Integration of administrative web pages • Anticipated immediate use in major European project MyOcean • (By the way - version 4.0 of Java NetCDF libs appear significantly faster than version 2.2!)

More Related