compass.landice.mesh.plot_hull_diagnostic
- compass.landice.mesh.plot_hull_diagnostic(hull_path, dest_scrip, source_bbox_files, domain, masked_scrip=None, logger=None)[source]
Save a diagnostic PNG (
mesh_boundary.png) showing the masking geometry.- Parameters:
hull_path (matplotlib.path.Path) – Buffered concave boundary of the destination mesh.
dest_scrip (str) – Destination SCRIP file (used to scatter MALI domain extent).
source_bbox_files (list of tuple) – Each entry is
(filepath, label, edgecolor)for a source dataset whose bounding box should be drawn.domain (str) – Projection domain key (e.g. ‘greenland’, ‘antarctica’) or a proj4/EPSG string used to build the planar transformer.
masked_scrip (str or None, optional) – Path to a masked source SCRIP file. If provided and the file exists, active (masked-in) source cells are plotted as an ice-sheet extent indicator.
logger (logging.Logger, optional) – Logger for status messages; falls back to print if None.