Skip to contents

Given quality-controlled data for a given water year, this function identifies which sites are impaired and the dates of their exceedances. A creek/site is impaired if its temperatures exceed water quality standards (WQS) at least twice during the water year and there is a period of at least seven days between two of those exceedances.

Usage

site_impairments_table(wq_data)

Arguments

wq_data

Data set with exceedances, such as the output of compute_7DADM_and_exceedance().

Value

A table such as the following:

SiteImpairedDates of impairment
Site 1No
Site 2Yes3/17-3/19, 5/21
Site 3Yes10/20, 4/28-4/29
Site 4No
Site 5No