accessing and using fire-related data with the capita datafed.net* services framework stefan falke...

13
Accessing and Using Fire-Related Data with the CAPITA DataFed.net* Services Framework Stefan Falke Rudolf Husar Kari Hoijarvi Washington University in St. Louis Center for Air Pollution Impact and Trend Analysis (CAPITA) *http://www.datafed.net

Upload: avice-fox

Post on 05-Jan-2016

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Accessing and Using Fire-Related Data with the CAPITA DataFed.net* Services Framework Stefan Falke Rudolf Husar Kari Hoijarvi Washington University in

Accessing and Using Fire-Related Data withthe CAPITA DataFed.net* Services Framework

Stefan Falke

Rudolf Husar

Kari Hoijarvi

Washington University in St. Louis

Center for Air Pollution Impact and Trend Analysis (CAPITA)

*http://www.datafed.net

Page 2: Accessing and Using Fire-Related Data with the CAPITA DataFed.net* Services Framework Stefan Falke Rudolf Husar Kari Hoijarvi Washington University in

Demonstration Project

Objectives: To demonstrate the utility of new information technologies in creating an integrated network of distributed data and tools for fire, smoke, and air quality management.

Dynamically link multiple existing data without requiring substantial modification on the data provider’s end but also making the connections to distributed data transparent to the end user.

“Add value” to the linked data through the application of data analysis and processing tools

Tasks:1) Identify and acquire access to relevant data sources2) Register data in the CAPITA data catalog3) Use the CAPITA DataFeds.net framework to build web service “chains”

for accessing and manipulating data4) Build web page “applications” that provide a user interface to the web

services

Page 3: Accessing and Using Fire-Related Data with the CAPITA DataFed.net* Services Framework Stefan Falke Rudolf Husar Kari Hoijarvi Washington University in

Distributed Data Components and Flow

GeospatialOne-Stop

FireData

Catalog

FS Coarse Spatial Data

NEI Fire Emissions

BLM Fire History

Wildland Fire Assessment System

HMS Fire Detection

GIS Interfaces

Spatial InterpolationVIEWS

Export Table

CAPITA

Data Wrappers

ftp

text tables

RDBMS LocalData

Export GridData Sources

Page 4: Accessing and Using Fire-Related Data with the CAPITA DataFed.net* Services Framework Stefan Falke Rudolf Husar Kari Hoijarvi Washington University in

Catalog of Air Quality Related Data

Metadata for each dataset are registered in a catalog allowing users to browse available datasets and determine which datasets to use for their particular application.

The catalog entries includes data access instructions.

http://capita.wustl.edu/dvoy_2.0.0/dvoy_services/datafed.aspx?select data domain: aerosols, emissions, fire …

The example in this Powerpoint uses the WFAS dataset listed under the Fire domain.

Page 5: Accessing and Using Fire-Related Data with the CAPITA DataFed.net* Services Framework Stefan Falke Rudolf Husar Kari Hoijarvi Washington University in

Data Catalog Entries in XML

Selecting ‘Edit’ loads the XML format of the registered data set

If you are interested in viewing the XML structure, please avoid the save or delete buttons as this is area is still under development and is without the necessary security

Page 6: Accessing and Using Fire-Related Data with the CAPITA DataFed.net* Services Framework Stefan Falke Rudolf Husar Kari Hoijarvi Washington University in

http://capita.wustl.edu/dvoy_2.0.0/dvoy_services/datafed.aspx?app=browser&dataset_abbr=WFAS

Web services available for this data set

Parameters available from this data set

View that allows browsing a dataset over time for each of its parameters

Page 7: Accessing and Using Fire-Related Data with the CAPITA DataFed.net* Services Framework Stefan Falke Rudolf Husar Kari Hoijarvi Washington University in

Web Service Description

Selecting the ‘MapPointAccessRender’ service button in the previous slide loads the page shown here.

The settings for the web service are listed.

Buttons are available to view its• SOAP messages,• Web Service Description Language (WSDL)• Image Output

Page 8: Accessing and Using Fire-Related Data with the CAPITA DataFed.net* Services Framework Stefan Falke Rudolf Husar Kari Hoijarvi Washington University in

Modular Applications for Working with Data

Fire data is multi-dimensional (space, time, emissions, fuel type, etc.).Its multidimensionality requires multiple “views” of the data in many different end-use applications.

Data views are created, including maps, time series, and tables. Each view is independently linked to its data sources and described (i.e. geographic and temporal extents) using XML. Using the data access instructions registered in the catalog, a view can be dynamically assembled using the DataFed.net web services.

The modular views can be embedded and controlled in web pages using Javascript, ASP or other web application programming languages.

Page 9: Accessing and Using Fire-Related Data with the CAPITA DataFed.net* Services Framework Stefan Falke Rudolf Husar Kari Hoijarvi Washington University in

Daily Fire Weather data from the WFAS (http://www.fs.fed.us/land/wfas) is dynamically accessed in this map view that is embedded in an HTML page.

Javascript is used to control the map settings (parameter, date, and interpolation).

When the settings change, a URL is generated and sent to the Voyager services engine on the CAPITA server where the map is updated and sent to the client’s web browser.

Example Web Services Application

http://capita.wustl.edu/VoyServices/WebServices/WFASDemo.htm

Page 10: Accessing and Using Fire-Related Data with the CAPITA DataFed.net* Services Framework Stefan Falke Rudolf Husar Kari Hoijarvi Washington University in

Web Service Flow and Composition

MapPointAccess

DataCatalog

DataSource

MapPointRender

1

2

MapGridRender

5

MapImageOverlay

Get WFAS data for a specified date and parameter

MapImageAccess MapImageRender

WFAS

CAPITA

3 4

6

Calculate and create image of an interpolated grid using specified settings

Create an image of a point map using specified settings

Get map of US state borders

Create an image of the US state borders

Merge multiple maps into a single image

Wra

pp

er

Page 11: Accessing and Using Fire-Related Data with the CAPITA DataFed.net* Services Framework Stefan Falke Rudolf Husar Kari Hoijarvi Washington University in

http://capita.wustl.edu/dvoy_2.0.0/dvoy_services/cgi.wsfl?lat_min=24&lat_max=50&lon_min=-125&lon_max=-66.5&image_format=image/png&image_width=400&image_height=250&bgcolor=rgb(255,255,255)&ws=flow/MapPointAccessRender.wsfl&dataset_abbr=WFAS&param_abbr=tmp&datetime=2002-05-08&pen_width=0.5&pen_style=solid&pen_color=black&brush_style=solid&brush_color=black&symbol_scale_min=20&symbol_scale_max=90&symbol_shape=circle&symbol_num_of_sides=4&symbol_baseline=true&symbol_sqrt=true&symbol_width=2&symbol_height=2&symbol_proportional=false&symbol_offset_x=0&symbol_offset_y=0&ws=flow/MapImageAccessRender.wsfl&dataset_abbr=MapImage&param_abbr=USMapS&ws=MapImageOverlay.asmx&BottomLayer=!pop&TopLayer=!pop&visibility=1&ws=flow/MapPointAccessGridRender.wsfl&dataset_abbr=WFAS&sql_filter=&param_abbr=tmp&datetime=2002-05-08&radius=800&min_sites=1&max_sites=10&inv_dist_exponent=2&declustering_opts=none&numcols=40&numrows=20&pen_width=0&pen_style=solid&pen_color=black&brush_style=solid&brush_color=rainbow&draw_lines=false&mask=us.geomask&num_levels=6&scale_min=20&scale_max=90&ws=MapImageOverlay.asmx&BottomLayer=!pop&TopLayer=!pop&visibility=1

URL with a Web Services Program

1

2

Numbers refer toweb services listed in previous slide

1

5

&

&

3 4

6

6

&

call to CAPITA server

set map’s position on earth

set map’s size on web browser

get WFAS temperature data on May 8, 2002 and set their rendering properties, including shape, scale, color …

get US map

interpolate WFAS point temperature data with the specified interpolation settings

overlay WFAS/US map on top of interpolated WFAS grid

overlay WFAS data on top of US map

If you were to copy and paste this URL into your web browser, you would get an image of interpolated temperature readings on May 8, 2002 from the WFAS fire weather monitoring network.

Page 12: Accessing and Using Fire-Related Data with the CAPITA DataFed.net* Services Framework Stefan Falke Rudolf Husar Kari Hoijarvi Washington University in

Embedded Images and Controllers in Web Page

Parameter Controller

Date Controller

Interpolation Controller

The controllers and map image can be linked and laid out in an HTML web page. Changing the settings of a controller changes the URL of the map image and updates the web page.

The web page can be constructed using standard web application programming languages, such as JavaScript and ASP.

http://capita.wustl.edu/VoyServices/WebServices/WFASDemo.htm

Page 13: Accessing and Using Fire-Related Data with the CAPITA DataFed.net* Services Framework Stefan Falke Rudolf Husar Kari Hoijarvi Washington University in

Other Example Applications

Aerosol Analysts Consolehttp://capita.wustl.edu/VoyServices/WebServices/aaconsole.html

Map & Time Series Browserhttp://capita.wustl.edu/voyservices/WebServices/ASOS_STI_Grid.html