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>]

Parameters:

  • pfile: File name for D8 flow direction grid (input)
  • gwfile: File name for gage watersheds grid (output)
  • idfile: File name for text file giving watershed downslope connectivity (output)(optional)
  • 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)

Note: 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.

There is no python reference for this parameter.

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

There is no python reference for this parameter.

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.

There is no python reference for this parameter.

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.

There is no python reference for this parameter.

Raster Dataset
Output_Downstream_Identefier (Optional) Dialog Reference
Text file giving watershed downslope connectivity

There is no python reference for this parameter.

File

Code Samples

There are no code samples for this tool.

Tags

There are no tags for this item.

Credits

There are no credits for this item.

Use limitations

There are no use limitations for this item.