getForecastTimeDomain.CFS: Calculates parameters for forecast time determination along...

getForecastTimeDomain.CFSR Documentation

Calculates parameters for forecast time determination along the runtime axes in CFS

Description

This is a subroutine of loadSeasonalForecast.CFS

Usage

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

Arguments

grid

a java ‘GeoGrid’

dic

dictionary information

runTimePars

A list of elements as returned by getRunTimeDomain.ECOMS

time

A character vector indicating the temporal filtering/aggregation of the output data. Default to "none", which returns the original time series as stored in the dataset. For sub-daily variables, instantantaneous data at selected verification times can be filtered using one of the character strings "00", "03", "06", "09", "12", "15", "18", "21",and "00" when applicable. If daily aggregated data are required use "DD". If the requested variable is static (e.g. orography) it will be ignored. See the next arguments for time aggregation options.

aggr.d

Character string. Function of aggregation of sub-daily data for daily data calculation. Currently accepted values are "none", "mean", "min", "max" and "sum".

aggr.m

Same as aggr.d, bun indicating the aggregation function to compute monthly from daily data. If aggr.m = "none" (the default), no monthly aggregation is undertaken.

Value

A list with the following elements:

  • forecastDatesA 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

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

  • deaccumFromFirstNULL 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.

  • dailyAggrLogical. Are the forecast time values going to be used for data aggregation?. This argument is passed to makeSubset.CFS to undertake the pertinent aggregation if TRUE.

Author(s)

J. Bedia


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