TSTool / Command / SetToMax
SetToMax command sets a time series to contain, for each time step,
the maximum of its own values and those of one or more additional (independent) time series.
This command replaces the legacy
See also the
The following dialog is used to edit the command and illustrates the syntax of the command.
SetToMax Command Editor (see also the full-size image)
The command syntax is as follows:
|The time series identifier or alias for the time series to be modified.||None – must be specified.|
||Indicates the list of time series to be processed, one of:
||The time series identifier or alias for the time series to be processed, using the
||The ensemble to be processed, if processing an ensemble. Can be specified using
See the automated tests.
A sample command file to process data from the State of Colorado’s HydroBase database is as follows:
# 08236000 - ALAMOSA RIVER ABOVE TERRACE RESERVOIR 08236000.DWR.Streamflow.Month~HydroBase # 08236500 - ALAMOSA RIVER BELOW TERRACE RESERVOIR 08236500.DWR.Streamflow.Month~HydroBase SetToMax(TSID="08236000.DWR.Streamflow.Month",IndependentTSList=SpecifiedTSID,IndependentTSID="08236500.DWR.Streamflow.Month")