OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology....

22
Improving Life through Science and Technology. OpenSWAT Development of an Open Source GIS Interface and Analysis Tools for the Soil and Water Assessment Tool August 5, 2009 Jeyakanthan Veluppillai Sr. Software Applications Developer [email protected] j.veluppillai.googlepages.com

Transcript of OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology....

Page 1: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

Improving Life through Science and Technology.

OpenSWATDevelopment of an Open Source GIS

Interface and Analysis Tools for the Soil and Water Assessment Tool

August 5, 2009

Jeyakanthan VeluppillaiSr. Software Applications [email protected]

Page 2: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

Introduction• The Soil and Water Assessment Tool (SWAT) is a physically-based

watershed and landscape simulation process model developed by the USDA-ARS and particularly suited to non-point source pollutant analysis.

• ArcSWAT was developed at Texas A&M to fulfill the GIS needs of SWAT, which uses ArcGIS as a base GIS platform *By Dr. Srinivasan Raghavan et al.

• OpenSWAT is a similar software tool but uses an open source GIS platform – MapWindow GIS developed by ISU and USU

• The next major update of BASINS will include OpenSWAT as one of its major modeling components

2 of 22

Page 3: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

Why OpenSWAT• An open source software tool focused on a broad spectrum of

US and international water resource personnel

• Interoperability with EPA’s BASINS and Texas A&M’s SWAT Editor

• As open source software tool, can be customized according to user needs

• Developed using well established software development tools – Windows compliant ie., Vista, XP

3 of 22

Page 4: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

Potential developers / users• Most of the development has been conducted at Idaho State

University’s Geospatial Software Laboratory, but it will be continued by the Open Source community

• Many functional /developmental requirements were obtained from Texas A&M

• Numerous GUI development tips and feedbacks were gathered from AQUA TERRA Consultants.

• The majority of the local/international hydrologists, watershed managers, decision makers and academics may use this product

4 of 22

Page 5: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

OpenSWAT - A big picture

BASINS.exe

OpenSWAT.dll

SWATEditor.exe

5 of 22

Page 6: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

Major Components• Project Definition• Watershed Delineation• LU/Soil/Slope Reclassification• Sub basin/LU/Soil/Slope Overlay• HRU Definition• Weather Data input• Write the output into Microsoft Access output

database

6 of 22

Page 7: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

Use Case Diagram

Primarily consists of actors and

use cases. Use Case Diagrams

help to capture the functional

requirement of any system. This

diagram useful to start a project

7 of 22

Page 8: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

Sequence Diagram

Sequence diagrams depict the

order of invocations in the system

as well as the creation of the

different objects.

8 of 22

Page 9: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

Component Diagram

Primarily consists of major system components and their relationships. This is meant to be a high-level

overview diagram of any complicated system. This diagram is mandatory for every Object Oriented

Software Development projects.

9 of 22

Page 10: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

Deployment Diagram

Primarily consists of deployment elements, such as servers, and their relationships.

This is a logical topography of a system.

10 of 22

Page 11: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

Virtual Tour of OpenSWAT

11 of 22

Page 12: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

Project Setup

Write input tables

Watershed Delineation

SWAT EditorReclassifyProject

12 of 22

Page 13: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

Watershed Delineation

13 of 22

Page 14: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

LU/Soil/Slope Reclassification

14 of 22

Page 15: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

HRU Definition

15 of 22

Page 16: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

Weather Data Definition

16 of 22

Page 17: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

Writing Output Tables

17 of 22

Page 18: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

Call SWAT Editor

18 of 22

Page 19: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

SWAT Editor Functionalities

19 of 22

Page 20: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

View Output

20 of 22

Page 21: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

• MWSWAT Vs. OpenSWAT

• BASINS & OpenSWAT

• Shape file/ Grid Compatibility of OpenSWAT

• Other Questions ???

21 of 22

Page 22: OpenSWAT - SWAT | Soil & Water Assessment Tool · Improving Life through Science and Technology. OpenSWAT. Development of an Open Source GIS Interface and Analysis Tools for the Soil

http://svn.mapwindow.org/svnroot/MapWindow4Plugins/OpenSWAT

22 of 22