alsdb.utils.viz_raster.plot_chm#
- alsdb.utils.viz_raster.plot_chm(store: ALSZarrStore, resolution: float = 1.0, year: int | None = None, cmap: str = 'Greens', vmin: float = 0.0, vmax: float | None = None, ax=None)[source]#
Plot the Canopy Height Model from store.
- Parameters:
store –
ALSZarrStorecontaining a"chm"variable.resolution – Resolution group in metres (default 1 m).
year – Survey year. Required when the store has more than one time step.
cmap – Matplotlib colormap (default
"Greens").vmax (vmin /) – Colour scale limits.
vmaxdefaults to the 98th percentile of vegetation pixels (HAG > 0.5 m).ax – Matplotlib axes. A new figure is created if
None.
- Return type: