format_phenocam: Preprocessing of all PhenoCam data into a format which can be...

Description Usage Arguments Examples

View source: R/format_phenocam.r

Description

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.

Usage

1
2
format_phenocam(path = "~", direction = "rising", gcc_value = "gcc_90",
  threshold = 50, offset = 264, internal = TRUE)

Arguments

path

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!)

direction

The phenophase considered, "rising" for spring and "falling" for autumn. When using fall the offset should be 365. (default = rising)

gcc_value

The gcc time series from which the phenophase estimates were derived either (default = gcc_90)

threshold

Threshold ( the phenophases (10, 25, 50) (default = 50)

offset

offset of the time series in DOY (default = 264, sept 21)

internal

return data as structured list to R workspace or write to RDS file (default = TRUE)

Examples

1
2
3
4
5
6
7
8
# run with default settings
# looks for transition date files derived
# through phenocamr in your home directory
# change the path to match your setup
## Not run: 
phenocam_data = format_phenocam()

## End(Not run)

khufkens/phenor documentation built on Dec. 5, 2017, 12:37 a.m.