This function accepts a data frame that contains a column named "discharge" and calculates FH3; High flood pulse count. Compute the average number of days per year that the flow is above a threshold equal to three times the median flow for the entire record. FH3 is the mean (or median-Use Preference option) of the annual number of days for all years (number of days/year-temporal).
data frame containing a "discharge" column containing daily flow values
string containing a "mean" or "median" preference
fh3 numeric value of FH3 for the given data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.