Laserfiche WebLink
TSTool Documentation <br />This documentation can be printed double -sided and is best viewed as PDF to use the navigable table of <br />contents and bookmarks. <br />2.1 Time Series Objects and Identifiers <br />TSTool considers time series as objects that are queried, manipulated, viewed, and output. A time series <br />is defined as a series of date /time versus data pairs. Data generally consist of floating point values; <br />however, time series may contain other data (e.g., data quality flags). TSTool treats time series as either <br />regular interval (equal spacing of date /time) or irregular interval (e.g., infrequent measurements, <br />sometimes referred to as observations). Regular time series lend themselves to simpler storage and faster <br />processing because date /time information only needs to be stored for the endpoints and processing is less <br />complicated. <br />TSTool defines each time series as having an interval base and multiplier (e.g., 1Month, 2 4Hour). In <br />many cases, the multiplier is 1 and is not shown in output (e.g., Month rather than 1Month is shown). <br />In addition to a period of record, interval, and data values, time series have attributes, or metadata, that <br />include: <br />• Units (e.g., CFS) <br />• Data type (e.g., Streamflow) <br />• Data limits (the maximum, minimum, etc.) <br />• Description (generally a station or structure name) <br />• Missing data value (used internally to mark missing data and trigger data filling, often — 9 9 9 or in <br />some cases NaN [Not a Number]) <br />• Comments (often station comments, if available) <br />• Genesis history (a list of comments about how the time series was created and manipulated) <br />To manage time series, TSTool associates each time series with an identifier that uses the notation: <br />Location. Source. Type. Interval. Scenario [Seq]— InputType— InputName <br />Location.Source. Type. Interval .Scenario[Seq]— DataStoreName <br />The first five parts (Location. Source. Type. Interval. Scenario) are used to identify time <br />series, with further explanation below: <br />• Location — typically a physical location identifier, such as a station, basin, or sensor identifier. <br />• Source — a data provider identifier, usually a government or system identifier (e.g., USGS, <br />NWS), necessary because sometimes the provider for data changes for a location. <br />• Type — the data type, typically specific to the data (e.g., Streamf low, Precip) — TSTool <br />does not try to institute global data type definitions). <br />• Interval — the data interval, indicating the time between data values (e.g., 6Hour, Day, <br />Irregular). <br />• Scenario — an optional item that indicates a scenario (e.g., Hist, Filled, Max, <br />Critical). <br />• Seq — an optional item used in cases where multiple time series traces may be available, with all <br />other identifier information being equal (e.g., for simulations where multiple versions of input are <br />used or for cases when a historical time series is cut into annual traces, collectively known as <br />Introduction - 2 22 <br />