---
id: "koppen_climate_class"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["environment", "geo", "science"]
langs: ["common"]
quality: 80
url: "https://registry.apicrafter.io/datatype/koppen_climate_class"
---

# Köppen-Geiger climate class (`koppen_climate_class`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Code of a climate type in the Köppen-Geiger classification. The first letter is the main group (A tropical, B arid, C temperate, D cold, E polar), the second the precipitation pattern (f, m, s, w; W desert and S steppe for B; T tundra and F frost for E) and the third the temperature (h, k for B; a, b, c, d for C and D), for example Cfb or BWh. The map of Beck et al. (2018), after Peel et al. (2007), has 30 classes and merges As into Aw, while the map of Kottek et al. (2006) keeps As. The codes are case-sensitive.

- Personal data (PII): no
- Categories: Environment (protected areas, biodiversity, water, weather, emissions, waste) (environment), Geographic identifiers (geo), Scientific (science)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:A[fmsw]|B[SW][hk]|C[fsw][abc]|D[fsw][abcd]|E[FT])$
```

## Examples

- `Af` — Tropical rainforest; class 1 of Beck et al. 2018
- `BWh` — Hot desert; class 4 of Beck et al. 2018
- `Dsd` — Cold climate with a dry summer and a very cold winter; class 20 of Beck et al. 2018
- `As` — Tropical savanna with a dry summer; class of the Kottek et al. 2006 map
- `Cfd` (invalid example) — The third letter d (very cold winter) is only used for D climates
- `AF` (invalid example) — Upper-case second letter; the codes are case-sensitive

## Translations

- ru: Класс климата по Кёппену — Гейгеру: Код типа климата в классификации Кёппена — Гейгера из двух или трёх букв, например Cfb или BWh. Первая буква обозначает основную группу климатов (A, B, C, D, E).

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/K%C3%B6ppen_climate_classification>
- doc: <https://doi.org/10.1038/sdata.2018.214>
- doc: <https://koeppen-geiger.vu-wien.ac.at/present.htm>

## Quality

Score 80/100. Missing: mapping (Wikidata, Schema.org, ...), detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/koppen_climate_class.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/environment/koppen_climate_class.yaml>
