Listing of units in the program thresh
Unit Name | Type | Description |
Alert | Subroutine | Composes threshold data in a table and color-codes based on alert levels |
alerthtm | Subroutine | Composes threshold data in a table and color-codes based on alert levels, creates html file |
arcsav | Subroutine | Writes rainfall threshold parameters to individual archive; file per station |
check_antMonth_antDay | Subroutine | Ensures that values used to reset antecedent months and days are meaningful |
check_AWI | Logical Function | Checks completeness of data relevant to the AWI |
check_SAT | Logical Function | Checks completeness of data relevant to the seasonal antecedent threshold |
check_switches | Subroutine | Ensures that multiple *Switch flags are not enabled |
count_events | Subroutine | Counts events of continuous exceedance of thresholds |
date_and_time | Subroutine | Extracts system month, day, year, minute, and second |
dgrs | Subroutine | Writes a file listing most recent conditions at all stations for plotting by commercial charting or spreadsheet software |
error1 | Subroutine | Condenses code in module getinfo.f90; standard error message that will print and exit thresh (used for errors when input values are smaller than the required lower bound) |
error2 | Subroutine | Condenses code in module getinfo.f90; standard error message that will print and exit thresh (used when input values for the antecedent months and days are incorrect) |
error3 | Subroutine | Condenses code in module getinfo.f90; standard error message that will print and exit thresh (used when the input values for duration and readings per hour are incompatible) |
gnp1 | Subroutine | Writes a tab-delimited file listing most recent conditions at all stations, using a different symbol for each station (default format) |
gnp2 | Subroutine | Saves most recent conditions at each station in a separate tab-delimited file for plotting by gnuplot |
gnpts | Subroutine | Writes rainfall threshold parameters to individual time-series plot; file per station |
gnpts1 | Subroutine | Writes rainfall threshold exceedance values to individual time-series plot; file per station |
ihr24 | Subroutine | Adjusts dates according to leap year |
imid | Integer Function | Extracts substring embedded in date and time character string |
read_init | Subroutine | Reads thresh_in.txt and assigns input parameters to associated variables in program thresh (also copies contents of thresh_in.txt to log file, ThreshLog.txt) |
read_interpolating_points | Subroutine | Contains duration and cumulative precipitation airs |
read_station_file | Subroutine | Reads from each station’s individual data file |
read_thlast | Subroutine | Reads Thlast.txt to obtain information about state of calculations at each station, including time of latest data collected and processed |
s1904t | Subroutine | Converts time and date data to the serial numbers used in subroutine s1904t |
set_poly_limits | Subroutine | Adjusts values of limits when polySwitch is set to true |
set_power_limits | Subroutine | Adjusts values of limits when powerSwitch is set to true |
tabl | Subroutine | Composes threshold data in a table |
tablhtm | Subroutine | Composes threshold data in a table, creates html file |
tindm | Subroutine | Writes rainfall threshold parameters to individual time-series plot; file per station |
titl | Subroutine | Outputs the title and purpose of the program to the screen |
track_intensity | Subroutine | Computes running average and antecedent storm intensity |
track_storm | Subroutine | Tracks the movement of a storm for precipitation and intensity |