Preprocessing of all PhenoCam data into a format which can be ingested by the optimization routines etc. the original nested list is flattened for speed.
pr_fm_phenocam(
path = tempdir(),
direction = "rising",
gcc_value = "gcc_90",
threshold = 50,
offset = 264,
spread = 30,
internal = TRUE
)
a path to 1 or 3-day PhenoCam transition date estimates (no validation checks will be done, so mixed files will lead to mixed or duplicated results!)
The phenophase considered, "rising" for spring and "falling" for autumn. When using fall the offset should be 365. (default = rising)
The gcc time series from which the phenophase estimates were derived either (default = gcc_90)
Threshold ( the phenophases (10, 25, 50) (default = 50)
offset of the time series in DOY (default = 264, sept 21)
maximum distance between CI of phenophase (default = 30) increase this value to include more uncertain phenophase estimates
return data as structured list to R workspace or write to RDS file (default = TRUE)
In addition to the normal transition dates the offset in julian days to the previous phenophase is included as transition_dates_prior.
# run with default settings
# looks for transition date files derived
# through phenocamr in your home directory
# change the path to match your setup
if (FALSE) {
phenocam_data = pr_fm_phenocam()
}