My WebLink
|
Help
|
About
|
Sign Out
Search
TSTool_User_09-09-00
CWCB
>
Decision Support Systems
>
DayForward
>
TSTool_User_09-09-00
Metadata
Thumbnails
Annotations
Entry Properties
Last modified
3/27/2012 8:56:55 AM
Creation date
11/30/2010 11:22:41 AM
Metadata
Fields
Template:
Decision Support Systems
Title
TSTool User''s Manual - 09.09.00
Description
User's Manual for version 09.09.00
Decision Support - Doc Type
Software Documentation
Date
9/30/2010
DSS Category
DMI Utilities
Contract/PO #
C153966A
Prepared By
Riverside Technology, Inc.
Jump to thumbnail
< previous set
next set >
There are no annotations on this page.
Document management portal powered by Laserfiche WebLink 9 © 1998-2015
Laserfiche.
All rights reserved.
/
690
PDF
Print
Pages to print
Enter page numbers and/or page ranges separated by commas. For example, 1,3,5-12.
After downloading, print the document using a PDF reader (e.g. Adobe Reader).
Download electronic document
Show annotations
View images
View plain text
TSTool Documentation Examples of Use <br />6.3 Time Series Ensemble Examples <br />The general term time series ensemble refers to groups of a time series, often shown in overlapping <br />fashion. Common ways to create ensembles are: <br />• Split time series into N -year lengths and shift to overlap. <br />• Run a model multiple times with different input, in order to generate many possible outcomes. <br />• Generate synthetic data to use as input to a model. <br />Several TSTool commands have been implemented to create and process time series traces. Many other <br />commands allow ensembles to be specified to provide a list of time series for processing. TSTool <br />manages ensemble data by using an ensemble identifier and optionally using a trace (sequence) number <br />for each time series, which when processing historical data is typically the starting historical year for the <br />trace. For most functionality, the ensemble is simply a collection of the time series traces in the <br />ensemble. <br />6.3.1 Time Series Traces — Comparing Historical and Current Conditions (Input = HydroBase) <br />The following command file illustrates how historical time series traces can be plotted on top of real -time <br />data. The features illustrated in the example were implemented to help determine an estimate of future <br />flow based on current conditions. <br /># StartLog(LogFile= "Example Ensemble.TSTool.log ") <br /># These commands query historical and real -time data at the lobatos gage and <br /># compute a weighted "best- guess" for the flows at lobatos for the remainder <br /># of the current year. In other words, the current year will be complete, <br /># with observed at the beginning and historical "likely" at the end. <br /># First get the historic daily lobatos gage and convert to traces. Shift each trace to <br /># 2008 -01 -01 (the current year) so that the data can overlay the current year's <br /># values. <br />IS daily = readTimeSeries(" 08251500. USGS.Streamflow.Day - HydroBase ") <br />CreateEnsemble(TSID =" daily ",TraceLength =lYear, EnsembleID= "Lobatos ",ReferenceDate= "2008 -01- <br />01" ,ShiftDataHow =ShiftToReference) <br /># Now weight the traces using representative historic years. <br />IS lobatos likely = <br />WeightTraces( EnsembleID =" Lobatos", SpecifyWeightsHow= "AbsoluteWeights ",Weights= "1997,.5,1998,.4, <br />1999,.1 ",NewTSID =" Lobatos ..Streamflow.Day.likely ") <br /># Now query the current (real -time) flows. HydroBase may only hold a few weeks or months <br /># of data. <br /># Uncomment the following line to see the actual real -time values <br /># 08251500 - RIO GRANDE RIVER NEAR LOBATOS <br />08251500. DWR. Streamflow- DISCHRG.Irregular-HydroBase <br /># Convert the irrigular instantaneous values to a daily instantaneous (midnight) <br />IS lobatos = ChangeInterval(TSID="08251500.DWR.Streamflow- <br />DISCHRG.Irregular ",NewInterval= Day, OldTimeScale =INST,NewTimeScale =INST) <br /># Blend the current data to the end of the historical data (the current data <br /># will override. <br />Blend(TSID =" lobatos _current ",IndependentTSID =" lobatos_ likely ",BlendMethod =BlendAtEnd) <br /># After the above commands are executed, time series in memory will include the traces and <br /># the current time series. You can select only the time series of interest and plot <br /># OR select many time series and then disable /enable in the plot. You may need to use <br /># both approaches to find appropriate time series to weight. <br />89 Examples - 9 <br />
The URL can be used to link to this page
Your browser does not support the video tag.