get_preseason: get_preseason

Description Usage Arguments Examples

View source: R/get_preseason.R

Description

Get preseason of autumn phenology (EOS).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
get_preseason(
  Tmin,
  Tmax,
  Prec,
  Srad,
  SOS,
  EOS,
  dates_mete,
  DateRange_pheno = NULL,
  maxDays = 150
)

Arguments

Tmin, Tmax, Prec, Srad

daily time-series

SOS, EOS

yearly phenological metrics

dates_mete

dates of mete

DateRange_pheno

range of phenology data

maxDays

max length of preseason。

Examples

1
2
3
4
5
6
## Not run: 
dates <- seq(ymd('19820101'), ymd('20151231'), by = "day")
info_date <- data.table(date = dates, year = year(dates), yday = yday(dates))
get_preseason(Tmin, Tmax, Prec, Srad, SOS, EOS, info_date)

## End(Not run)

kongdd/phenologyTP documentation built on Jan. 12, 2022, 2:13 p.m.