makeSubset.seasonal: Makes a logical subset of a seasonal forecast GeoGrid

View source: R/makeSubset.seasonal.R

makeSubset.seasonalR Documentation

Makes a logical subset of a seasonal forecast GeoGrid

Description

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

Usage

makeSubset.seasonal(
  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

memberRangeList

A list of ensemble java ranges as returned by getMemberDomain

foreTimePars

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

verticalPars

A list with vertical level definition, as returned by getVerticalLevelPars. Only the last element (the java 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.

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.