subsetSpatial | R Documentation |
Retrieves a grid that is a logical subset of the input grid along its 'lat' and 'lon' dimensions.
Multimember multigrids are supported. Subroutine of subsetGrid
.
subsetSpatial(grid, lonLim, latLim, outside)
grid |
Input grid to be subset (possibly a multimember multigrid). |
lonLim |
Vector of length = 2, with minimum and maximum longitude coordinates, in decimal degrees,
of the bounding box defining the subset. For single-point subsets, a numeric value with the
longitude coordinate. If |
latLim |
Same as |
outside |
Logical. Default to |
An attribute subset
with value subsetSpatial
is added to the xyCoords
component of the output grid.
A grid (or multigrid) that is a logical spatial subset of the input grid.
J. Bedia
Other subsetting:
getTemporalIntersection()
,
intersectGrid()
,
intersectGrid.spatial()
,
intersectGrid.time()
,
limitArea()
,
subsetCluster()
,
subsetDimension()
,
subsetGrid()
,
subsetMembers()
,
subsetRuntime()
,
subsetSeason()
,
subsetStation()
,
subsetVar()
,
subsetYears()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.