summary_dir: Summary of multiple parameters in a raster directory

Description Usage Arguments Value Examples

View source: R/generalfunctions.R

Description

Listing major charateristics of raster inputs. Those characteristics are the dimensions, the resolution, the extent, the values (min, max) and the coordinate reference system.

Usage

1

Arguments

path

The path for the Raster* directory or list of Raster* to be analysed.

Value

Table with the raster parameters in columns

Examples

1
2
3
4
5
6
7
url <- "https://zenodo.org/record/3685230/files/SaoLourencoBasin.rda?download=1"
temp <- tempfile()
download.file(url, temp, mode = "wb") # downloading the SaoLourencoBasin dataset
load(temp)
# the acc_changes() function, with the SaoLourencoBasin dataset

summary_dir(raster::unstack(SaoLourencoBasin))

OpenLand documentation built on Nov. 2, 2021, 9:13 a.m.