energy_analysis.canary_kgpv.plotting#

Plot class rasters with bounded display reads and explicit missing-data colors.

energy_analysis.canary_kgpv.plotting.plot_tile(path, ax, *, bounds=None, maximum_display_pixels=2000000, outline=True)[source]#

Read only a bounded display view; original TIFF pixels remain unchanged.

Native categorical values and display overviews use nearest-neighbour selection, never smoothing. The outline is the climate-input footprint, not a survey coastline. Gray identifies land lacking a complete input set.

Parameters:
  • path (Path)

  • ax (Axes)

  • bounds (tuple[float, float, float, float] | None)

  • maximum_display_pixels (int)

  • outline (bool)

Return type:

AxesImage