bricks_df: Bricks 'data.frame' function

Description Usage Arguments Value

View source: R/bricks_df.R

Description

Creates a new bricks object used to make coverages. A bricks object contains four mandatory attributes: 'file', 'key', 'band', and 'timeline'. The 'key' and 'band' attributes are extracted from file name. A bricks 'key' is a name that identifies all bands files of one brick. The bricks keys text are trimmed on the following default characters getOption("trim_keys", "_. "). A bricks 'band' is the name of the band.

Usage

1

Arguments

files

A character vector listing all raster files location to be used as bricks.

bands_df

A data.frame containing 'name', 'short_name', 'min', 'max', 'fill', and 'scale' columns for each band to be retrieved from files.

Value

A bricks data.frame object.


rolfsimoes/coverage documentation built on May 24, 2019, 9:48 p.m.