This function accepts a data frame that contains a column named "discharge" and a threshold value obtained using the peakdata and getPeakThresh functions and calculates TH3; Seasonal predictability of nonflooding. Computed as the maximum proportion of a 365-day year that the flow is less than the 1.67-year flood threshold and also occurs in all years. Accumulate nonflood days that span all years. TH3 is maximum length of those flood-free periods divided by 365 (dimensionless-spatial).
data frame containing a "discharge" column containing daily flow values
numeric containing 1.67-year flood threshold calculated by getPeakThresh
tl4 numeric containing TH3 for the given data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.