create masks of geographical regions¶
regionmask is a Python module that:
Support for shapefiles is provided via geopandas (tutorial).
arbitrary regions can be defined easily (tutorial).
From version 0.5
regionmask treats points on borders differently
and also considers poygon interiors (holes), e.g. the Caspian Sea in
natural_earth.land_110 region. The differences are illustrated in a
notebook. See also in What’s new
- Create 2D integer masks
- Create 3D boolean masks
- Working with geopandas (shapefiles)
- Create your own region
- Using regionmask with intake
- What’s New
- API reference
regionmask is published under a MIT license.