Laserfiche WebLink
TSTool Documentation <br /> Introduction - 3 <br />2.2 Time Series Objects and Identifiers <br /> <br />TSTool handles time series as objects that are read (or internally created), manipulated, viewed, and <br />output. T ime series data include properties (also referred to as attributes or metadata) and a series of <br />date/time and data value pairs (and optionally value data flags). Data generally consist of floating point <br />values; however, time series may contain other data such as strings or image s. TSTool primarily focuses <br />on numerical time series . T ime series are defined either as regular interval (equal spacing of date/time) or <br />irregular interval (e.g., infrequent measurements). Regular time series lend themselves to simpler storage <br />and faste r processing because date/time information only needs to be stored for the endpoints and <br />processing is less complicated . <br /> <br />TSTool defines each time series as having an interval base and multiplier (e.g., 1Month , 24Hour ). 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 valu es, time series properties include: <br /> <br />• Units (e.g., CFS ) <br />• Data type (e.g., Streamflow ) <br />• Data limits (the maximum, minimum, etc.) <br />• Des cription (generally a station or structure name) <br />• Missing data value (used internally to mark missing data and trigger data filling, often –999 or <br />NaN [Not a Number]) <br />• Comments (often station comments, if available) <br />• Processing history (a list of comments abo ut how the time series was created and manipulated) <br /> <br />To identify time series in the original data and manage time series internally , TSTool assigns each time <br />series a time series identifier (TSID) that uses the notation: <br /> <br />LocationType:Location.Source.Type.Interval.Scen ario[Seq]~InputType~InputName <br /> <br />LocationType:Location.Source.Type.Interval.Scenario[Seq]~DataStoreName <br /> <br />The TSID can be thought of as a unique resource identifier, similar to a URL for web resources. The first <br />five parts (Location.Source.Type.Interval.Scenario ) are use d to identify time series <br />within the original data (e.g., to find the time series in a file or database): <br /> <br />• Location Type – o ptionally used where necessary to uniquely identify locations (e.g., use a <br />location type of Basin or Subbasin where other identi fier information would result in <br />ambiguous interpretation of the identifier parts <br />• Location – typically a physical location identifier , such as a station, basin, or sensor identifier. <br />• Source – a data provider identifier, usually a g overnment or system identifier (e.g., USGS , <br />NWS ), necessary because sometimes the provider for a location changes over time or a database <br />may contain time series from multiple data providers <br />• Type – the data type, typically specific to the data (e.g., Streamflow , 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 />15