i7aof.imbie

High-level API for IMBIE basin datasets and masks. See i7aof.imbie for developer details.

i7aof.imbie.download.download_imbie()

Download the geojson files that define the IMBIE basins

i7aof.imbie.masks.make_imbie_masks(config)

Generate IMBIE2 Antarctic basin masks on the ISMIP grid.

This function downloads IMBIE2 basin shapefiles (if needed), rasterizes the polygons onto the ISMIP grid using a point-in-polygon test (via inpoly), and extends each basin mask into the ocean using a distance transform. The final basin map is saved as a NetCDF file.

Parameters:

config (mpas_tools.config.MpasConfigParser) – Configuration object providing resolution and file paths.