femic.lidar_terrain
Native-grid terrain raster, slope, and zonal-statistic helpers.
P79.3 accepts existing DTM/DEM/DSM rasters and provides a small point-cloud cell-aggregation API for callers that already hold sample points. It does not read LAZ/COPC files, classify ground returns, reproject, or resample silently.
Functions
|
Build terrain products and write JSON/CSV QA reports. |
|
Compute zonal statistics over aligned zones and values rasters. |
|
Derive percent slope from a single-band elevation raster. |
|
Read normalized metadata for one terrain raster without loading values. |
|
Rasterize points into a native-grid DTM/DSM-like surface. |
|
Load a single-band terrain grid and its validity mask. |
|
Require the native-grid slope/flow contract for a terrain raster. |
|
Write a terrain QA report as pretty-printed JSON. |
|
Write a one-row-per-product terrain QA summary CSV. |
Classes
|
One loaded terrain grid with validity mask and metadata. |
Raised when a terrain raster, slope, or zonal operation is invalid. |
|
|
QA report for a terrain-product build. |
|
Normalized metadata for one terrain raster. |
|
One derived terrain raster and its QA summary. |
|
Statistics for one positive zone ID. |
|
Zonal-statistic outcome for one zones/values raster pair. |