Math Functions > Hydrologic Functions


Period Constants

The Period Constants function applies values in the primary time series data set to the times defined by a second time series data set.  Both time series data sets may be regular or irregular interval.  Values in the new time series are set according to:

 

ts1(j) ≤  tsnew(i)  <  ts1(j+1) ,      TSNEW(i)  =  TS1(j)

 

where ts1 is the time in the primary time series, TS1 is the value in the primary time series, tsnew is the time in the new time series, TSNEW is the value in the new time series.

 

If times in the new time series precede the first data point in the primary time series, the value for these times is set to missing.  If times in the new time series occur after the last data point in the primary time series, the value for these times is set to the value of the last point in the primary time series.   Interpolation of values with the Period Constants function is shown in the figure below.

 

Interpolation of time series values using Period Constants function

 

To generate a new time series of period constants:

  1. Choose the Hydrologic tab of the Math Functions screen and select the Period Constants operator.
  2. From the Selected Data Set list, select the primary time series data set.  This data set has the values for the interpolation.
  3. From the Data Set for time pattern list, which is located in the bottom part of the window, select the second time series data set.  This data set has the times for the interpolation.
  4. Click Compute.