alencar2021: FD identificaiton method proposed by the Author (Pedro...

Description Usage Arguments Details Value Examples

View source: R/Alencar2021.R

Description

FD identificaiton method proposed by the Author (Pedro Alencar)

Usage

1
2
3
4
5
6
7
alencar2021(
  vtime,
  vprecipitation,
  vet0,
  crit = c(4, 2, 8, 2),
  months = c(3, 10)
)

Arguments

vtime

data frame column or vector containing date data

vprecipitation

data frame column or vector containing daily precipitation (mm.day-1)

vet0

data frame column or vector containing daily potential evapotranspiration (Penman-Monteith - mm.day-1)

crit

a vector with four elements indicating the thresholds (more in details).

months

a vector with two elements, the first and last months in the analysis (definition of growing season)

Details

The method tracks the variation (slope) of the precipitation and potential evapotranspiration. It uses intra-year limits and the anomaly to the time series to identify exceptionally dry events.

The crit vector contains 4 elements: c1 = accumulation time for slope (in weeks) - Default = 4 c2 = threshold for combined anomaly (sum) - Default = 2 c3 = latency period of negative SPEI (in weeks) - Default = 8 c4 = allows positive SPEI over latency period - Default = 2

Value

The function returns a list with two data frames. One with weekly and detailed values from the function and a second with a summary of all evetns identified.

Examples

1
2
3
fd_Alencar <- alencar2021(vtime = df_d$time,
                          vprecipitation = df_d$precipitation,
                          vet0 = ET0$et0)

pedroalencar1/fdClassify2 documentation built on Dec. 22, 2021, 7:38 a.m.