getForecastTimeDomain: Selection of time slices of forecast datasets

View source: R/getForecastTimeDomain.R

getForecastTimeDomainR Documentation

Selection of time slices of forecast datasets

Description

Calculates parameters for forecast time determination along the runtime axis.

Usage

getForecastTimeDomain(grid, dataset, dic, runTimePars, time, aggr.d, aggr.m)

Arguments

grid

a java ‘GeoGrid’

dataset

character string of the dataset

dic

dictionary information

runTimePars

A list of elements as returned by getRunTimeDomain*

time

Verification time defined as a character string (e.g. “06” for data verifying at 06:00:00). Only applies for sub-daily datasets.

aggr.d

Aggregation function for subdaily to daily

aggr.m

Aggregation function from daily to monthly

Value

A list with the following elements:

forecastDates

A list with POSIXlt dates defining the start and end of the representative verification time. If start and end are identical, the variable is instantaneous and therefore the representative time interval is 0

foreTimeRangesList

A list of length i containing the java ranges defining the forecast times selected along the i-th run time axis.

foreTimeShift

Integer value (java format) giving the shift to start reading in the time axis

foreTimeStride

Integer value (java format) giving the stride for reading in the time axis

deaccumFromFirst

NULL if no deaccumulation is performed. TRUE or FALSE if deaccumulation is performed from the first time of the runtime axis or not respectively. If FALSE, an additional runtime is added at the beginning of each element of the runTimeList to avoid losing the first day when performing deaccumulation.

doDailyMean

Logical. Are the forecast time values going to be used for data aggregation?. This argument is passed to makeSubset family functions to undertake the pertinent aggregation if TRUE.

Author(s)

J.Bedia, S. Herrera


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