API Reference#
This page provides an auto-generated summary of alsDB’s public API. For usage examples and conceptual background, refer to the alsDB User Guide guide.
Core classes#
|
Write interface for the ALS TileDB array. |
|
Read interface for the ALS TileDB array. |
|
Processes a single LAZ tile into arrays ready for TileDB ingestion. |
Storage#
|
Zarr-backed store for ALS gridded products. |
TileDB backend#
|
Base class for managing low-level interactions with TileDB arrays for ALS data. |
|
Schema and domain configuration for the ALS TileDB array. |
|
Build a sparse TileDB array schema for LAS point-cloud data. |
Tile and tile name#
|
Wrapper around any LAZ/LAS tile file. |
|
Metadata derived from a PNOA LAZ tile filename. |
|
Parse a PNOA LAZ filename and return a |
Processing#
Canopy Height Model#
|
Compute a Canopy Height Model and write it into store. |
|
Interpolate ground points (Class 2) to a DTM and write into store. |
|
Rasterize maximum return elevation to a DSM and write into store. |
|
Compute DTM, DSM, and CHM in one call, writing all into store. |
Gap fraction and LAI#
Compute gap fraction (and optionally effective LAI) and write into store. |
Structural metrics and biomass#
Compute LiDAR structural metrics and write them into store. |
|
Estimate Above-Ground Biomass (AGB) and write into store. |
|
Næsset-style power-law AGB model (Mg ha⁻¹). |
|
Fit Næsset power-law AGB coefficients (a, b, c) to field-plot data. |
|
Wrap a fitted scikit-learn estimator as a |
Multi-temporal change detection#
Compute per-pixel change between two survey years for variable. |
Individual tree segmentation#
|
Segment individual trees using |
Waveform simulation#
Simulate a GEDI large-footprint waveform at a given UTM location. |
|
Simulate waveforms for a batch of shot locations in parallel. |
Tiling utilities#
|
Partition bbox into a grid of sub-tiles. |
Run worker_fn over all tiles, sequentially or in a thread pool. |
|
|
Return the CRS string stored in the TileDB array metadata. |
Return the bounding box of actually stored data via |
|
Return |
|
Return |
Visualisation#
2-D point-cloud plots#
|
Four-panel overview figure: DSM with hillshade, RGB, intensity, classification. |
|
Plot a Digital Surface Model (max Z per cell), optionally with hillshade. |
|
Plot an RGB orthoimage from the colourised point cloud. |
|
Plot a mean-intensity raster (greyscale). |
|
Plot a classification map with standard LAS colour coding. |
|
Two-panel waveform plot for a |
|
Two-panel figure matching the GEDI L2A canonical waveform representation. |
|
3-D waterfall plot of simulated GEDI-like waveforms. |
|
3-D scatter plot of the point cloud. |
Gridded product plots#
|
Plot the Canopy Height Model from store. |
|
Plot the Digital Terrain Model from store, optionally with hillshade. |
|
Plot the Digital Surface Model from store, optionally with hillshade. |
|
Plot Above-Ground Biomass (AGB) from store. |
|
Plot gap fraction from store. |
|
Plot effective LAI from store. |
|
Multi-panel overview of LiDAR structural metrics. |
Three-panel overview: DTM | DSM | CHM. |
|
Four-panel overview: DTM | DSM | CHM | AGB. |
Utilities#
|
Enum representing PNOA ALS data product types. |
|
Configure alsdb logging. |