deaccumulate: Deaccumulation routine

View source: R/deaccumulate.R

deaccumulateR Documentation

Deaccumulation routine

Description

Used for deaccumulation of precipitation in certain model data (e.g. System4).

Usage

deaccumulate(x, dff)

Arguments

x

a vector of (accumulated) data.

dff

Logical. Is deaccumulation performed from the first value of the time series?.

Details

When leadMonth equals 0, there is not a previous day for starting deaccumulation, and therefore the first value of the time series is taken 'as is'. Otherwise, one value before the start has to be taken to preserve time series length (this is previously done by getForecastTimeDomain.S4).

Value

a vector of deaccumulated data

Author(s)

J. Bedia


SantanderMetGroup/loadeR.ECOMS documentation built on July 4, 2023, 4:29 a.m.