alsdb.processing.chm.compute_dsm#
- alsdb.processing.chm.compute_dsm(provider: TileDBProvider, store: ALSZarrStore, resolution: float = 1.0, first_returns_only: bool = True, bbox: tuple[float, float, float, float] | None = None, year: int | None = None, *, overwrite: bool = False, tile_size: float = 500.0, n_workers: int = 1) None[source]#
Rasterize maximum return elevation to a DSM and write into store.
- Parameters:
provider – TileDB provider instance.
store –
ALSZarrStoretarget.resolution – Grid cell size in metres.
first_returns_only – Use only first returns for a clean canopy-top signal.
bbox – Optional spatial filter
(min_x, min_y, max_x, max_y).year – Survey year filter.
overwrite – If
False(default) and DSM data for year already exists in the store, the computation is skipped.tile_size – Sub-tile width/height in metres (default 500 m).
n_workers – Parallel workers (default 1 = sequential).