View source: R/getTimeDomain.R
getTimeDomain | R Documentation |
Performs the selection of time slices based on season and year specification
(including year-crossing seasons). Sub-routine of loadGridDataset
getTimeDomain(
grid,
dic,
season,
years,
time,
aggr.d,
aggr.m,
threshold,
condition
)
grid |
A java ‘GeoGrid’ |
dic |
dictionary output, as returned by |
season |
Vector of months defining the requested season. Passed by
|
years |
Vector of selected years. Passed by |
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 |
The indices of time positions are returned as a list, in order to read
discontinuous data in the time dimension from NetCDF files in a more efficient way
(i.e. seasons for different years). The corresponding calendar dates (as POSIXct), are returned
in the dateSliceList
element.
A list with the selected verification dates and a list
with the index values defined as java objects of the class ‘ucar.ma2.Range’.
Output passed to loadGridDataset
.
J. Bedia
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.