Frequency
Definition
Peak flow frequency is the number of times that flow crosses over an exceedance flow threshold (10-, 5-, or 2-year recurrence intervals of annual peak flow). This metric is measured in frequency count (number of occurrences).
Steps
Convert raw data from a single column of dates and a single column of flows into a matrix with columns organized by water year. Each column starts with the beginning of the water year (i.e. 10/1) and ends with the end of water year (9/30).
Calculate the 10%, 20%, and 50% exeedance values of annual peak flow over the entire period of record.
In each water year, create an object each time the flow passes the exceedance value, and append that object onto an array.
Calculate the frequency by counting the length of the object array.
Last updated