Laserfiche WebLink
TSTool Documentation <br />Quick Start - 6 <br />important part of defining a workflow in TSTool is understanding and implementing naming conventions <br />for data object identifiers. <br /> <br />When time series are selected in the upper-right area of the main TSTool window and are copied to the <br />Commands area, the time series are represented as a time series identifier (TSID), which is a unique <br />identifier that allows TSTool to read the time series from its data source (datastore, file, etc.). The general <br />form of a TSID is: <br /> <br />Location.DataSource.DataType.Interval~DataStoreOrInputType <br /> <br />The periods in the TSID are important because they indicate the separation between TSID parts. The <br />TSID part values depend on the specifics for each data source. For example, the United States Geological <br />Survey (USGS) National Water Information System (NWIS) web service uses a data type of 00060- <br />00003 to indicate mean daily stream discharge whereas other datastores use Streamflow. TSTool <br />users need to understand the source, characteristics, and limitations of data, using information on a data <br />provider’s website and also see TSTool appendices (see Resources section below). <br /> <br />When TSTool sees a TSID in the command area, it interprets the TSID as an implicit read command and <br />will attempt to read the time series from the data source. <br /> <br />Press the Run All Commands button to read the data for the indicated TSID. In this example, TSTool <br />will request data from the RCC ACIS web service. Progress in processing commands and progress within <br />each command is indicated in the lower right corner of the main window. When progress is 100% <br />complete, time series that are read are listed in the Results area in the main window. To view the time <br />series graphically, right-click on the time series list and select the Graph – Line menu item to graph <br />highlighted time series. This will result in a graph being displayed in TSTool’s graphing tool. You can <br />zoom into a period (horizontal axis) by using the left mouse button to draw a box on the main graph or the <br />overview graph using the mouse. The visible period for the main graph will be highlighted in white in the <br />overview graph. When zoomed in, use the navigation buttons under the graph to page through data. <br />View the complete time series in a table by selecting the Table button at the bottom of the graph window. <br /> <br />Up to this point you have been exposed to a few TSTool conventions such as TSIDs and have a basic <br />understanding of the mechanics of using the interface. Although these simple commands may suffice for <br />very simple purposes, the real power of TSTool is in its ability to automate data processing. <br /> <br />Example 2 – Using Commands <br /> <br />Interactively browsing through data is a useful capability and is often the way that one would start <br />evaluating how to complete a data analysis. However, repetitively “clickity-clicking” on menus and <br />buttons is not efficient, and trying to remember a sequence of manual steps can lead to errors and <br />inefficiency. Consequently, TSTool provides commands to automate processing in a documentable, <br />repeatable manner. Commands are somewhat equivalent to Excel spreadsheet formulas; however, <br />TSTool commands are defined, sequenced, and displayed in the command area rather than being mixed <br />with data. <br /> <br />TSTool by default tries to query the full period of available data (unless datastores themselves constrain <br />the query to a limited period). Once the amount of data is known, the user can evaluate data quality and <br />refine the period to their needs. The TSID syntax in the Commands area tells TSTool to read the time <br />series. However, there are no controls to indicate the time period to read or provide other options that <br />may be appropritae for the datastore. To illustrate how commands are useful, first select one of the TSIDs <br />in the Commands area (by left-clicking). Then right-click to display the popup menu and select the