makeSubset.GS5: Makes a logical subset of a GloSEA-5 GeoGrid

View source: R/makeSubset.GS5.R

makeSubset.GS5R Documentation

Makes a logical subset of a GloSEA-5 GeoGrid

Description

Makes a logical subset of a System4 GeoGrid using the parameters specified by the user, applying the java methods makeSubset and readDataSlice. Subroutine of loadSeasonalForecast.GS5

Usage

makeSubset.GS5(grid, latLon, runTimePars, foreTimePars)

Arguments

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 getRunTimeDomain.ECOMS

foreTimePars

A list of forecast time definition parameters, as returned by getForecastTimeDomain.S4

memberRangeList

A list of ensemble java ranges as returned by getMemberDomain.S4

verticalPars

A list with vertical level definition, as returned by getVerticalLevelPars.ECOMS. Only the last element (the kava index position) is used

Details

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.

Value

A list containing a n-dimensional array and the (possibly) modified foreTimePars object with the corrected dates in case of time aggregations. Dimensions are labelled by the “dimnames” attribute.

Author(s)

J Bedia

References

http://www.unidata.ucar.edu/software/thredds/v4.3/netcdf-java/v4.3/javadocAll/ucar/nc2/dt/grid/GeoGrid.html


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