calcConsecExceed: calcConsecExceed

Description Usage Arguments Details Value

Description

calcConsecExceed Calculate the mean and max (and quantiles?) of consecutive days per year where temperatures exceed some temperature threshold

Usage

1
calcConsecExceed(y, threshold = 22)

Arguments

threshold

Temperature threshold above which causes physiological problems for species of interest

grouped.df

Dataframe grouped by featureid then year

derived.df

Dataframe of derived metrics

summer

Logical calculate metric just for June-August. Default FALSE

Details

Maine is interested in adding another set of derived metrics that represented runs of consecutive days where the stream temperature exceeded some threshold. Maybe something like mean and max number of consecutive days per year where temp > 22 deg C, since that's closely tied to fish stress.

Value

Returns Dataframe of derived metrics (e.g. max temperature predicted over daymet record) for each featureid across all years


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