KGClimateClass: Function to identify the updated Koppen-Greiger climate zone...

View source: R/KGClimateClass.R

KGClimateClassR Documentation

Function to identify the updated Koppen-Greiger climate zone (on a 0.1 x 0.1 degrees resolution map).

Description

Given a bounding box, the function identifies the overlapping climate zones.

Usage

KGClimateClass(areaBox = NULL, updatedBy = "Peel", verbose = FALSE)

Arguments

areaBox

bounding box, a list made of 4 elements: minimum longitude (lonMin), minimum latitude (latMin), maximum longitude (lonMax), maximum latitude (latMax)

updatedBy

this can either be "Kottek" or "Peel"

verbose

if TRUE more info are printed on the screen

Value

List of overlapping climate zones.

Author(s)

Claudia Vitolo

References

Kottek et al. (2006): http://koeppen-geiger.vu-wien.ac.at/. Peel et al. (2007): https://people.eng.unimelb.edu.au/mpeel/koppen.html.

Examples

## Not run: 
  # Define a bounding box
  areaBox <- terra::ext(-3.82, -3.63, 52.41, 52.52)
  # Get climate classes
  KGClimateClass(areaBox = areaBox)

## End(Not run)


ropensci/hddtools documentation built on July 24, 2022, 6:29 p.m.