TSTool / Command / DeselectTimeSeries
Overview
The DeselectTimeSeries command deselects output time series, as if done interactively,
to indicate which time series SHOULD NOT be operated on by following commands.
The command minimizes the need for the Free command when used in conjunction
with other commands that use a time series list based on selected time series
(TSList=SelectedTS).  See also the SelectTimeSeries command.
Command Editor
The following dialog is used to edit the command and illustrates the command syntax.
 
DeselectTimeSeries Command Editor (see also the full-size image)
Command Syntax
The command syntax is as follows:
DeselectTimeSeries(Parameter="Value",...)
Command Parameters
| Parameter** | Description | Default | 
|---|---|---|
| TSList | Indicates the list of time series to be processed, one of: 
 | AllTS | 
| TSID | The time series identifier or alias for the time series to be processed, using the *wildcard character to match multiple time series.  Can be specified using${Property}. | Required if TSList=*TSID | 
| EnsembleID | The ensemble to be processed, if processing an ensemble. Can be specified using ${Property}. | Required if TSList=*EnsembleID | 
| TSPosition | A list of time series positions (1+) in output, separated by commas.  Ranges can be specified as Start-End. | Required if TSList=TSPosition | 
| SelectAllFirst | Indicates whether all time series should be selected before deselecting the specified time series: TrueorFalse. | False | 
Examples
See the automated tests.
A sample command file is as follows:
NewPatternTimeSeries(Alias="401234",NewTSID="401234..Precip.Day",Description="Example data",SetStart="2000-01-01",SetEnd="2000-12-31",Units="IN",PatternValues="0,1,3,0,0,0")
DeselectTimeSeries(TSList=AllMatchingTSID,TSID="40*",SelectAllFirst=True)
Troubleshooting
See Also
- SelectTimeSeriescommand
- Freecommand