View source: R/makeSubset.CFS.R
makeSubset.CFS | R Documentation |
Makes a logical subset of a CFSv2 GeoGrid using the parameters specified by the user,
applying the java methods makeSubset and readDataSlice. Subroutine of loadSeasonalForecast.CFS
makeSubset.CFS(grid, latLon, runTimePars, foreTimePars)
grid |
An input java GeoGrid |
latLon |
A list of geolocation parameters, as returned by getLatLonDomainForecast |
runTimePars |
A list of run time definition parameters, as returned by |
foreTimePars |
A list of forecast time definition parameters, as returned by |
Dimensions of length one are dropped and the “dimnames” attribute is consequently modified. In the current version the Z dimension is ignored (and dropped), as it is not planned to include multi-level variables in the ECOMS-UDG by the moment. Because of the lagged-runtime configuration of CFSv2 for member definition, the dimension ‘ensemble’ doen not exist. In turn, this is created and included as a dimension in the returned array from the run time parameters passed by runTimePars and foreTimePars.
This function performs the temporal aggregations.
A list with the n-dimensional array of data and the modified foreTimePars with adjusted dates depending on the temporal aggregation performed.
J Bedia and A. Cofi\~no
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.