diff --git a/404.html b/404.html
index 6327c64..38baa26 100644
--- a/404.html
+++ b/404.html
@@ -24,7 +24,7 @@
teckfish
- 0.1.1
+ 0.2.0
@@ -50,7 +50,14 @@
-
+
@@ -70,7 +77,7 @@
+
@@ -41,7 +47,7 @@
@@ -41,7 +47,7 @@
@@ -41,7 +47,7 @@
@@ -52,7 +58,7 @@
+
@@ -41,7 +47,7 @@
@@ -41,7 +47,7 @@
@@ -344,7 +351,7 @@
- Sarah Lyons . Author.
+
Ayla Pearson . Author.
- Ayla Pearson . Author.
+
Sarah Lyons . Contributor.
@@ -82,17 +88,19 @@ Authors
Citation
-
+
Source: DESCRIPTION
-
Thorley J, Lyons S, Pearson A (2024).
+
Thorley J, Pearson A (2024).
teckfish: R Tools for Teck Fish and Aquatic Sciences Projects .
-R package version 0.1.1, https://poissonconsulting.github.io/teckfish/ .
+R package version 0.2.0,
+https://github.com/poissonconsulting/teckfish, https://poissonconsulting.github.io/teckfish/ .
@Manual{,
title = {teckfish: R Tools for Teck Fish and Aquatic Sciences Projects},
- author = {Joe Thorley and Sarah Lyons and Ayla Pearson},
+ author = {Joe Thorley and Ayla Pearson},
year = {2024},
- note = {R package version 0.1.1},
+ note = {R package version 0.2.0,
+https://github.com/poissonconsulting/teckfish},
url = {https://poissonconsulting.github.io/teckfish/},
}
@@ -101,7 +109,7 @@ Citation
+
@@ -53,31 +47,17 @@
-
Growing Season Degree Days (GSDD) is a water temperature metric
-that is a useful predictor of Cutthroat trout size at the
-beginning of winter.
-It is the accumulated thermal units (in C)
-during the growing season based on the mean daily water temperature values.
-Only GSDD values calculated using the default values should be considered
-equivalent to those of Coleman and Fausch (2007).
+
Soft-deprecated for gsdd_vctr()
.
Usage
-
gsdd_cf (
- x ,
- ignore_truncation = FALSE ,
- start_temp = 5 ,
- end_temp = 4 ,
- window_width = 7 ,
- pick = "longest" ,
- msgs = TRUE
-)
+
gsdd_cf ( x , ignore_truncation = FALSE , min_length = 184 , msgs = TRUE )
-
Details
-
The GSDD is calculated across the longest consecutive sequence of non-missing
-values which must be at least 184 elements in length otherwise a
-missing value is returned.
-If the vector includes missing values it is recommended that they are
-replaced by estimates of the actual values using
-interpolate_numeric_vector()
or other predictive methods.
-
By default the default values and implementation of the
-growing season are based on the interpretation of
-Coleman and Fausch (2007) who stated that
-
We defined the start of the growing season as the
-beginning of the first week that average stream temperatures exceeded and
-remained above 5C for the season;
-the end of the growing season was defined as
-the last day of the first week that
-average stream temperature dropped below 4C.
-
For the purposes of the calculation week is assumed to refer to a seven day
-rolling average as opposed to the calendar week.
-
If there are multiple growing 'seasons' within the same year then by
-default the returned value is the sum of the GSDD values for "all"
seasons.
-
The user also has the option to pick the "first"
/"last"
or
-"longest"
/"shortest"
season or the season with
-the "biggest"
/"smallest"
GSDD.
-If the user picks the "longest"
season but there are multiple seasons
-with the longest length then the candidate
-season with the "biggest"
GSDD is selected.
-Conversely in the case of multiple "shortest"
seasons then the
-candidate with the "smallest"
GSDD is selected.
-
Truncation occurs when the start and/or end
-of the time series is part way through a growing season.
-If the user chooses to ignore truncation then the returned value
-will be less than the actual GSDD.
+
See also
+
Examples
gsdd_cf ( c ( rep ( 1 , 10 ) , rep ( 10 , 20 ) , rep ( 1 , 200 ) ) )
+#> Warning: `gsdd_cf()` was deprecated in teckfish 0.1.2.
+#> ℹ Please use `gsdd_vctr()` instead.
#> [1] 208
-gsdd_cf ( teckfish :: simulated_data $ synthetic )
+gsdd_cf ( gsdd :: temperature_data $ temperature )
#> [1] 3898.806
@@ -177,7 +112,7 @@ Examples
-
Developed by Joe Thorley, Sarah Lyons, Ayla Pearson, Teck Resources.
+
Developed by Joe Thorley, Ayla Pearson, Teck Resources.
+
@@ -66,25 +72,35 @@ All functionsgdd()
+
+ Calculate Growing Degree Days (GDD)
+
+
+ gsdd()
+
+ Calculate Growing Season Degree Days (GSDD)
+
+
gsdd_cf()
Calculate Growing Season Degree Days (GSDD)
- interpolate_numeric_vector()
+ gsdd_vctr()
- Interpolate Numeric Vector
+ Calculate Growing Season Degree Days (GSDD) from a vector
- simulated_data
+ interpolate_numeric_vector()
- Sample Data for GSDD Calculation Demonstration
+ Interpolate Numeric Vector
+
@@ -41,7 +47,7 @@
+
@@ -55,7 +61,7 @@
@@ -41,26 +47,28 @@
-
Provides functions to classify water temperature values as reasonable, questionable or erroneous, linearly interpolate missing values and calculate growing season degree days from daily water temperature data. It also exports fish codes for British Columbia and Alberta from the `fishbc` package.
+
Provides functions linearly interpolate missing values and calculate growing season degree days and growing degree days from daily water temperature data. It also exports fish codes for British Columbia and Alberta from the `fishbc` package.