Render¶
Georeferenced PNG with coastlines and graticule, paper section 4.2.
Render the DEBRA RGB composite to a georeferenced PNG with map overlays.
Paper section 4.2: “Georeferenced metainformation such as coastlines, political boundaries, latitude/longitude grid, and date/time information … are overlaid to the R/G/B imagery.” Uses cartopy on the scene’s projection, same styling as the quicklook renderer.
- shachen.render.render_debra_png(rgb: ndarray, area: AreaDefinition, when: datetime, out_path: Path, title: str | None = None, dpi: int = 150) Path[source]¶
Write
rgbas a PNG with coastlines, borders, and a lat/lon grid.rgbmust be a(y, x, 3)uint8 array (fromshachen.imagery.to_uint8()) onarea’s grid — anything else raises ValueError.whenis the scan start time (UTC), used in the default title"DEBRA-Dust — %Y-%m-%d %H:%M UTC". Renders on the Agg backend and returnsout_path.