National Weather Service United States Department of Commerce

threshr.accumbasicparams
Name: threshr.accumbasicparams

Description: Determine the cumulative area for each
subbasin, create a coverage of subbasin centroids, and compute
attributes that the depend on the cumulative Polygon Shapes
or cumulative Line Shapes.

Inputs: Subbasin Feature Attribute Table: shdftab
         Maximum area threshold: maxareaval
         Longest flow path FTAB: lfpftab (only required if
                 usgsslope or lcentroid = true)
         Dem Grid: demgrid
         Booleans:
             usgsslope-- true if channel slope will be calculated
                         using the USGS method
             lcentroid-- true if length to centroid will be computed
             regions-- true if region percentages should be calculate

Outputs: cumulative basin centroid shapefile
          adds ARM attribute to shdftab (area mi2)
          adds CHSL0 (channel slope -- max - min elev) (ft/mi)
          adds CHLN attribute
History: SMR, Last Modified 1/2000
Subprograms or Dialogs Called:

 threshr.usgsslope
threshr.snaplinpnt
Number of lines: 523

threshr.addfields
Name: threshr.addfields
Headline:
Self:
Returns:
Description: Adding fields fields required for
pre-processing to river and watershed shapefiles.
Script not required if C++ program IdUpStream is available
Topics:
Search Keys:
Requires:
History: 07/08/1999 modified version of Yes hydro.DEMPstMdfld
Modified. 3/1/97, 7/23/97 Length field, various code formats (DDJ)
Subprograms or Dialogs Called:
Number of lines: 87

threshr.analysisarea2
Name: threshr.analysisarea2

Description: Define analysis extent based on
selected polygons.  Returns a merged Polygon Shape.

Inputs: Basin Theme (bastheme) for which
pointers are passed through the SELF object.

Outputs:  Returns merged shape of analysis area

History:  Created 3/22/99 by Seann Reed
Subprograms or Dialogs Called:
Number of lines: 82


threshr.analysispolygon
Name: threshr.analysispolygon

Description: Create an analysis polygon Theme.  Essentially a merging
program.

Inputs: Prompts the user to identify a reference basin Theme.

Outputs:  Creates a polygon theme of the analysis area.

History:  Created 4/11/99 by Seann Reed
Subprograms or Dialogs Called:

 threshr.analysisarea2
Number of lines: 57

threshr.backupfile
Name: threshr.BackupFile
Headline:
Self: {ATheme}
Returns: nil
Description: Backup a shp file.
Topics:
Search Keys:
Requires:
History: 3/38/97, ESRI
Modified: 4/19/99 by SMR
Subprograms or Dialogs Called:
Number of lines: 27

threshr.basicparams
Name: threshr.basicparams

Description: Compute baic parameters that require having
the actual DEM cell level grids including:

Required inputs
   watershed vector coverage
   watershed grid
   stream grid (1s and 0s) or stream order grid
   downstream flow length grid
   flow direction grid

Creates an INFO data table containing the following fields
   gridcode
   watershed max,min, and mean flow length
   watershed max,min,and mean elevation
   watershed max,min, and mean slope
   max flowlength along the longest flowpath in headwaters
   Creates a longest flowpath shapefile if this option is specified
Dependencies: threshr.tonodetorec, threshr.getthms,threshr.accumbasicparams
 

History:  Created Dec. 16 by Seann M. Reed
Subprograms or Dialogs Called:

 threshr.tonodetorec
threshr.getthms
threshr.accumbasicparams
Number of lines: 422

threshr.blank
Subprograms or Dialogs Called:
Number of lines: 0

threshr.calculatefeaturegeometry
Name:  threshr.calculatefeaturegeometry

Description: Slightly modified version of View.CalculateFeatureGeometry
that allows this script to be called from another script.
The required input FTAB is passed through the SELF object.
--------
Name:  View.CalculateFeatureGeometry

Title:  Calculates feature geometry values

Topics:  GeoData

Description:  Calculates area and perimeter for polygon themes and length
for line themes. If the View has been projected the calculations are in
projected meters. Otherwise the calculations are in native map units.
Modify the script to provide calculation in the current report units of
the View. The script processes the list of active themes to calculate
area and perimeter, or length, depending on the theme type.

The script will add the fields: Area and Perimeter to polygon themes, Length
to line themes if they do not exist. If the fields exist their values will
be recalculated. Rerun the script if you change the projection of the view.

Requires:  A View with at least one active theme.  You must have write access
to the active theme(s).

Self:

Returns:
Subprograms or Dialogs Called:
Number of lines: 142


threshr.calculatefeaturegeometrysub
Name:  threshr.calculatefeaturegeometrysub

Description: Slightly modified version of View.CalculateFeatureGeometry
that allows this script to be called from another script.
The required input FTAB is passed through the SELF object.
--------
Name:  View.CalculateFeatureGeometry

Title:  Calculates feature geometry values

Topics:  GeoData

Description:  Calculates area and perimeter for polygon themes and length
for line themes. If the View has been projected the calculations are in
projected meters. Otherwise the calculations are in native map units.
Modify the script to provide calculation in the current report units of
the View. The script processes the list of active themes to calculate
area and perimeter, or length, depending on the theme type.

The script will add the fields: Area and Perimeter to polygon themes, Length
to line themes if they do not exist. If the fields exist their values will
be recalculated. Rerun the script if you change the projection of the view.

Requires:  A View with at least one active theme.  You must have write access
to the active theme(s).

Self:

Returns:
----------
Subprograms or Dialogs Called:
Number of lines: 141


threshr.canunload
Subprograms or Dialogs Called:
Number of lines: 0

threshr.chk_zones.click
Subprograms or Dialogs Called:
Number of lines: 5

threshr.clipgrid
Name: threshr.clipgrid
Headline:
Self:
Returns:
Description: This program clip a grid Theme
based on selected polygons in a polygon
coverage.

Topics:
Search Keys:
Requires:
History: Modified from hydro.ExtByPly
Subprograms or Dialogs Called:
Number of lines: 73


threshr.clippoly
Name:  swbp.clippoly

Title:  Clips one theme using another polygon theme

Topics:  GeoData

Description:  Clips one theme by a selected polygon theme, returning
a new shapfile with the clipped features and their attributes.
Clips to the extent of selected polygons in the clipping Theme.
If no polygons are selected, then the extent of all polygons is used.

Requires:  Should have a update script to enable only if 2 + themes
are in the view and only if at least one is a polygon theme.
If there is a field called "clipped" in one of the input coverages,
this information is not transferred to the corresponding output coverage.

Self:

Returns:

History: Modified from a script called View.ClipThemeonTheme downloaded
from the ESRI home page.
Subprograms or Dialogs Called:
Number of lines: 245


threshr.createviewobjecttag
Name:  threshr.createviewobjecttag

Description: Create a dictionary to store input
information.  This dictionary is assigned to the
View object tag.

History: Last modified 11/24/1999 by SMR
Subprograms or Dialogs Called:
Number of lines: 54


threshr.DemPstChkOut
Name: threshr.DemPstChkOut
Headline:
Self: Tool
Returns:
Description: Identify outlet and head sections
Topics:
Search Keys:
Requires:
History: 07/08/1999 slightly modified from Yes hydro.DemPstChkOut
Modified. 3/5/97, 7/25/97 - all items, UI (DDJ)
Subprograms or Dialogs Called:
Number of lines: 95

threshr.dempstmgset1
Name: threshr.DemPstMgSet1
Headline:
Self:
Returns:
Description: This program:
(1) creates a list showing the polygons
   merging sequence that will be used by the program
   threshr.selectupstream to define a list of polygons and
   the record numbers of all upstream polygons for each
Output: Creates an ASCII file with the name .ord;
"ord" stands for order
Dependencies:
History: Create by Zicuan Ye, 11/25/96; Last modified Oct. 7, 1999 by Seann Reed
Subprograms or Dialogs Called:
Number of lines: 253

threshr.dissolve
Name: threshr.dissolve

Description: Eliminate dangling polygons.

History:

Subprograms or Dialogs Called:

 threshr.calculatefeaturegeometrysub
Number of lines: 39

threshr.dlg.close
Description: Generic label button close script (one line)
Subprograms or Dialogs Called:
Number of lines: 3

threshr.dlg_connect.lbt_calc.click
Name: dlg_connect.lbt_calc.click

Description: Determine basin connectivity

Outputs: (1) Adds fields to subbasin and stream shapefiles.
(2) Identifies heads and outlets
(3) Creates .ord (polygon routing or mergine order) and .ups
(list of upstream records) ASCII files.

  Dependencies:
    (threshr.addfields, threshr.dempstchkout, threshr.dempstmgset1)
     or idupstream,threshr.selectupstream
  History: Last modified Nov 24, 1999 by SMR
Subprograms or Dialogs Called:

 threshr.addfields
threshr.DemPstChkOut
threshr.DemPstMgSet1
threshr.writefromtoinfo
threshr.selectupstream
Number of lines: 393

threshr.dlg_connect.lbt_close.click
Subprograms or Dialogs Called:
Number of lines: 13

threshr.dlg_disagg.lbt_calc.click
Name: dlg_disagg.lbt_calc.click

Description: Create subsets of shapefiles from a selected zonal
shape theme to speed up processing in future steps.
Outputs:  One subbasin and one streamline file for each zone.
filenames are the same as the base files with a "z" and the zone
number appended before the ".shp"

History:
Subprograms or Dialogs Called:
Number of lines: 102


threshr.dlg_disagg.lbt_close.click
Subprograms or Dialogs Called:
Number of lines: 17

threshr.dlg_interp.lbt_calc.click
Name: dlg_interp.lbt_calc.click

Description: (1) Associate ThreshR values with HRAP points in subwatersheds
where ThreshR has been calculated, (2) Interpolate a grid of ThreshR values
from these points to fill empty areas, (3) Associate threshR values with
HRAP points using the interpolated grid.

Outputs: Interpolated HRAP grid. ThreshR attribute field added to the
hrappts.shp file.

Dependencies:
 

History: Created July 30, 1999 by Seann Reed, Last Modified Sept. 17, 1999
Subprograms or Dialogs Called:

 threshr.setworkdir
Number of lines: 188

threshr.dlg_peakflow.lbt_calc.click
Name: dlg_peakflow.lbt_calc.click

Description: Wrapper program for peakflow
regression calculations program (threshr.peakflows).
If zonal calculations are being made, threshr.peakflows
is called for each zone.

Dependencies: threshr.peakflows
History:
Subprograms or Dialogs Called:

 threshr.peakflows_state
Number of lines: 110

threshr.dlg_peakflow.lbt_close.click
Subprograms or Dialogs Called:
Number of lines: 11

threshr.dlg_prepro.lbt_fa.click
Name: dlg_prepro.lbt_fa.click
Headline:
Self:
Returns:
Description: Compute flowdirection grid.
SubPrograms:
Topics:
Search Keys:
Requires:
History: Created on 4/31/99
Subprograms or Dialogs Called:
Number of lines: 48

threshr.dlg_prepro.lbt_fd.click
Name: dlg_prepro.lbt_fd.click
Headline:
Self:
Returns:
Description: Compute flowdirection grid.
SubPrograms:
Topics:
Search Keys:
Requires:
History: Created on 4/31/99
Subprograms or Dialogs Called:
Number of lines: 79

threshr.dlg_prepro.lbt_fl.click
Name: dlg_prepro.lbt_fl.click
Headline:
Self:
Returns:
Description: Compute upstream and downstream
flowlength grids.
SubPrograms:
Topics:
Search Keys:
Requires:
History: Created on 5/12/99
Subprograms or Dialogs Called:
Number of lines: 75

threshr.dlg_refpoint.chk_snap.click
Subprograms or Dialogs Called:
Number of lines: 5

threshr.dlg_refpoint.lbt_close.click
Subprograms or Dialogs Called:
Number of lines: 13

threshr.dlg_refpoint.lbt_delin.click
Name: dlg_pntfile.lbt_delin.click
Headline:
Self:
Returns:
Description:  Delineate watersheds  based on
an outlet point file.  Right now, outlets are
snapped to the maximum flowaccumulation cell nearby
but only with a maximum snapping distance equal to
1/2 of a cell diagonal length. future modifications
might include snapping to a vector line first using Yes
subprograms.
SubPrograms:
Topics:
Search Keys:
Requires:
History:
Subprograms or Dialogs Called:
 threshr.pntsdelineate
hydro.dempstdslv
Number of lines: 155

threshr.dlg_shdpar.lbt_calc.click
Name: dlg_shdpar.lbt_calc.click
Description:  Wrapper for the watershed parameters program.
(threshr.shdparameters_eff).
Dependencies: threshr.shdparameters_eff
History:
Subprograms or Dialogs Called:
 threshr.shdparameters_eff
threshr.basicparams
threshr.qxparams
threshr.getthms
Number of lines: 298

threshr.dlg_shdpar.lbt_close.click
Subprograms or Dialogs Called:
Number of lines: 37

threshr.dlg_singlepoint2.chk_fast.click
Subprograms or Dialogs Called:
Number of lines: 9

threshr.dlg_singlepoint2.chk_snap.click
Subprograms or Dialogs Called:
Number of lines: 6

threshr.dlg_snyd.lbt_close.click
Subprograms or Dialogs Called:
Number of lines: 15

threshr.dlg_subbas.chk_maxarea.click
Subprograms or Dialogs Called:
Number of lines: 5

threshr.dlg_subbas.chk_selbas.click
Subprograms or Dialogs Called:
Number of lines: 5

threshr.dlg_subbas.lbt_calc.click_opt
Name: dlg_subbas.lbt_calc.click_opt

Description: Define a stream network based on a user specified
area threshold.  Define unique subbasins for each link in the
stream network.

Outputs: Gridded subbasins
          Vector subbasins
            note: uses "Summarize" request to dissolve dangling polygons
                  and calculates feature geometry
          Vector streams
          Point coverage of outlets

Dependencies:
          threshr.calculatefeaturegeometrysub

History: Created May 6, 1999 by Seann Reed
Subprograms or Dialogs Called:

 threshr.calculatefeaturegeometrysub
Number of lines: 218

threshr.dlg_subbas.lbt_close.click
Subprograms or Dialogs Called:
Number of lines: 13

threshr.dlg_threshr.calculate.click
Name: dlg_threshr.calculate.click

Description: Divide one selected field by another.

Outputs: New numeric field (5.2). User is prompted for
the name of this field.
 

History: Created September 24, 1999
Subprograms or Dialogs Called:
Number of lines: 57


threshr.dlg_threshr.cbx_shdc.select
Subprograms or Dialogs Called:
Number of lines: 7

threshr.dlg_ug.chk_fromfile.click
Subprograms or Dialogs Called:
Number of lines: 6

threshr.dlg_ug.lbt_calc.click
Name: dlg_ug.lbt_calc.click

Description: Wrapper program for choosing
unit hydrograph method and duration
and computing the threshold runoff.

Requires:
History:
Subprograms or Dialogs Called:

 threshr.ug
Number of lines: 92

threshr.dlg_ug.lbt_close.click
Subprograms or Dialogs Called:
Number of lines: 9

threshr.exporttrtoffg
  Program: threshr.exporttrtoffg

  Description: Export the threshold runoff to flash flood guidance

Subprograms or Dialogs Called:

 threshr.setworkdir
Number of lines: 95

threshr.fliparcs
Name: threshr.fliparcs

Description:  Flips all arcs in a polyline theme.  Creates
a new PolyLine shapefile with all arcs flipped.  User is
prompted for the name of the output file.  Copies
all attribute fields from the old polyline
to the new polyline theme with the exception of the
first six fields -this is designed specifically for
NOHRSC RF1 files.

Inputs: Polyline theme.

Outputs: Polyline theme with flipped arcs.

History: Created by Seann Reed on 4/25/99
Subprograms or Dialogs Called:
Number of lines: 120


threshr.getthms
Name: hydro.GetThms
Self: {TheView,ThmAct,ThmType,ShpType}
  ThmAct=True, for active thms, False, all thms.
  ThmType=[FTheme,GTheme,DbTheme]
  ShpType=[Poly,Line,Point,Mpoint]
Returns: A list of Themes of the specified type.
Description: Subprogram that Gets a list of themes of specified type.
Topics:
Search Keys:
Requires:
History: 4/1/97
Subprograms or Dialogs Called:
Number of lines: 67

threshr.GrfAddLine
Name: hydro.GrfAddLine
Self: {TheView,ShapeV}->nil
Returns: a graphic line called Gline
Description: Add a graphic line to TheView
Topics:
Search Keys:
Requires:
History: 3/30/97 ESRI
Subprograms or Dialogs Called:
Number of lines: 22

threshr.gridavg
----------------------------------------------------
Name: threshr.gridavg

Description:  Given an arbitrary
polygon coverage, compute the average values for
gridcells falling within each polygon, add a field
to the polygon coverage, and copy the average values
into this field.

History: Created by Seann Reed 2/8/98; modified for threshr on 12/14/1999
----------------------------------------------------
Subprograms or Dialogs Called:
Number of lines: 40


threshr.gstreamtovstream
Name: threshr.gstreamtovstream
Headline:
Self: Menu
Returns:
Description:
Topics:
Search Keys:
Requires:
History: 7/19/97
Subprograms or Dialogs Called:
Number of lines: 43

threshr.install
Name: threshr.install

Description:  Install the Threshold runoff Extension.

History: Created by Seann Reed on 2/8/98.  Modified
Oct. 31, 1998. Modified 3/30/99.
Subprograms or Dialogs Called:
Number of lines: 39


threshr.latlon
Name: threshr.latlon

Description: Report the latitude and longitude of a point clicked with
the mouse.  Program assumes data sets are in the conUS Albers
  projection.  Capability to read projection information directly
from data files should be added at a later time.

History:  Created March 8, 1999 by Seann Reed
Subprograms or Dialogs Called:
Number of lines: 32


threshr.lfpchsl
Name: threshr.lfpchsl

Description: Determine the longest flowpath channel
slope in each headwater, the local and global
maximum flowlength in each headwater and create the longest
flowpath shapefile (if desired).

Requires: Called from threshr.shdparameters_recnum
Output: Populates the fields:

History:  Created July 20 by Seann M. Reed, Modified Oct. 11
Subprograms or Dialogs Called:
Number of lines: 201


threshr.loadinputdata
Name:  threshr.loadinputdata

Description:  (1)Load Themes and Tables required for threshold runoff
calculations.
(2) Prompt the user for the input data directory and
set the View object tag "Data Dictionary" equal to the data directory
string so that other programs will know this location.

History: Created 9/27/1999 by Seann Reed at HRL
Subprograms or Dialogs Called:

 threshr.createviewobjecttag
Number of lines: 179

threshr.make
Name: threshr.make

Description:  Make the ThreshR extension.

History: Created by Seann Reed on 2/8/98.  Modified
Oct. 31, 1998. Modified 3/30/99.
Subprograms or Dialogs Called:

 dlg_peakflow") thedialog.setserver(nil) thedialog.findbyname("cbx_qx").empty theavx.add(thedialo
dlg_peakflow
dlg_threshr
dlg_ug
Number of lines: 120

threshr.mergepolygons
Name: threshr.mergepolygons

Description: Merge polygons with a common attribute.

History:

Subprograms or Dialogs Called:

 threshr.calculatefeaturegeometrysub
Number of lines: 58

threshr.mergereacharcs
Name: threshr.mergereacharcs

Description: Merge reaches composed of multiple arcs.

Inputs:  A river theme with the "mergeid" attribute.

Outputs: A river theme with merged arcs.

History:  Last modified 11/2/99
Subprograms or Dialogs Called:

 threshr.getthms
Number of lines: 44

threshr.mergeupstream2
Name: threshr.mergeupstream
Description:  Associated with a Tool.  Click on a basin,
merge all polygons upstream of that basin, create a new basin
theme, a center point theme and also a single arc theme for that
basin.
History: Created by Seann Reed, Oct. 8, 1999
Last modified: Dec. 6, 1999
Subprograms or Dialogs Called:
 threshr.getthms
Number of lines: 135

threshr.peakflows_state
Name: threshr.peakflows_state

Description: Compute USGS peak flow values for all subbasins.

Inputs:
    (1) Coverage of subbasins with pre-computed
parameter values.
    (2) Coverage of subbasin centroids.
    (3) User specified return period.
    (4) Regression equation lookup table. (regequat.txt)

Output:  New field with compute peakflow (Qx) value.

Comments:  Qx values will only be computed for locations
in which the appropriate input parameter information is available.

History: Created on May 6, 1999 by Seann Reed
Subprograms or Dialogs Called:
Number of lines: 248


threshr.pntsdelineate
Name: threshr.pntsdelineate
Headline:
Self:
Returns:
Description: The program delineates multiple watersheds based
on outlet points in a shapefile.
Dependencies:
History: Last modified on April 20, 1999
Subprograms or Dialogs Called:
 threshr.analysisarea2
Number of lines: 114

threshr.pointintersect
Name: threshr.pointintersect

Description:  Intersects a polygon theme and a line
theme to create a point theme.

Inputs: One polygon theme and one line theme.

Outputs:  One point file

History: Created by Seann Reed on 4/11/99
Subprograms or Dialogs Called:
Number of lines: 178


threshr.polyavg
Name: threshr.polyavg

Description:  Given an arbitrary
polygon coverage, compute a representative values for
these polygons based on a field in another coverage.
Use an area weighted average for continuous values
or predominant type for categorical parameters.

History: Created by Seann Reed 2/8/98; modified for ThreshR 7/14/1999
Subprograms or Dialogs Called:
Number of lines: 76


threshr.problempoints3
Name: threshr.problempoints3

Description: Identify potential problem areas.  Where river
cells from distinct river segments come too close together.

Inputs: A river theme.

Outputs: River theme gets modified

History: Created by Seann Reed on 4/25/99
Subprograms or Dialogs Called:
Number of lines: 175


threshr.qxparams
Name: threshr.qxparams

Description: For each subbasin, calculate all parameters
necessary for the USGS peakflow regression equations for the state containing
the centroid of the selected basin

Dependencies:  threshr.setworkdir,
                  threshr.readparcode,
                  threshr.snaplinpt,
                  threshr.lfpchsl,
                  threshr.gridavg,
                  threshr.polyavg
Subprograms or Dialogs Called:

 threshr.readparcode1
threshr.gridavg
threshr.polyavg
Number of lines: 354

threshr.raindroptool
Name: threshr.raindroptool
Description:  Use the flow direction grid to trace the
path a "rain drop" would follow to the nearest NODATA cell.
History: 12/28/96 by ESRI, 1/11/2000 by SMR
Subprograms or Dialogs Called:
 hydro.GrfAddLine
Number of lines: 41

threshr.readparcode1
threshr.readparcode1

Description:  Read the parameter code input file and
(1) Add fields to the outlet point coverage as necessary.
(2) Return a dictionary that contains a list of parameter
     codes, the measurement type, and the source file

Called from threshr.shdparameters. SELF is outftab.
Subprograms or Dialogs Called:
Number of lines: 63


threshr.readunithg
Name: threshr.readunithg
Headline:
Self:
Returns:
Description: Read unit hydrograph ordinates from a file,
compute Snyder parameters and write them to an appropriate
polygon Theme (if desired).

Topics:
Search Keys:
Requires:
History:

Subprograms or Dialogs Called:
Number of lines: 139


threshr.removeviewobjecttag
Name:  threshr.removeviewobjecttag

Description: Remove view object tag

History: Created 12/22/1999 by SMR
Subprograms or Dialogs Called:
Number of lines: 11


threshr.rundlg_connect
Name:  threshr.rundlg_connect

Description: Initialize and open dlg_connect dialog

Dependencies: threshr.createviewobjecttag
History: Last modified 11/24/1999 by SMR
Subprograms or Dialogs Called:

 dlg_connect
threshr.createviewobjecttag
Number of lines: 35

threshr.rundlg_disagg
Name:  threshr.rundlg_disagg

Description: Initialize and open dlg_disagg

Dependencies: threshr.createviewobjecttag
History: Last modified 11/24/1999 by SMR
Subprograms or Dialogs Called:

 dlg_disagg
threshr.createviewobjecttag
Number of lines: 32

threshr.rundlg_peakflow
Name:  threshr.rundlg_peakflow

Description: Initialize and open dlg_peakflow dialog

Dependencies: threshr.createviewobjecttag
History: Last modified 11/29/1999 by SMR
Subprograms or Dialogs Called:

 dlg_peakflow
threshr.createviewobjecttag
Number of lines: 35

threshr.rundlg_prepro
Subprograms or Dialogs Called:
 dlg_prepro
dlg_subdel
Number of lines: 8

threshr.rundlg_refpoint
Subprograms or Dialogs Called:
 dlg_refpoint
threshr.createviewobjecttag
Number of lines: 33

threshr.rundlg_shdpar
Name:  threshr.rundlg_shdpar

Description: Initialize and open dlg_shdpar dialog

Dependencies: threshr.createviewobjecttag
History: Last modified 11/29/1999 by SMR
Subprograms or Dialogs Called:

 dlg_shdpar
threshr.createviewobjecttag
Number of lines: 84

threshr.rundlg_singlepoint
Subprograms or Dialogs Called:
 dlg_singlepoint
threshr.createviewobjecttag
Number of lines: 16

threshr.rundlg_singlepoint2
Subprograms or Dialogs Called:
 dlg_singlepoint2
threshr.createviewobjecttag
Number of lines: 20

threshr.rundlg_snyd
Subprograms or Dialogs Called:
 dlg_snyd
threshr.createviewobjecttag
Number of lines: 35

threshr.rundlg_subbas
Name:  threshr.rundlg_subbas

Description: Initialize and load the subbasin dialog.

Dependencies: threshr.createviewobjecttag
History: Last modified 11/24/1999 by SMR
Subprograms or Dialogs Called:

 dlg_subbas
threshr.createviewobjecttag
Number of lines: 37

threshr.rundlg_threshr
Name:  threshr.rundlg_threshr

Description: Initialize and open dlg_threshr dialog

History: Last modified 11/24/1999 by SMR
Subprograms or Dialogs Called:

 dlg_threshr
Number of lines: 22

threshr.rundlg_ug
Name:  threshr.rundlg_ug

Description: Initialize and open threshr.rundlg_ug dialog

Dependencies: threshr.createviewobjecttag
History: Last modified 11/29/1999 by SMR
Subprograms or Dialogs Called:

 dlg_ug
threshr.createviewobjecttag
Number of lines: 39

threshr.run_interp
Subprograms or Dialogs Called:
 dlg_interp
threshr.createviewobjecttag
Number of lines: 24

threshr.selectupstream
Name: threshr.selectupstream
Description: Read subbasin order from "shdname.ord" and create
a list of polygon record numbers and the record numbers of the
polygons that are upstream.
Input(s): ASCII file .ord
Output(s): ASCII file .ups
Dependencies:
History: Last modified Oct. 7, 1999 by Seann Reed
Subprograms or Dialogs Called:
Number of lines: 101

threshr.selmultarcreach
Name: threshr.selmultarcreach

Description:  Given a river theme, label reaches composed
of multiple arcs by adding an attribute containing an integer
code unique to each group of records that comprise multi-arc reaches.

Inputs:  A river theme.

Outputs:  River theme with selected arcs.

History:  Last modified 11/2/99
Subprograms or Dialogs Called:

 threshr.getthms
Number of lines: 103

threshr.singlepointdelin
Name: threshr.singlepointdelin
Headline:
Self:
Returns:
Description:  Delineate a watershed based on a
mouse click by the user.
History:
Subprograms or Dialogs Called:
 dlg_singlepoint
threshr.calculatefeaturegeometrysub
Number of lines: 93

threshr.singlepointdelin3
Name: threshr.singlepointdelin2
Headline:
Self: TOOL/TOOL_Menu
Returns:
Description: Delineate area draining to a point
  selected with the mouse.
Inputs: flowdirection (required)
         stream grid (optional)
         polygon coverage (optional)
Dependencies:
hydro.snapthmpnt,hydro.grfaddpoly,hydro.wshdelineate,hydro.setsymbl
History: Modified version of hydro.pntdelineate

Subprograms or Dialogs Called:

 dlg_singlepoint2
Number of lines: 180

threshr.SnapLinPnt
Name: threshr.SnapLinPnt
Headline:
Self: {PntShpV,LineShpV}
Returns:
Description: Snap points to a line shape.
Topics:
Search Keys:
Requires:
History: Original script by Zichuan Ye: hydro.SnapLinPnt 97/1/2
Subprograms or Dialogs Called:
Number of lines: 120

threshr.snyderparams
Name: threshr.snyderparams
Headline:
Self:
Returns:
Description: Read unit hydrograph ordinates from a file,
compute Snyder parameters and write them to an appropriate
polygon Theme (if desired).  The watershed of interest is
identified using a mouse click.

Topics:
Search Keys:
Requires:  Program should be the apply script for a tool which
is embedded in a dialog.
History:

Subprograms or Dialogs Called:

 threshr.snaplinpnt
threshr.readunithg
Number of lines: 299

threshr.tonodetorec
Name: threshr.tonoedtorec
Description: Create a field that contains the "to" record in the shdftab
attribute table given that the to_node and from_node fields exist in
a stream line theme that can be joined to the shdftaba.
These fields can be created using the StreamtoPolyLineFTab request.
History: Created Nov. 22, 1999 by SM
Subprograms or Dialogs Called:
Number of lines: 60

threshr.ug
Name: threshr.ug

Description: Compute unit hydrograph peak flow.

Inputs:
    (0) Coverage of subbasins with pre-computed
parameter values.
    (1) Largest watershed size to be considered.
    (2) Unit-graph method
    (3) Unit-graph duration
    (4) Name of theme containing parameter values
Output:

Comments:

History: Created on May 10, 1999 by Seann Reed
Subprograms or Dialogs Called:

 threshr.getthms
Number of lines: 195

threshr.uninstall
Name: threshr.uninstall

Description:  Uninstall the Threshold runoff extension.

History: Created by Seann Reed on 2/8/98. Modified
October 31,1998. Modified on March 30, 1999.
Subprograms or Dialogs Called:
Number of lines: 33


threshr.unload
Subprograms or Dialogs Called:
Number of lines: 0

threshr.usgsslope
Name: threshr.usgsslope

Description:
Dependencies:
Subprograms or Dialogs Called:
Number of lines: 22


threshr.writefromtoinfo
Name: threshr.writefromtoinfo

Description: Determine basin connectivity

Outputs: Write an ASCII file containing rec_num,grid_code,to_node,and from_node
  History: Last modified Nov 24, 1999 by SMR
Subprograms or Dialogs Called:
Number of lines: 31


DIALOGS

dlg_subbas
tr graphic
Calculate
Close

dlg_connect

tr graphic
Calculate
Close

dlg_shdpar
tr graphic
Calculate
Close
 

dlg_peakflow
tr graphic
Calculate
Close

dlg_ug
tr graphic
Calculate
Close

dlg_threshr

tr graphic
Select Subbasin Theme
Calculate
Close

dlg_interp
tr graphic
Calculate
Close
 
 
 
 
 

Main Link Categories:
Home | OHD | NWS