Skip to contents

The process_koppen_geiger() function imports and cleans raw climate classification data, returning a single SpatRaster object.

Usage

process_koppen_geiger(path = NULL, extent = NULL, ...)

Arguments

path

character(1). Path to Koppen-Geiger climate zone raster file

extent

numeric(4) or SpatExtent giving the extent of the raster if NULL (default), the entire raster is loaded

...

Placeholders.

Value

a SpatRaster object

Author

Insang Song

Examples

## NOTE: Example is wrapped in `\dontrun{}` as function requires a large
##       amount of data which is not included in the package.
if (FALSE) { # \dontrun{
kg <- process_koppen_geiger(
  path = "./data/koppen_geiger_data.tif"
)
} # }