regionmask

JSON →
library 0.13.0 ·python
verified Jun 7, 2026

regionmask is a Python library for creating masks of geographic regions for arbitrary grids, supporting both raster and vector data. It works with geopandas, xarray, shapely, and cartopy. Version 0.13.0, released regularly, requires Python >=3.10.