GageWatershed

Title  GageWatershed

Summary

Calculates Gage watersheds grid. Each grid cell is labeled with the identifier (from column id) of the gage to which it drains directly without passing through any other gages.


Usage

Command Prompt Syntax:

mpiexec -n <number of processes> GageWatershed -p <pfile> -gw <gwfile> [ -o <outletfile>] [ -lyrname <layer name>] [ -lyrno <layer number>] [ -id idfile]

pfile: File name for D8 flow direction grid (input)

gw: File name for gage watersheds grid (output)

idfile: File name for text file giving watershed downslope connectivity (output)

outletfile: input outlets file (OGR readable dataset)

layer name: OGR layer name if outlets are not the first layer in outletfile (optional)

layer number: OGR layer number if outlets are not the first layer in outletfile (optional)

Layer name and layer number should not both be specified.


Syntax

GageWatershed (Input_D8_Flow_Direction_Grid, Input_Gages_file, Input_Number_of_Processes, Output_GageWatershed, {Output_Downstream_Identefier})

Parameter Explanation Data Type
Input_D8_Flow_Direction_Grid Dialog Reference

A grid of D8 flow directions which are defined, for each cell, as the direction of the one of its eight adjacent or diagonal neighbors with the steepest downward slope.

Raster Layer
Input_Gages_file Dialog Reference

A point feature defining the gages to which watersheds will be delineated. This feature should have a colmun 'id'. Grid cells draining directly to each point in this feature will be labeled with this id.

Feature Layer
Input_Number_of_Processes Dialog Reference

The number of stripes that the domain will be divided into and the number of MPI parallel processes that will be spawned to evaluate each of the stripes.

Long
Output_GageWatershed Dialog Reference

This output grid identifies each gage watershed. Each grid cell is labeled with the identifier (from column id) of the gage to which it drains directly without passing through any other gages.

Raster Dataset
Output_Downstream_Identefier (Optional) Dialog Reference

Text file giving watershed downslope connectivity

File

Code Samples

Tags

Credits

Use limitations