R/expand_phenocam.r
expand_phenocam.RdNecessary step to guarantee consistent data processing between 1 and 3-day data products. Should rarely be used independent of `download_phenocam()`.
expand_phenocam(data, truncate = NULL, internal = TRUE, out_dir = tempdir())Expanded PhenoCam data structure or file, including 90 day padding if requested.
if (FALSE) { # \dontrun{
# download demo data
download_phenocam(site = "harvard$",
veg_type = "DB",
roi_id = "1000",
frequency = "3")
# Overwrites the original file, increasing
# it's file size.
expand_phenocam(file.path(tempdir(),"harvard_DB_1000_3day.csv"))
# Contracts the file to it's original size, skipping
# two days.
contract_phenocam(file.path(tempdir(),"harvard_DB_1000_3day.csv"))
} # }