--- license: mit tags: - geospatial - remote-sensing - forestry - wildfire - canopy-height - lidar - gedi - sentinel-2 - sentinel-1 - onnx library_name: onnx --- # FI-FoRest v1 (`fi_forest_v1.onnx`) Multi-scale 3D post-fire forest canopy height (`rh98`, `rh50`) and predictive uncertainty (`sigma`, in meters) model for Mediterranean wildfire landscapes. - **Source Code & Reproducible Pipelines:** https://github.com/parisid/fi-forest - **Hugging Face Model & Maps Hub:** https://huggingface.co/davideparisi/fi-forest ## Model Overview `FI-FoRest` fuses 23 continuous satellite layers to reconstruct gridded 3D canopy structure between sparse NASA GEDI orbital laser footprints across annual summer windows (2017-2026): - **Summer optical & indices (13 channels):** Sentinel-2 L2A bands (`B02`, `B03`, `B04`, `B05`, `B06`, `B07`, `B08`, `B8A`, `B11`, `B12`), `NDVI`, `NBR`, `NDMI`. - **Winter phenology (2 channels):** Winter Sentinel-2 `NDVI` and summer-minus-winter `NDVI` difference. - **Radar structure (4 channels):** Sentinel-1 RTC `VV`, `VH`, `VH-VV`, and `RVI`. - **Terrain geometry (4 channels):** Copernicus DEM GLO-30 `elevation`, `slope_deg`, `aspect_sin`, `aspect_cos`. > **Spatial Scale:** Output maps use a **20 m grid posting** aligned to Sentinel-2/Sentinel-1, while each prediction integrates **300 m x 300 m (`15 x 15` pixel)** contextual patches calibrated on **25 m** NASA GEDI footprints. ## ONNX Interface (`fi_forest_v1.onnx`) - **Archive size:** `~15 MB` (five-seed convolutional ensemble) - **Input tensor:** `raw_patch_23ch` (`float32`, shape `(batch, 23, 15, 15)`) - **Output tensors:** - `rh98_mean_m`: predicted top-of-canopy height (`m`) - `rh98_sigma_m`: predicted epistemic + aleatoric uncertainty (`m`) - `rh50_mean_m`: predicted median canopy height (`m`) - **CPU Throughput:** `~150 patches/s` (`~6 ha/s`) on a Standard Windows 11 CPU (Intel Core i5-9400F). ```python import numpy as np import onnxruntime as ort sess = ort.InferenceSession("fi_forest_v1.onnx", providers=["CPUExecutionProvider"]) patches = np.random.randn(16, 23, 15, 15).astype(np.float32) rh98_m, rh98_sigma_m, rh50_m = sess.run(None, {"raw_patch_23ch": patches}) ``` ## Hosted Repository Contents - `fi_forest_v1.onnx`: Five-seed ensemble ONNX model. - `maps/{site}_canopy_2017_2026.npz`: Annual 2017-2026 predicted `rh98`, `rh50`, and `sigma` UTM grids across 5 Mediterranean study sites (`vesuvio`, `monti_pisani`, `montiferru`, `aspromonte`, `north_evia`). - `effis/*.geojson`: Official Copernicus EFFIS burn-scar polygons intersecting each site. - `results/*.csv|json`: Benchmark, ablation, ONNX throughput, and EFFIS trajectory summary tables. ## License Code and model weights are released under the **MIT License**. Satellite data courtesy of NASA/UMD GEDI, ESA Copernicus Sentinel-1/2 and DEM, Microsoft Planetary Computer, and Copernicus EFFIS.