flag_warm_influence: flag_mad

Description Usage Arguments Details Value

View source: R/QAQC.R

Description

dewater Median observations per day for each time series

flag_warm_influence Flag series with excessive number of values above reference series

Usage

1
flag_warm_influence(data, vals, refs, threshold)

Arguments

data

time series data pull from the postgres database (df_values table)

vals

Character name of the column containing the time series values to test

refs

Character name of the column containing the reference time series values

threshold

Numeric proportion (between 0-1) indicating the percent of test values above the corresponding reference values resulting in a TRUE flag

data

dataframe with two columns of time series

Details

blah, blah, blah, something, something

The original intended use of this function is to identify stream sites with significant influence from warm impoundments (spillover dams or beaver dams). If the water temperature is frequently higher than the air temperature on that day and location, there is likely an upstream impoundment affecting the thermal regime at the point of the temperature logger. It could also result from effluent input (maybe part of MA DEP sampling) or possibly even from loggers placed in direct sunlight, which would be warm with some down spikes on cloudy days.

Value

Median observations per day for each time series

dataframe input data returned with additional logical column indicating whether the time series is excessively warm compared to the reference


Conte-Ecology/conteStreamTemperature documentation built on Oct. 12, 2021, 10:26 p.m.