TTS Data Plot Version 4.0 (10/17/2007)

This program, formerly referred to as "Raw Plot" has now been dubbed "TTS Data Plot" because it can now plot data in all of the following formats

Notes

A labels.txt file is required in order to plot rainfall, water, and air temperature from appended (FLO) files. This file identifies these optional data fields to the plotting program. The labels.txt file is also required for plots from mixed array files in order to identify the station by its array ID. Files in the TOACI1 and TOA5 table based formats identify the station and data variables in the header, thus do not require a labels.txt file. However, the minimum stage cannot be shown on the plot without it -- minimum stage is given as the fourth variable of labels.txt. Each line of labels.txt should contain the following comma-delimited station information:

  1. A 3-digit station identifier that appears as the first value in mixed array data records; this must be 000 for table-based data files.
  2. The 3-letter station name; this should match the station subfolder name as well as the first 3 letters of the station name in the header of table based data files.
  3. The data logger recording interval in minutes
  4. Minimum stage for sampling
  5. For mixed array raw data files, include these standard variable names: array,year,date,time,dump,bottle,code1,code2,stg,turb
  6. For table based raw data files, inlclude these standard variable names: timestamp,recnum,dump,bottle,code1,code2,stg,turb
  7. After the standard variable names, include the names of any optional variables that are recorded in the data files. Only the names wtemp, atemp, and rain are currently recognized by the program

Here is an example of the contents of labels.txt:

000,alb,10,0.30,timestamp,recnum,dump,bottle,code1,code2,stg,turb,wtemp,atemp,rain
000,smo,10,0.20,timestamp,recnum,dump,bottle,code1,code2,stg,turb,wtemp
000,dfg,15,0.80,timestamp,recnum,dump,bottle,code1,code2,stg,turb
001,nfc,10,0.50,array,year,date,time,dump,bottle,code1,code2,stg,turb
002,xyz,10,0.22,array,year,date,time,dump,bottle,code1,code2,stg,turb
003,arf,10,0.20,array,year,date,time,dump,bottle,code1,code2,stg,turb,wtemp,atemp
016,xra,10,0.20,array,year,date,time,dump,bottle,code1,code2,stg,turb
104,por,10,0.20,array,year,date,time,dump,bottle,code1,code2,stg,turb
200,ftr,15,0.40,array,year,date,time,dump,bottle,code1,code2,stg,turb,wtemp,rain
201,ljc,10,0.28,array,year,date,time,dump,bottle,code1,code2,stg,turb

Installing TTS Data Plot version 4. 0

  1. Before downloading make sure your settings in Windows Explorer are as follows under Tools ... Folder Options ... View:
  1. Download TTS Data Plot for R to a permanent location on your PC by right-clicking the link and choosing Save Link As (FireFox) or Save Target As (Internet Explorer). In the Save dialog, make sure your browser does not alter the name of .RData. There should be no characters before the dot. If you have difficulty downloading, contact Jack Lewis (jlewis01@fs.fed.us) for a copy by email.
  2. If you are already running Raw Plot 3.0 for R version 2.2.0 or later:
  3. If R has not yet been installed:
  1. IMPORTANT: The first time you run the new code, follow these steps: