Hydrologic Terrain Processing Using Parallel Computing

Slides:



Advertisements
Similar presentations
A Workflow Engine with Multi-Level Parallelism Supports Qifeng Huang and Yan Huang School of Computer Science Cardiff University
Advertisements

A NOVEL APPROACH TO SOLVING LARGE-SCALE LINEAR SYSTEMS Ken Habgood, Itamar Arel Department of Electrical Engineering & Computer Science GABRIEL CRAMER.
Extending ArcGIS using programming David Tarboton GIS in Water Resources 22 October 2013.
Standard watershed and stream delineation recipe - Vector stream (ex. NHD data) fusion into DEM raster (burning in) - Sink removal - Flow direction - Flow.
CEE 795 Water Resources Modeling and GIS Learning Objectives: Perform raster based network delineation from digital elevation models Perform raster based.
Multithreaded FPGA Acceleration of DNA Sequence Mapping Edward Fernandez, Walid Najjar, Stefano Lonardi, Jason Villarreal UC Riverside, Department of Computer.
Terrain Analysis Using Digital Elevation Models (TauDEM)
Sorting Chapter Sorting Consider list x 1, x 2, x 3, … x n We seek to arrange the elements of the list in order –Ascending or descending Some O(n.
Celso Ferreira¹, Francisco Olivera², Dean Djokic³ ¹ PH.D. Student, Civil Engineering, Texas A&M University ( ² Associate.
Key Spatial Analysis Concepts from Exercise 3 Contours and Hillshade to visualize topography.
I/O-Algorithms Lars Arge Aarhus University February 16, 2006.
An Introduction to Parallel Computing Dr. David Cronk Innovative Computing Lab University of Tennessee Distribution A: Approved for public release; distribution.
1 Parallel Computing—Introduction to Message Passing Interface (MPI)
Concept Course on Spatial Dr. A.K.M. Saiful Islam Application of GIS in Watershed Analysis Dr. A.K.M. Saiful Islam Institute of Water and Flood.
Some Potential Terrain Analysis Tools for ArcGIS David G. Tarboton
From Elevation Data to Watershed Hierarchies Pankaj K. Agarwal Duke University Supported by ARO W911NF
Flow modeling on grid terrains. DEM Representations TIN Grid Contour lines Sample points.
TerraStream: From Elevation Data to Watershed Hierarchies Thursday, 08 November 2007 Andrew Danner (Swarthmore), T. Moelhave (Aarhus), K. Yi (HKUST), P.
Digital Elevation Model Based Watershed and Stream Network Delineation
A Metadata Based Approach For Supporting Subsetting Queries Over Parallel HDF5 Datasets Vignesh Santhanagopalan Graduate Student Department Of CSE.
COMPUTER SCIENCE &ENGINEERING Compiled code acceleration on FPGAs W. Najjar, B.Buyukkurt, Z.Guo, J. Villareal, J. Cortes, A. Mitra Computer Science & Engineering.
A Simple Drainage Enforcement Procedure for Estimating Catchment Area Using DEM Data David Nagel, John M. Buffington, and Charles Luce U.S. Forest Service,
Digital Elevation Model Based Watershed and Stream Network Delineation Understanding How to use Reading
CMAQ Runtime Performance as Affected by Number of Processors and NFS Writes Patricia A. Bresnahan, a * Ahmed Ibrahim b, Jesse Bash a and David Miller a.
Query Processing. Steps in Query Processing Validate and translate the query –Good syntax. –All referenced relations exist. –Translate the SQL to relational.
Expanding the Functionality of ArcGIS Through Tool Building
Digital Elevation Model Based Watershed and Stream Network Delineation
U.S. Department of the Interior U.S. Geological Survey Processing ArcHydro Datasets with NHDPlus Version 2, Emphasizing StreamStats Data Development Webinar.
Clearing your Desk! Software and Data Services for Collaborative Web Based GIS Analysis David Tarboton, Ray Idaszak, Jeffery Horsburgh, Dan Ames, Jon Goodall,
Terrain Based Flood Inundation mapping
David Tarboton Digital Elevation Models, Flood Inundation Mapping and River Hydraulic Properties David Tarboton
USU, RENCI, BYU, UNC, UVA, CUAHSI, Tufts, Texas, Purdue, Caktus
Extending ArcGIS using programming
Management and Use of LiDAR-Derived Information Elizabeth Cook USDA-NRCS Columbia, MO.
Managing Hydrologic Data, Observations and Terrain Analysis David Tarboton Utah State University.
Extending ArcGIS using programming
USU, RENCI, BYU, UNC, UVA, CUAHSI, Tufts, Texas, Purdue, SDSC
Terrain Analysis Using Digital Elevation Models (TauDEM)
Introduction to Parallel Computing: MPI, OpenMP and Hybrid Programming
Hydrologic Terrain Analysis in ArcGIS
Hydrologic Terrain Processing Using Parallel Computing
Courtesy: Dr. David Walker, Cardiff University
Raster/Map Algebra/Hydrology
Flow field representations for a grid DEM
Extending ArcGIS using programming
Extending ArcGIS using programming
Parallel Programming By J. H. Wang May 2, 2017.
Terrain Analysis for Water Quality Modeling
Steven Ge, Xinmin Tian, and Yen-Kuang Chen
Parallel Algorithm Design
Terrain Analysis Using Digital Elevation Models (TauDEM) in Hydrology
Digital Elevation Model Based Watershed and Stream Network Delineation
Bug in Flow Direction in Ex3 data
Digital Elevation Model Based Watershed and Stream Network Delineation
Digital Elevation Models and Hydrology
Key Spatial Analysis Concepts from Exercise 3
Sorting Chapter 13 Nyhoff, ADTs, Data Structures and Problem Solving with C++, Second Edition, © 2005 Pearson Education, Inc. All rights reserved
Kimberly A. T. Schreuders
Modeling a Spatially Distributed Water Balance Using TOPMODEL
Terrain Analysis Using Digital Elevation Models (TauDEM)
TOPMODEL and the role of topography and variable contributing areas in runoff production Learning objectives Be able to describe the topographic wetness.
Programming Languages
GIS In Water Resources Information on Term Projects
Terrain analysis and the modeling of catchment architecture
CSCE569 Parallel Computing
Channels, Watersheds, Flow Related Terrain Information
Digital Elevation Models and Hydrology
Terrain Analysis Using Digital Elevation Models
Extending ArcGIS using programming
Presentation transcript:

Hydrologic Terrain Processing Using Parallel Computing David Tarboton1, Dan Watson2, Rob Wallace,3 Kim Schreuders1, Teklu Tesfa1 1Utah Water Research Laboratory, Utah State University, Logan, Utah 1Computer Science, Utah State University, Logan, Utah 3US Army Engineer Research and Development Center, Information Technology Lab, Vicksburg, Mississippi This research was funded by the US Army Research and Development Center under contract number W9124Z-08-P-0420

Hydrologic Terrain Analysis Raw DEM Sink Removal Flow Field Flow Related Terrain Information to derive hydrologic information, and inputs to hydrologic models from digital elevation data

The challenge of increasing Digital Elevation Model (DEM) resolution 1980’s DMA 90 m 102 cells/km2 1990’s USGS DEM 30 m 103 cells/km2 2000’s NED 10-30 m 104 cells/km2 2010’s LIDAR ~1 m 106 cells/km2

A parallel version of the TauDEM Software Tools Improved runtime efficiency Capability to run larger problems Platform independence of core functionality

Parallel Approach MPI, distributed memory paradigm Row oriented slices Each process includes one buffer row on either side Each process does not change buffer row

Pit Removal: Planchon Fill Algorithm 1st Pass 2nd Pass Initialization Planchon, O., and F. Darboux (2001), A fast, simple and versatile algorithm to fill the depressions of digital elevation models, Catena(46), 159-176.

Parallel Scheme Communicate Z denotes the original elevation. Initialize( Z,F) Do for all grid cells i if Z(i) > n F(i) ← Z(i) Else F(i) ← n i on stack for next pass endfor Send( topRow, rank-1 ) Send( bottomRow, rank+1 ) Recv( rowBelow, rank+1 ) Recv( rowAbove, rank-1 ) Until F is not modified Z denotes the original elevation. F denotes the pit filled elevation. n denotes lowest neighboring elevation i denotes the cell being evaluated Iterate only over stack of changeable cells

Dual Quad Core Xeon Proc E5405, 2.00GHz Parallel Pit Remove Timing GSL100 (4045 x 7402 = 29.9 x 106 cells  120 MB) Dual Quad Core Xeon Proc E5405, 2.00GHz

Parallel Pit Remove Stack vs Domain Iteration Timing GSL100 (4045 x 7402 = 29.9 x 106 cells  120 MB) it is important to limit iteration to unresolved grid cells Dual Quad Core Xeon Proc E5405, 2.00GHz

Parallel Pit Remove Block vs Cell IO Timing GSL100 (4045 x 7402 = 29 Parallel Pit Remove Block vs Cell IO Timing GSL100 (4045 x 7402 = 29.9 x 106 cells  120 MB) it is important to use block IO Dual Quad Core Xeon Proc E5405, 2.00GHz

Dual Quad Core Xeon Proc E5405, 2.00GHz Parallel Pit Remove Timing NEDB (14849 x 27174 = 4 x 108 cells  1.6 GB) Dual Quad Core Xeon Proc E5405, 2.00GHz

Representation of Flow Field This slide shows how the terrain flow field is represented. Early DEM work used a single flow direction model, D8. In 1997 I published the Dinfinity method that proportions flow from each grid cell among downslope neighbors. This, at the expense of some dispersion, allows a better approximation of flow across surfaces. Tarboton, D. G., (1997), "A New Method for the Determination of Flow Directions and Contributing Areas in Grid Digital Elevation Models," Water Resources Research, 33(2): 309-319.)

Pseudocode for Recursive Flow Accumulation FlowAccumulation(i) for all k neighbors of i if Pki>0 FlowAccumulation(k) next k return Pki Pki Pki i i = FA(i, Pki, k, k) or generalized flow algebra

Used to evaluate Contributing Area

Or extended to more general concepts such as retention limited runoff generation with run-on FlowAlgebra(i) for all k neighbors of i if Pki>0 FlowAlgebra(k) next k return r c qi qk

and decaying accumulation Useful for a tracking contaminant or compound movement subject to decay or attenuation

Parallelization of Contributing Area/Flow Algebra 1. Dependency grid A=1 A=1.5 A=3 D=2 D=1 B=-2 Queue’s empty so exchange border info. B=-1 A=1 A=1.5 A=3 A=5.5 A=2.5 A=6 A=3.5 and so on until completion A=1 A=1.5 A=3 D=0 D=1 resulting in new D=0 cells on queue A=1 D=1 D=0 A=1.5 D=2 B=-1 Decrease cross partition dependency Executed by every process with grid flow field P, grid dependencies D initialized to 0 and an empty queue Q. FindDependencies(P,Q,D) for all i for all k neighbors of i if Pki>0 D(i)=D(i)+1 if D(i)=0 add i to Q next A=1 D=0 D=1 D=2 A=1 D=0 A=3 A=1.5 D=2 D=1 B=-2 A=1 D=0 D=1 D=2 A=1 D=0 D=2 D=1 D=0 D=1 D=3 D=2 2. Flow algebra function Executed by every process with D and Q initialized from FindDependencies. FlowAlgebra(P,Q,D,,) while Q isn’t empty get i from Q i = FA(i, Pki, k, k) for each downslope neighbor n of i if Pin>0 D(n)=D(n)-1 if D(n)=0 add n to Q next n end while swap process buffers and repeat

Dual Quad Core Xeon Proc E5405, 2.00GHz D-infinity Contributing Area Timing GSL100 (4045 x 7402 = 29.9 x 106 cells  120 MB) Dual Quad Core Xeon Proc E5405, 2.00GHz

Dual Quad Core Xeon Proc E5405, 2.00GHz D-infinity Contributing Area Timing Boise River (24856 x 24000 = 5.97 x 108 cells  2.4 GB) Dual Quad Core Xeon Proc E5405, 2.00GHz

Limitations and Dependencies Uses MPICH2 library from Argonne National Laboratory http://www.mcs.anl.gov/research/projects/mpich2/ TIFF (GeoTIFF) 4 GB file size [Capability to use BigTIFF and tiled files under development.] Processor memory

Conclusions Parallelization speeds up processing and partitioned processing reduces size limitations Parallel logic developed for general recursive flow accumulation methodology (flow algebra) New toolbox allows use within model builder Methods and software soon to be available in TauDEM at: http://www.engineering.usu.edu/dtarb