1 / 12

COWS

CEDA OGC Web Services Framework. COWS. Stephen Pascoe. COWS Motivation. Develop lightweight OGC services Don't attempt to implement the specifications in full Enable integration with custom web applications Build upon a fully-featured web framework Layered design

ali-gentry
Download Presentation

COWS

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. CEDA OGC Web Services Framework COWS Stephen Pascoe

  2. COWS Motivation • Develop lightweight OGC services • Don't attempt to implement the specifications in full • Enable integration with custom web applications • Build upon a fully-featured web framework • Layered design • Support multiple OGC services in one stack

  3. COWS Architecture Apache + mod_wsgi, FastCGI, Python HTTPD • Built on Pylons web-appliction framework • Python Eggs – Automatic download/install of components • WSGI – A protocol for deploying Python web-apps to production HTTP servers HTTP Server WSGI Middleware Paste WSGI Pylons COWS Web Application E.g. Authentication WMS WCS W*S Data Model Library Standard Interface Application-specific Code

  4. COWS Package Structure • cows: top level package • cows.model • Implements toe OWS-common data model • cows.service • Provides service interfaces and implementations • cows.pylons • OGC service controllers and XML templates • OGC parameter and exception handling • due for reorganisation • cows.pylons.project_templates • pre-canned application template(s)‏

  5. WSGI Middleware • Example middleware chain: AuthenticationFilter HTTP Request AnotherFilter CowsApplication HTTP Response • Add security to a COWS Application by adding security middleware • Python Paste package enables inclusion of middleware via a config file – no change to COWS code required: [pipeline:CowsApplication] pipeline = AuthenticationFilter AnotherFilter CowsApplication

  6. Development workflow • Install COWS • Create web-application from template • Customise • Test • Package • Deploy

  7. Example Applications

  8. IPCC Data Distribution Centre

  9. NDG Discovery Portal http://www.ipcc-data.org/maps

  10. NERC Portals Project • 2 Different Station datasets • Integrate with CSML • Pylons Application plots CSML Features • 2 visualisation interfaces • KML references plot service • COWS WMS provides in-browser support.

  11. DEFRA UKCP Portal • Highly Dimensional Dataset • Time Period • Emission Scenario • Percentile (CDF)‏ • Meaning Period • UKMO UM Rotated Grid but we need to plot it on GoogleMaps (Transverse Mercator)‏ • Custom WMS operation to serve Grid-box values as JSON

  12. COWS Future • Clean-up and publicised release for NDG3 • cows-0.3 on the way • WFS being developed as part of the C-SEKT project • WPS developed for UKCP portal. Will be included in COWS in the future (post v0.3)‏

More Related