Laserfiche WebLink
TSTool Documentation Getting Started <br /> Getting Started - 5 <br />3.3.1 Input/Query Options and Time Series List Area <br /> <br />The upper part of the main window contains the Input/Query Options and Time Series List area. The <br />Input/Query Options choices help select time series information from datastores (databases and web <br />services) and input types (typically files and some databases). The interactive query interface is useful <br />when selecting a time series from a file , database, or web service (internet). An alternative to the <br />following interactive approach is to use read commands from the Commands menu (see the Commands <br />chapter). To select time series, perform the following steps : <br /> <br />1. Select the source of the data . Select a Datastore or Input t ype . <br />• A data store is a repository that generally contains multiple time series (e.g., a database, web <br />service, or file). The details about the datastore are included in a simple configuration file (see <br />dat astore appendices). <br />• Input types define the storage format (e.g., databas e or file) for time series data, and may require <br />an input name. Selecting some input types may prompt for a file, which is then listed in the Input <br />name choices immediately below Inpu t type . <br /> <br />The datastore design is being phased in because it provides more flexibility in defining data <br />connections. In the future, all database connections will be transferred to datastores and remaining <br />input types may be referred to as “file datastores ”, which will use a filename. <br /> <br />The DateValue input type is the default. More specific input types (e.g., HydroBase) may be the <br />default if enabled. See the appropriate data store or input type appendix for more information . <br /> <br />Depending on the input type, s ome of the remaining selection choices described below may be <br />disabled or limited. <br /> <br />2. Select the time series data type . Select the Data t ype (if appropriate for the input type). For <br />example, select Streamflow or Diversion if using a HydroBase input type . For some input types, the <br />data type will be listed as Auto , indicating that the data type automatically will be determined from <br />the data . <br /> <br />3. Select the time series time step (interval). Select the Time s tep (if appropriate for the input type). <br />The time s tep, also referred to as the data interval, generally will be limited by the input type. For <br />example, if reading from the HydroBase database, the Streamflow data type will result in Day, <br />Month, and Irregular (real -time) time steps being listed. The time step will be shown as Auto for <br />input types where the time step is determined as data are read. <br /> <br />4. Specify filter criteria for the time series list . Specify the Where and Is clause(s) for the query (if <br />appropriate for the input type). This information will limit the number of time series that are <br />returned. The filters are highly dependent on the original data. <br /> <br />5. Generate the time series list . Press the Get Time Series List button in the Input/Query Options <br />area, and TSTool will display a list of matching ti me series in the Time Series List . If the input type <br />is a file, you may first be prompted to select the file containing the time series. The Time Series List <br />shows a list of matching time series, typically including location and time series properties . As much <br />as possible, the column headings are consistent between different input types. The results are <br />typically sorted by name or identifier if from a database, or if read from a file are listed according to <br />the order in the file. Right -click on the col umn headings and select Sort Ascending to sort by that <br />column. The sorts are alphabetical so some numeric fields may not sort as expected due to spaces, <br />etc . <br />31