create masks of geographical regions¶
regionmask is a Python module that:
contains a number of defined regions, including: countries (from Natural Earth), a landmask and regions used in the scientific literature (the Giorgi regions 1 and the SREX regions 2).
can plot figures of these regions (tutorial) with matplotlib and cartopy
can be used to create masks of the regions for arbitrary longitude and latitude grids (tutorial and tutorial).
arbitrary regions can be defined easily (tutorial)
Note
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
Documentation¶
License¶
regionmask is published under a MIT license.