calc_seasonality: Calculate time series based on seasonality

View source: R/calc_seasonality.R

calc_seasonalityR Documentation

Calculate time series based on seasonality

Description

Function calculates a daily time series of a (vegetation) variable based on information about the seasonality of that variable.

Usage

calc_seasonality(rainy_season, seasonality, timezone = "")

Arguments

rainy_season

data.frame giving start and end dates of the rainy season. Output of function rainy_season. See doc for information on data structure.

seasonality

data.frame or matrix giving id value (corresponding to first column of rainy_season) and the respective 4 node values of the target variable: First value: Start day of year (DOY) of rainy season. 2: DOY when climax of vegetation is reached. 3: End DOY of rainy season (begin of vegetation degradation). 4: End of main phase of vegetation degradation.

timezone

Timezone the date-time values of the output object shall refer to. If nothing is specified your system's timezone is used.

Value

Object of class xts with daily values of the target variable. Columns refer to the stations specified in the first column of the input object rainy_season.

Author(s)

Tobias Pilz tpilz@uni-potsdam.de

References

Function uses subroutine in FORTRAN 90 code extracted from the hydrological model WASA. General model description (information on vegetation seasonality see chapter 4.3.3):

Guentner, A. (2002): Large-scale hydrological modelling in the semi-arid North-East of Brazil. PIK Report 77, Potsdam Institute for Climate Impact Research, Potsdam, Germany.

lumpR package introduction with literature study and sensitivity analysis:
Pilz, T.; Francke, T.; Bronstert, A. (2017): lumpR 2.0.0: an R package facilitating landscape discretisation for hillslope-based hydrological models. Geosci. Model Dev., 10, 3001-3023, doi: 10.5194/gmd-10-3001-2017


tpilz/lumpR documentation built on Aug. 5, 2023, 1:31 a.m.