NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for...

24
NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate Greg Carbone *, Hope Mizzell **, and Ryan Boyles *** * Department of Geography, University of South Carolina ** SC State Climatology Office, SC Department of Natural Resources *** State Climate Office of NC, North Carolina State University Palmetto Chapter of the American Meteorological Society 12 th Annual Mini-Technical Conference, 15 May 2006

Transcript of NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for...

Page 1: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

NOAA Regional Integrated Sciences and Assessments (RISA) Program

Web Application Development for Dynamic Drought Index Mapping

Jinyoung Rhee *, Ph.D. Candidate

Greg Carbone *, Hope Mizzell **, and Ryan Boyles ***

* Department of Geography, University of South Carolina

** SC State Climatology Office, SC Department of Natural Resources

*** State Climate Office of NC, North Carolina State University

Palmetto Chapter of the American Meteorological Society12th Annual Mini-Technical Conference, 15 May 2006

Page 2: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Catawba-Wateree River Basin

Page 3: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Catawba-Wateree River Basin

Source: Duke Power (http://www.dukepower.com/community/lakes/cw/)

Exceptional DroughtExtreme DroughtSevere DroughtModerate DroughtAbnormally Dry

Page 4: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Objective

To provide local scale drought monitoring tool that generates indices in various time scale

Spatial scale (state, climate division, county, drought management area of SC, 2~8-digit HUC water basin)

Time scale (short-term or long-term)

Page 5: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Structure

Drought IndicesDrought IndicesStreamflowStreamflow

PrecipitationPrecipitation

Raw Data andRaw Data andPercentilesPercentiles

Interpolation andInterpolation andSpatial AveragingSpatial Averaging

Numerical Numerical models (Pytmodels (Pyt

hon)hon)

Database Database (MySQL)(MySQL) Graphical User InterfaceGraphical User Interface

ClientClient(JavaScript)(JavaScript)

ServerServer(PHP)(PHP)

SVG embeddedSVG embedded

User InputUser InputMap DisplayMap Display

PHP – PHP: Hypertext PreprocessorSVG – Scalable Vector Graphics

Page 6: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Calculating Percentiles

Total 55 years (1950 ~ 2004)

Palmer indices and SPI: all stations, all months

Streamflow and precipitation: each station, each month

Empirical Cumulative Distribution Function

0

10

20

30

40

50

60

70

80

90

100

-4 -3 -2 -1 0 1 2 3 4

Raw data: - 0.75

Percentile: 22.78

Page 7: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Interpolation (IDW)

6 nearest stations

Search up to 12 nearest stations for data

No data

Next nearest station

4 km X 4 km grids

Page 8: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Spatial Averaging

For each spatial scale (state, climate division, county, drought management area of SC, 2~8-digit HUC water basin)

Page 9: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Scalable Vector Graphics (SVG)

SVG defines vector-based graphics in XML (eXtensible Markup Language) format for the Web

Source: SVG Tutorial (http://www.w3schools.com/svg)

Page 10: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Shapefile to SVG

Conversion of geometries and properties of ArcView Shapefiles into SVG elements using Visual Basic Application module(from www.carto.net, http://pilat.free.fr/, Yahoo SVG developer Group; modified by Drs. Michael Hodgson and Edwin Chow)

Communication between MySQL database and SVG elements using PHP and JavaScript

ShapefileSVG element with an attribute ID=“0”

MySQL

JavaScript filese.g.

blend[SPI][0]=-4.29

PHP

Classify and assign color

Show value when mouseover, etc

DOMConvert

Page 11: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

User Input

Display type Input

PDSI, PHDI, Z Index SPI in several time scal

es Precipitation and strea

mflow in several time scales

Raw data vs. percentile blend

Page 12: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Map User Input

Classification method Equal interval Quantile Natural break U.S. Drought Monitor-c

omparable category For any percentile blen

d For PDSI For SPI For weekly streamflow

percentile

Exceptional DroughtExtreme DroughtSevere DroughtModerate DroughtAbnormally Dry

Page 13: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Map Navigation Tools

Full view New map extent Pan New map center Zoom in & out Zoom slide

(JavaScript source code by Andreas Neumann; modified by Jinyoung Rhee)

Page 14: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Map Layers

Visibility Choropleth map Boundary Stations used

Page 15: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

4 km x 4 km grid

No data

Page 16: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Map Layers

Visibility Choropleth map Boundary Stations used

Page 17: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Layer Aggregation

Selected features of the same layer have been aggregated Aggregation is based on the number of 4 km x 4 km grids with

data used for spatial averaging of each feature

35.835.8

45.1945.19

7.167.16

27.6827.68Click create map again

Page 18: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

GraphCreate Graph

Aggregated Features

Page 19: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

TableCreate Table

Page 20: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Comparison: spatial variabilityMay 1999

50% PDSI and 50% 1-month SPI

Climate Division 8-digit HUC

County

Exceptional DroughtExtreme DroughtSevere DroughtModerate DroughtAbnormally Dry

Page 21: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Comparison: spatial variabilityJuly 2002

50% PDSI and 50% PHDI

Climate Division 8-digit HUC

County

Exceptional DroughtExtreme DroughtSevere DroughtModerate DroughtAbnormally Dry

Page 22: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Comparison: time scale variabilityJanuary 1995 ~ December 2004

1-month SPI 3-month SPI

6-month SPI 12-month SPI

Page 23: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Long term, July 2002Long term, December 1965

Short term, December 1965 Short term, July 2002

Exceptional DroughtExtreme DroughtSevere DroughtModerate DroughtAbnormally Dry

Page 24: NOAA Regional Integrated Sciences and Assessments (RISA) Program Web Application Development for Dynamic Drought Index Mapping Jinyoung Rhee *, Ph.D. Candidate.

Conclusion

Customized functions have been extended gradually through the user feedback procedures: flexibility

Use of open-source software and database: suitability for cost effective and tight budget projects