Difference between revisions of "Example SQL for Stations"

From Earth Science Information Partners (ESIP)
Line 5: Line 5:
 
== AIRNOW  ==
 
== AIRNOW  ==
  
[http://airnow.gov/ AIRNOW] is an EPA site. ----------- is this the site URL??
+
[http://airnow.gov/ AIRNOW]  
  
PM 2.5, PM 10 and ozone data can be downloaded from [http://www.epa.gov/airnow/2011/ yearly folders] in text form.
+
Daily PM 2.5, PM 10 and Ozone data can be downloaded from date encoded folders:
 +
 
 +
http://www.epa.gov/airnow/2011/20110705/
  
 
== The Design of the SQL Database ==
 
== The Design of the SQL Database ==

Revision as of 07:25, July 8, 2011

Back to WCS Access to netCDF Files

A Real life example how to serve station timeseries point data through WCS data access protocol.

AIRNOW

AIRNOW

Daily PM 2.5, PM 10 and Ozone data can be downloaded from date encoded folders:

http://www.epa.gov/airnow/2011/20110705/

The Design of the SQL Database

Location table

Parameter tables

Fact - Data Table

Data Views in SQL

the importance of views, flexibility of SQL, snapshot views

creating data views

calculating statistics to filter the location table

Configuring the WCS Service and WFS Service for point data

WFS for locations

WCS for data

using python dictionaries ??