Going Open Source: Migrating EPA’s BASINS to the MapWindow

Download Report

Transcript Going Open Source: Migrating EPA’s BASINS to the MapWindow

BASINS Watershed
Analysis System—
Integrating with MapWindow
Open Source GIS
Eric Rafn
Graduate Research Assistant, Department of Geosciences
Idaho State University – Idaho Falls
Daniel P. Ames, PhD, PE
Assistant Professor, Department of Geosciences
Geotechnologies Academic Program Director
Idaho State University – Idaho Falls
MapWindow GIS ActiveX Control

The core MapWindow
component is a
programming object
(think “MapObjects”)
that can be added to a
form in Visual Basic or
other languages
supporting ActiveX
Rafn and Ames – ISESS Prague 2007
MapWindow GIS Desktop GUI

A Programmable
GIS that supports:
• Visualization
• Data analysis
• Modeling
• Custom GIS
application
development
• Accepts Scripts
and Plug-ins
• Based on
VB.NET and C#
Rafn and Ames – ISESS Prague 2007
Sample MapWindow GIS Plug-ins
•Automatic Watershed Delineation
•Water Quality Analyst
•Streamflow Analyst
•PhotoViewer
•TIN Builder/Viewer
•Grid Wizard
•Model Manager
•BASINS
•SWAT Model
Rafn and Ames – ISESS Prague 2007
www.MapWindow.org
MapWindow.org
-Downloads
-Sample code
-Discussion forum
-Bug system
-Source code
-etc…
Rafn and Ames – ISESS Prague 2007
www.MapWindow.org
MapWindow.org
Forum Languages:
English, Spanish,
Portuguese, Chinese,
Japanese, Dutch.
MapWindow GIS
Languages:
English, Spanish,
Portuguese, Chinese,
French, Italian,
German, Dutch.
Rafn and Ames – ISESS Prague 2007
So, what is BASINS?
Rafn and Ames – ISESS Prague 2007
Rafn and Ames – ISESS Prague 2007
BASINS Datasets
•
•
•
•
•
•
•
•
•
Land use and land cover (shape
•
and grid)
•
Urbanized areas
•
Populated place locations
•
Reach file 1
•
Reach file 3
•
National Hydrographic Data
•
(NHD)
•
Major roads
USGS hydrologic unit boundaries
(accounting and catalog units) •
Courtesy of Tetra Tech Inc.
Drinking water supply sites
Dam sites
EPA region boundaries
State boundaries
County boundaries
DEM (shape and grid)
Ecoregions
NAQWA study unit
boundaries
Managed area database
(Federal and Indian Lands)
Soil (STATSGO)
Rafn and Ames – ISESS Prague 2007
Models in BASINS




PLOAD – export coefficient based lumped model
•
•
Steady state, spatial, fit, deterministic.
“Screening level” model to look for spatial trends in water
quality based on land cover type
SWAT – soil and water assessment tool
•
•
Dynamic, spatio-temporal, process, deterministic.
Agriculture-centered watershed model
HSPF – hydrologic simulation program FORTRAN
•
•
Dynamic, spatio-temporal, process, deterministic.
Primarily hydrologic process model with water quality
components.
Others…
Rafn and Ames – ISESS Prague 2007
Simple Models in BASINS
PLOAD Export Coef. Model
LP = U(LPU * AU)
Where:
LP = Pollutant load, lbs/year;
LPU = Pollutant loading rate for land
use type u, lbs/acre/year; and
AU = Area of land use type u, acres
Rafn and Ames – ISESS Prague 2007
Complex Models in BASINS
B
A
Landuse and pollutant
specific Data
Landscape data
C Meteorological
Data
Point
Sources
GIS
D
Windows interface
Landuse
Distribution
E
Core Model
HSPF
Stream
Data
F
Courtesy of Tetra Tech Inc.
Post Processing
Rafn and Ames – ISESS Prague 2007
Demo…
Rafn and Ames – ISESS Prague 2007
Portneuf River at Pocatello
Hydro Calibration Effort:
uzsn = 0.4
lzsn = 0.25
agwrc = 0.99
infilt = 0.5
Rafn and Ames – ISESS Prague 2007
Demo…
Rafn and Ames – ISESS Prague 2007
Acknowledgements






Dan Ames, Chris Michaelis, Allen Anselmo, Lailin Chen, Ted
Dunsford, Jeyakanthan Veluppillai, Chris Forsgren, Nathan Arave,
Angela Hillier, Nancy Glenn, Richard Inouye – Idaho State
University
David Stevens, David Tarboton, Jeff Horsburgh, Bethany Neilson,
Connely Baldwin, Mac McKee, Thom Hardy – Utah State University
Paul B. Duda, John L. Kittle, Jr., Mark H. Gray, Paul R. Hummel –
Aqua Terra Consultants
Shane Cherry, Randy Lee, Ron Rope, Bob Breckenridge – Idaho
National Laboratory
Russell S. Kinerson, Paul Cocca, David Wells, Marjorie Wellman, Ed
Partington, Lauren MacWilliams – EPA Office of Science and
Technology
Gerry Laniak, Kurt Wolfe – EPA Ecosystems Research Division –
Athens, GA
Rafn and Ames – ISESS Prague 2007
What’s next?