TTS Adjuster Revisions and Bug Fixes

20Jan2005

  1. Fixed bug that was introduced Dec 23: first dump of the year was being appended as dump number zero instead of dump number one. This should only happen when the water year starts in the middle of a raw data file. (Note: 'Straddler' files that start in one water year and end in another are stored in the raw directory of the starting water year).

25Jan2005

  1. Observer records will now be shown up to an hour outside the range of the recorded data.
  2. Bottle numbers are no longer displayed when the bottle is outside the plot frame.
  3. The station info file no longer needs to show any manual stage types.
  4. Fixed bug in setting stage and turbidity ranges. It is now possible to display a file in which all stage (turbidity) values are zero, or in which the minimum and maximum are the same.
  5. Minor changes in help file.

28Jan2005

  1. Segment boundaries no longer will be displayed outside the time range of the plot.
  2. Segment boundaries are always cleared when opening a new file segment.
  3. Bug fixed in freeAdjuster only: Scatterplot data was not being updated when opening a new segment.

31Jan2005

  1. Bug fixed in freeAdjuster only: This bug was introduced 28Jan2005 in item 3. If no scatterplot had been made, then a NullPointer Exception occurred when opening a new file segment.

05Feb2005

  1. Bug fixed: data files were not being sorted properly when file names were in mixed cases.
  2. Bug fixed: file dialog could hang when trying to read last line of a bad flo file
  3. Eliminated ‘Updating OR file’ popup requesting Append, Replace, or Cancel if new field forms found
  4. Added a sentence about .flo files starting with dump 0 to help file and user manual

09Feb2005

  1. Better error reporting for sequence errors found while appending. Only reports a change in time interval, if a complete error-free file is found with a new time interval.
  2. Reports to output window whenever gaps are filled with NA or interpolated.
  3. Bug fix: No longer partially appends files that have sequence errors. (A gap that is a multiple of the time interval is not considered a sequence error -- such gaps are filled).

16Feb2005

  1. Bug fix: axis ranges no longer shrink when cancelling out of Plot Formatter
  2. Bug fix: axis ranges in Plot Formatter now adjust appropriately after Undo Zoom
  3. Axis ranges requested in Plot Formatter are now implemented exactly, without padding.
  4. Zooming is exact. No padding is applied.

17Feb2005

  1. Bug fix: minor bug was introduced 25Jan2005: when an OR existed within one hour before the data selected in the file dialog, it caused subsequent OR differences to be calculated and plotted incorrectly. (The OR itself was plotted correctly. Only the indicated differences were incorrect.)

18Feb2005

  1. Bug fix: sometimes a FileMenuException occurred when opening subsequent data files or segments.

22Feb2005

  1. Added description of FLO file format to help file and manual.

16Mar2005

  1. Minor bug fix: right-clicking on a sample bottle gave the error “Could not find this observer record in OR file”. This behavior has been eliminated in that situation.

25Mar2005

  1. Stations not listed in stationinfo.txt can be processed -- eliminated NullPointerException. (However, some functionality will necessarily be lost if a file is processed without being listed.)
  2. Minor bug fix: stage label was not appearing for stations without an OR file.

29Mar2005

  1. Reads FLO file in completely free comma-delimited format now. Before, there was a constraint that column position 25 was expected to be in the raw stage field. Turns out the original algorithm wasn’t really faster anyway and failed when bottle count exceeded 99.
  2. If user asks for a range of dumps that doesn’t exist, program will trap it properly, instead of giving an Array Index out of Bounds error, before returning you to the File Dialog.

31Mar2005

  1. Bug fix: program was reporting an error when reading lab data that had no lab quality codes. Program now can read data with or without lab codes, as documented.
  2. Catches bad OR files that have been saved in wrong file format or have trailing garbage. Previously gave Array Index Out of Bounds error in this situation.

01Apr2005

  1. Reports sequence errors found in OR files.

15Apr2005

  1. Catches any improperly formatted dates in FLO file. Formerly, the File Dialog would hang if there were errors in first or last line.
  2. Replaces corrected turbidity and stage values with NA if not between –10 and 10000, and reports the changes in the output window. Raw turbidity and stage are still unfettered.
  3. Correctly reports the location of sequence errors in FLO file. Formerly reported the wrong line number if file was not plotted from the beginning.

20Apr2005

  1. Added further error checking for incomplete last line of FLO file.
  2. New feature: y-proportional shifts via CTRL-SHIFT-CLICK. Stage and turbidity code = 8.

13May2005

  1. Corrected error message “incomplete last line” when error was not in the last line of FLO file.
  2. Added advice about reconstructions to Help File and User's Manual.
  3. Fixed bug in which reconstructions failed for lag times greater than 35800 minutes (24+ days)

28Jul2005

  1. Implemented DO NOT CALCULATE as an option for discharge rating equations. This prevents any modifications of discharge in the FLO file. If stage code is -1, discharge will be NOT be replaced by NA.
  2. Changed "Wacko stage" and "Wacko turbidity" output so user can see the "wacko" value.
  3. Fixed bug where the exponent of negative discharges was output as E+-n. Now replaces negative discharges with NA, reports them to output window, and alerts user using a popup message. Replacement of negative discharges overrides DO NOT CALCULATE.

03Aug2005

  1. Fixed bug introduced 28Jul2005. Null pointer exception occurred when saving if no SDR file existed.

19Aug2005

  1. Fixed bug that resulted in Java running out of memory and loss of FLO file when trying to save. This occurred after many thousands of lines were written to the output window. Now output wraps in the output window after 1000 lines have been written.

07Nov2005

  1. Fixed bug that affected Caspar Creek gaging stations. Introduced 28Jul or 03Aug, the bug caused hardcoded rating equations to be ignored. Did not affect stations using SDR files.

17Jul2006

  1. Changed display color of both questionable stage and turbidity data to gray. Until now, questionable data was indistinguishable from good data.
  2. Fixed old bug where plot title would change if a new station or file had been selected in a File Dialog, when the dialog was cancelled instead of choosing Read Dumps or Read Dates.
  3. Added dump number to XY monitor. Slightly expanded XY monitor's display size.
  4. Added Cancel option to dialog when closing Plot window by clicking the 'X' after having made changes.
  5. When bottle label is SSC on main plot, scatterplot now uses bottle number as plot symbol instead of 'o'.
  6. Bottle labels on main plot are now cyan when SSC is missing or not yet available, red when SSC is available.

19Jul2006

  1. Bottle labels were sometimes lost among the turbidity lines of the same color; changed colors to orange when SSC is missing or not yet available, black when SSC is available.

12Dec2006

  1. Reversed order of FLO files in file name list of File Dialog, so most recent file is always the first on the list

18Apr2007

  1. Eliminated plotting of missing values in (margins of) scatterplots. Scaling still needs work.

09May2007

  1. Belatedly installed the enhancements that allow relational expressions in stage-discharge rating equations. This feature had been documented in the manual but not implemented until now. This replaces a May 7 posting that was unable to read "do not calculate" or rating equations beginning with a minus sign.

10Oct2007

  1. Now recognizes TOA5 and TOACI1 formats from CR-Basic data loggers. No user intervention is needed; the program determines the data type by looking at the first line of the file.