Heavy-tailed, clustered measurement error in field reference data for validating remotely sensed canopy height
Data and code to reproduce every number, table and figure in the study "Heavy-tailed, clustered measurement error in field reference data for validating remotely sensed canopy height" (A. Rasul; submitted to Environmental and Ecological Statistics). An earlier version of the study was titled "Ground-reference error limits validation of remotely sensed forest structure".
The manuscript itself is not in this repository, by design. Everything needed to reproduce the analysis is.
Field reference error for canopy height is a small, stable reading error contaminated by rare gross discrepancies that cluster in space and time. A single variance describes neither part well, and confidence intervals that treat repeat pairs as independent are too narrow.
| Result | Value |
|---|---|
| Reference error, robust (normalised MAD) | σ_ref = 0.15 m (95% CI 0.14–0.17); no trend over 20 campaigns (P = 0.60) |
| Reference error, variance-based | 0.46 m — pair bootstrap 95% CI 0.26–0.63; campaign (cluster) bootstrap 0.19–0.71 |
| Excess kurtosis of repeat differences | 103; 75% of the variance from six pairs (1.0%) |
| Where the gross discrepancies are | all six in the 1999 campaign, plot L1, one 10 m × 15 m patch, same sign |
| Without the 1999 campaign | variance-based σ_ref 0.21 m; kurtosis 3.6; largest difference 1.47 m |
| Dependence on height | weak: Spearman ρ = 0.18 (P < 0.001); robust σ_ref 0.08 m → 0.16–0.20 m |
| Grid points above the 15 m pole ceiling | 85.4% |
| Truncation bias in mean canopy height | −35.6% (21.9 m → 14.1 m) |
| Alpine ALS validation (n = 568) | RMSE 1.10 m; bias +0.82 m (56% of MSE); residual SD 0.73 m; robust SD 0.30 m |
| Upper bound on random reference error at the Alpine site | 0.73 m (the residual SD) |
| Reference share of random error variance | 4% at σ_ref = 0.15 m; 39% at 0.46 m |
| Biomass error variance attributable to ALS height | 20%; height exponent of the allometry 3.08 |
| Structure → biomass skill | r² = 0.75 across space, 0.30 through time |
| Repeat pairs needed for ±20% on σ_ref | 13 (Gaussian), 35 (without 1999), 660 (full record) — assuming independent pairs |
The original analysis writes its numbers to results/results.json and runs 16 automated
checks over them. The revision analysis writes results/revision/results_revision.json.
data/raw/ the seven input files, unmodified (provenance in data/README.md)
notebooks/ reference_error_analysis.ipynb — the original analysis, top to bottom;
draws Fig. 2 and Fig. 5
src/ revision_analysis.py — the revision analysis (robust vs variance-based
error, 1999 sensitivity, cluster bootstrap, Alpine decomposition);
draws Fig. 1, Fig. 3 and Fig. 4
make_checksums.py
figures/ Fig1–Fig5 exactly as in the manuscript (panel letters, no in-figure titles)
results/ results.json (original numbers + the 16 checks) and tables/;
revision/ (results_revision.json and the v2 tables). A notebook run also
writes results/figs/, which is not committed.
docs/ data-quality notes
git clone https://github.com/Azad77/canopy-reference-error.git
cd canopy-reference-error
conda env create -f environment.yml # or: pip install -r requirements.txt
conda activate canopy-reference-error
python src/revision_analysis.py # revision numbers + Fig1, Fig3, Fig4 (about 20 s)
jupyter nbconvert --to notebook --execute --inplace notebooks/reference_error_analysis.ipynb
cp results/figs/Fig2.png results/figs/Fig5.png figures/Both read only from data/raw/ and write only inside the repository. No network access is
needed. To read the data from somewhere else on disk, set GROUND_DATA_DIR to that folder.
Bootstrap intervals use fixed seeds, so a rerun reproduces the reported values exactly.
- σ_ref is measured at one tropical wet-forest site, one instrument, one crew. The numbers are not asserted to transfer; the form of the error (stable core, rare clustered gross discrepancies) is what the study expects to generalise.
- The gross discrepancies come from a single episode; their general frequency is unknown, and with 20 campaigns the cluster bootstrap is coarse (its distribution is bimodal).
- Above the 15 m pole ceiling the error model is empirically unconstrained, and the Alpine trees it is compared with are mostly above 15 m.
- The Alpine site has no repeat measurements, so its decomposition is a bound and a sensitivity range, not an estimate.
- The biomass workbook documents its values as kg per stem; they are Mg per stem. The
notebook demonstrates this rather than assuming it — see
docs/data-quality.md.
Code: MIT (LICENSE). Data: all input files are CC0 1.0 from public Dryad deposits and are
redistributed here freely; derived tables, figures and documentation are CC BY 4.0. See
LICENSE-DATA and data/README.md for per-file terms and the citations owed to the original
data providers.
See CITATION.cff. Please also cite the underlying datasets:
Clark, D., Clark, D. & Kellner, J. (2021). Canopy height distributions and estimated above-ground biomass across a tropical rain forest landscape in Costa Rica, 1992–2018 [Dataset]. Dryad. https://doi.org/10.5061/dryad.fn2z34tst
Dalponte, M., Frizzera, L. & Gianelle, D. (2019). Data from: How to map forest structure from aircraft, one tree at a time [Dataset]. Dryad. https://doi.org/10.5061/dryad.632dn89
Dalponte, M., Frizzera, L. & Gianelle, D. (2018). How to map forest structure from aircraft, one tree at a time. Ecology and Evolution 8, 5611–5618. https://doi.org/10.1002/ece3.4089
- 1.1.0 (2026-12-04) — Revision analysis added (
src/revision_analysis.py,results/revision/); figures regenerated for the revised manuscript, without in-figure titles; Fig. 2c labels tidied; README results updated (robust vs variance-based error, cluster bootstrap, corrected height and stationarity statements); Alpine data attribution corrected to Dalponte, Frizzera & Gianelle (2019), Dryad doi:10.5061/dryad.632dn89. - 1.0.0 (2026-08-27) — First release.