Skip to main content

koppengeiger Python Package

CI

The koppengeiger Python package generates rasters of Köppen-Geiger land-cover classification.

Gregory H. Halverson (they/them)
gregory.h.halverson@jpl.nasa.gov
NASA Jet Propulsion Laboratory 329G

Installation

This package is available on PyPi as a pip package called koppengeiger.

pip install koppengeiger

Loading Köppen-Geiger Land-Cover Classification Raster

The function load_koppen_geiger is used to load a subset of the Köppen-Geiger land-cover classification raster as a rasters.Raster object. The Köppen-Geiger land-cover classification is a widely used vegetation and climate classification system. More details about this classification system can be found at Koppen Earth.

Parameters

  • geometry (RasterGeometry, optional): The geometry to which the raster should be transformed. If None, the original raster geometry is used.

Returns

  • Raster: The loaded Köppen-Geiger land-cover classification raster, potentially transformed to the given geometry.

Usage

import numpy as np
import rasters as rt
import modland
from koppengeiger import load_koppen_geiger

geometry = modland.generate_modland_grid(8, 5, 2400)
land_cover = load_koppen_geiger(geometry)
land_cover

example koppen geiger map

References

Beck, H. E., Zimmermann, N. E., McVicar, T. R., Vergopolan, N., Berg, A., & Wood, E. F. (2018). Present and future Köppen-Geiger climate classification maps at 1-km resolution. Scientific Data, 5, 180214.

Metadata

Release files for koppengeiger 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for koppengeiger 1.1.0
File Size Uploaded
koppengeiger-1.1.0.tar.gz 5.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for koppengeiger 1.1.0
File Interpreter ABI Platform
koppengeiger-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.1 MB

Release files / koppengeiger-1.1.0.tar.gz

Download URL koppengeiger-1.1.0.tar.gz
Size 5.8 MB
Tags Source
SHA-256 checksum
How to use checksums
33c30f042c3119b39364eab6f22e66d7dc9654543b09aa38f25a07c5d579db58
BLAKE2b-256 checksum
How to use checksums
b48cb6eff9681ce7949e3d936d446d9b0e531227f9b9446ecf84062531eba9c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.23

Release files / koppengeiger-1.1.0-py3-none-any.whl

Download URL koppengeiger-1.1.0-py3-none-any.whl
Size 5.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4e61209e885ef2acfb3cf699eb901a9b720e16e361d5162ec6a773a77ec16064
BLAKE2b-256 checksum
How to use checksums
b701d433a478b5b1e879bb74c43acf41b6465bb96909b10eeaacbdac09a2b6be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.23

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page