Learn R Programming

sits (version 1.1.0)

.raster_crop_metadata: Raster package internal crop raster function

Description

Raster package internal crop raster function

Usage

.raster_crop_metadata(r_obj, ..., block = NULL, bbox = NULL)

Value

Subset of a raster object as defined by either block or bbox parameters

Arguments

r_obj

raster package object to be written

...

additional parameters to be passed to raster package

block

numeric vector with names "first_col", "ncols", "first_row", "nrows".

bbox

numeric vector with names "xmin", "xmax", "ymin", "ymax".

Author

Rolf Simoes, rolf.simoes@inpe.br