Learn R Programming

hddtools (version 0.5)

KGClimateClass: 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.

References

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

Examples

Run this code
## Not run: ------------------------------------
#   # Define a bounding box
#   areaBox <- raster::extent(-3.82, -3.63, 52.41, 52.52)
#   # Get climate classes
#   KGClimateClass(areaBox = areaBox)
## ---------------------------------------------

Run the code above in your browser using DataLab