Learn R Programming

OpenLand (version 1.0.5)

summary_dir: Summary of multiple parameters in a raster directory

Description

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

Usage

summary_dir(path)

Value

Table with the raster parameters in columns

Arguments

path

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

Examples

Run this code
# \donttest{
url <- "https://zenodo.org/record/3685230/files/SaoLourencoBasin.rda?download=1"
if (OpenLand:::.openland_try_download_and_load_rda(url,
  object = "SaoLourencoBasin", timeout = 10,
  cache = FALSE
)) {
  summary_dir(raster::unstack(SaoLourencoBasin))
}
# }

Run the code above in your browser using DataLab