windwhisper.settlement

Fetch layer representing human settlements.

Functions

get_population_subset(bbox)

Extract population data within the requested bounding box.

Module Contents

windwhisper.settlement.get_population_subset(bbox)

Extract population data within the requested bounding box.

Parameters:

bbox (shapely.geometry.Polygon) – Bounding box in geographic coordinates (EPSG:4326).

Returns:

Population raster subset covering the bounding box.

Return type:

xarray.DataArray