brick

Share:

Description

Added implemetation for 'brick' S4 method

@title brick

Usage

1
2
3
4
5
6
## S4 method for signature 'zoo'
brick(x, layer = 1, timerange = NULL, time = NULL,
  rows = 1:nrow(x), crs = NULL, use.read.raster.from.url = TRUE)

## S4 method for signature 'GeotopRasterBrick'
brick(x)

Arguments

x

a 'zoo' object returned by function pointer.to.maps.xyz.time or pointer.to.maps.xy.time or a GeotopRasterBrick-class object

layer

layer at which raster maps are imported. If is NULL, maps ara no-zlayer distributed and zoo must be returend by pointer.to.maps.xy.time

timerange

two-elememts vector containing the time range at which geotop maps are imported

time

vector of time instants at which geotop maps are imported

rows

rows of zoo correspondig to the geotop maps that are imported. By default all rows of zoo are considered. It is calculated by time or timerange if they are not set as NULL.

crs

coordinate system see RasterBrick-class

use.read.raster.from.url

logical value. Default is TRUE. If TRUE the RasterLayer are read with read.raster.from.url, istead of raster (otherwise). It is recomended in case the files whose paths are contained in x are remote and are 'http' addresses. In this cases the stand-alone method raster(x) does not always work and use.read.raster.from.url is necessary.

Value

a RasterBrick-class containing the geopop maps indicated by x, which is already in a GeotopRasterBrick-class object or a 'zoo' object returned by function pointer.to.maps.xyz.time or pointer.to.maps.xy.time.

See Also

getvalues.brick.at.depth,vertical.aggregate.brick.within.depth

Examples

1
2
# TON TOSS 
# See the examples in the functions listed in the 'SeeAlso' section

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.