ReachAverage(Distances, Observations, Location, Reach_Scale, Average_Type)
Returns the average (smoothed) value of the observation at the specified location.
Input:       Distances = Horizontal distances the headwater along the channel (numbers)                   Observations = Observed values at each horizontal location (numbers)                  Location = Horizontal distance along the channel at which the average is calculated (number)                  
Reach_Scale = Average value is calculated from the value, at the specified location,                  
Average_Type = Average type: 0 = average over one reach scale both upstream and downstream of l Output:      The reach-average (smoothed) value of the observation (number) |