makeSubset.decadal: Makes a logical subset of a System4 GeoGrid

View source: R/makeSubset.decadal.R

makeSubset.decadalR Documentation

Makes a logical subset of a System4 GeoGrid

Description

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

Usage

makeSubset.decadal(
  grid,
  latLon,
  runTimePars,
  memberRangeList,
  foreTimePars,
  verticalPars
)

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.decadal

memberRangeList

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

foreTimePars

A list of forecast time definition parameters, as returned by getForecastTimeDomain.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, A. Cofino

References

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


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