Skip to content

TSTool / Command / WriteDelftFewsPiXml


Overview

This command is not implemented and is not available in TSTool.

The WriteDelftFewsPiXml command writes time series to the specified Delft FEWS PI XML format file. See the Delft FEWS Input Type Appendix for more information about the file format.

Command Editor

The command is available in the following TSTool menu:

  • Commands / Output Time Series

The following dialog is used to edit the command and illustrates the syntax of the command.

WriteDelftFewsPiXml command editor

WriteDelftFewsPiXml Command Editor (see full-size image)

Command Syntax

The command syntax is as follows:

WriteDelftFewsPiXml(Parameter="Value",...)

Command Parameters

Parameter                                    Description Default                           
TSList Indicates the list of time series to be processed, one of:
  • AllMatchingTSID – all time series that match the TSID (single TSID or TSID with wildcards) will be processed.
  • AllTS – all time series before the command.
  • EnsembleID – all time series in the ensemble will be processed (see the EnsembleID parameter).
  • FirstMatchingTSID – the first time series that matches the TSID (single TSID or TSID with wildcards) will be processed.
  • LastMatchingTSID – the last time series that matches the TSID (single TSID or TSID with wildcards) will be processed.
  • SelectedTS – the time series are those selected with the SelectTimeSeries command.
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
OutputFile
required
The DateValue output file. The path to the file can be absolute or relative to the working directory (command file location). Can be specified using processor ${Property}. None – must be specified.
Delimiter The delimiter character to use between data values. Comma is the only other allowed value other than the default space and is recommended for irregular time series, which are output as blanks when date/times don’t align with other time series. Space.
Precision The number of digits after the decimal for numerical output. 4 (in the future may default based on data type)
MissingValue The value to write to the file to indicate a missing value in the time series. As initialized when reading the time series or creating a new time series, typically -999, NaN, etc.
IncludeProperties A list of time series property names to write, separated by commas, as of Version=1.6. Use * as a wildcard to match multiple properties. None.
WriteDataFlagDescriptions Indicate whether data flag descriptions should be written using True or False, as of Version=1.6. False
OutputStart The date/time for the start of the output as a date/time string or ${Property}. Use the global output period.
OutputEnd The date/time for the end of the output as a date/time string or ${Property}. Use the global output period.
IrregularInterval The interval (e.g., Day) used when writing irregular time series, to indicate the precision of date/times. This may be necessary when it is not possible to automatically determine the date/time precision. The date/time precision to format output is assumed to be Minute if unknown; however, specifying the irregular interval will inform the data processing. Determined from the period start date/time of each time series, defaulting to Minute where the date/time precision is set to “irregular” (unknown).
Version Version of the file to write. See the Delft FEWS PI XML Input Type appendix for information. Current version.

Examples

See the automated tests.

Troubleshooting

See the main TSTool Troubleshooting documentation.

See Also