ah-docs

Accumulate Attributes

Description

Accumulate AttributesAccumulate attributes on a feature class (or table) with HydroID and NextdownID populated for tracing.

Usage

Parameters

Parameter Name Type Direction Data Type Dialog Reference
Input Trace Table Required Input Table View Table with HYDROID and NextdownID populage (for tracing).
Accumulate Parameters Required Input Value Table Value Table with 4 columns: TargetField, SourceField, Statistics, WeightField (for weighted average operation).
  • TargetField - Field to store the accumulate operation results
  • SourceField - Field whose values will be operated on
  • Statistics - Stats Operation, valid values: [Sum, Maximum, Minimum, Count, Average, Medium, Mode, Weighted Average]
  • Load From Configuration File Optional Input Text File File containing the saved value table, example values: XSUM XValue Sum #;XMIN XValue Minimum #;XMAX XValue Maximum #
    Output Configuration File Optional Output Text File File Path to save the Accumulate Parameters of this computation for later use.
    KeyID Field Optional Input Field KeyID field (HYDROID)
    NextID Field Optional Input Field NextID (NextdownID)
    ArcID Field Optional Input Field Optional, default ObjectID, not yet implemented.
    Split Table Optional Input Table View Split Table [FeatureID, NextdownID], when split table is provided, the following stat operations are not allowed: Average, Medium, Mode, Weighted Average. Users can use the (ACCFraction) field in the Trace Table to specify the flow distribution on the downstream splits. Valid AccFraction values 0<0<1. If the ACCFraction field is not populated, AccFraction = 1/n_splits, e.g., when 2 downstream splits exists, each of the downstream split would get 0.5*upstream_accumulated_value.