Laserfiche WebLink
TSTooI Documentation <br />2.4 Using Time Series Aliases <br />The previous sections discussed time series identifiers and processing time series. The concept of a time <br />series alias was described as a "shortcut" when identifying a time series. Aliases are useful when creating <br />more complicated lists of commands, where using full time series identifiers becomes cumbersome. <br />Aliases are typically assigned when creating new time series using the command syntax: <br />TS X = someCommandThatCreatesATimeSeriesO <br />Time series aliases are meant primarily for use during processing, not as a way to identify time series in <br />output. Most supported time series input types do not inherently use aliases (an exception is the <br />DateValue format, which will initialize a time series' alias if the input DateValue file specifies the <br />information). Instead, time series typically are identified by the location part of the time series identifier <br />(e.g., a station identifier). Although time series can use aliases to simplify processing, the location part of <br />the identifier will generally be used when outputting time series to files or databases. <br />The time series manipulation features of TSTooI facilitate using variations of an input time series for <br />analysis. For example, a time series may be read and manipulated to produce several variants, which are <br />then written for use in a model or analysis. The copy O command could be used to create copies of the <br />original time series; however, this command does not currently reset the location part of the identifier and <br />therefore the time series, when written to output, will likely have the same identifier (an enhancement to <br />the copy O command is being studied that will assign a new time series identifier during the copy). An <br />alternative is to use the TS x = newTimeSeries O command to create a new time series (specifying <br />a location part of the time series identifier that is suitable for output), and then use the setFromTS ( ) <br />command to copy all or part of the original time series into the new time series. These two commands <br />therefore allow one time series to be read and copied into new time series, each of which has a new <br />location in the time series identifier. <br />If specified, time series aliases are generally output in the legends of graphs and other data products. <br />The remainder of this document describes TSTooI's specific time series processing and viewing features. <br />Introduction - 9 <br />