- Added
date_atus()
fromgsdd
package to calculate the date on which a specified number of accumulated thermal units are exceeded. gss_plot()
now hasmin_length = 60
by default.
- Added
gss_plot()
to plot temperature time series and season(s).
- Added
gss()
function fromgsdd
package to calculate growing seasons.
- Set lower default
min_length = 120
forgsdd_cf()
.
- Added
gsdd()
andgdd()
to calculate Growing Season Degree Days and Growing Degree Days for a data frame for longest season (following decision by Ecofish and Lotic). - Soft-deprecated
gsdd_cf()
forgsdd::gsdd_vctr()
which both calculate Growing Season Degree Days for a vector. - Removed
simulated_data
.
- Added
interpolate_numeric_vector()
function to fill in missing values using linear interpolation. - Added
freshwaterfish
data fromfishbc
package to provide British Columbian and Alberta fish codes as well as taxonomy and conservation status.
- Uses the longest sequence on non-missing values, which must be at least 184 elements (otherwise returns
NA
), to calculate the Growing Season Degree Days. - Returns the sum of the Growing Season Degree Days for all the growing 'seasons' although the user can use the
pick
argument to specify whether to instead return the GSDD value for the"biggest"
,"smallest"
,"longest"
,"shortest"
,"first"
or"last"
'season' within the sequence. ignore_truncation
argument ofgssd_cf()
now accepts"start"
and"end"
instead of"left"
and"right"
.- Replaced
quiet = FALSE
argument withmsgs = TRUE
.
- Added
gsdd_cf()
function which implements Growing Season Degree Days algorithm as described by Coleman and Fausch (2007) - Added
classify_water_temp_data()
function to classify raw water temperature data asreasonable
,questionable
, orunreasonable
based on simple criteria - Added
simulated_data
data set.