Map likely tree-canopy loss after a hurricane from free Sentinel-2 imagery, correct for normal seasonal change, and report loss area with honest accuracy estimates.
Hurricanes like Helene (2024) destroy urban and forest canopy over huge areas. That changes flood risk, summer heat and habitat for years. Field surveys can't cover that much ground quickly, so this workflow gives a fast, repeatable first estimate that you can then validate. It works for any storm and any US counties: change the settings at the top of the script.
-
Cloud-free composites: median Sentinel-2 NDVI from the before and after windows, masked with Google's Cloud Score+.
-
Seasonal correction: NDVI naturally drops in autumn, so a raw before/after difference mixes storm damage with leaf color change. The script repeats the same calendar windows one year earlier and subtracts that normal change:
dNDVI_corrected = (post − pre)[storm year] − (post − pre)[baseline year] -
Tree mask: only pixels that were tree cover before the storm (ESA WorldCover 10 m) are classified, as moderate (dNDVI < −0.10) or severe (dNDVI < −0.20) likely loss. Both thresholds are settings.
-
Area by county: hectares of tree cover and of moderate and severe loss, plus loss as a percentage of tree cover. Areas are computed at 10 m with true pixel area.
-
Accuracy assessment: the script exports a stratified random sample of points (150 per class by default). You label each point from high-resolution post-storm imagery, such as NOAA emergency response imagery. Then
scripts/accuracy.pycomputes area-weighted overall, user's and producer's accuracy and bias-corrected loss area with a 95% confidence interval, following Olofsson et al. (2014).
- Open
gee/storm_canopy_change.jsin the Earth Engine Code Editor. - Set
COUNTY_GEOIDS, thePREandPOSTdate windows and the thresholds. The default is Hurricane Helene in Buncombe County, NC. - Run it, look at the map layers, and start the three exports in the Tasks tab: county table, GeoTIFF (EPSG:5070) and validation points.
- Label the validation points by adding a
referencecolumn (0 = no loss, 1 = moderate, 2 = severe, or just 0/1), then:
pip install -r requirements.txt python scripts/accuracy.py --points validation_points_labeled.csv --areas canopy_change_Helene_by_county.csv
Coming soon.
- dNDVI picks up any loss of green vegetation: blowdown, defoliation, landslides, flooding sediment and post-storm clearing. "Likely canopy loss" means exactly that, which is why the validation step matters.
- A 10 m pixel can't see single street trees, so urban canopy loss is underestimated. Lidar or sub-meter imagery is the next step for cities.
- The baseline year can have its own anomalies, such as drought. Using a mean of several prior years would make the correction more robust.
Rajib Hossain, PhD researcher in GIScience & environmental health, University of Georgia · LinkedIn
- Olofsson, P., Foody, G. M., Herold, M., Stehman, S. V., Woodcock, C. E., & Wulder, M. A. (2014). Good practices for estimating area and assessing accuracy of land change. Remote Sensing of Environment, 148, 42–57.
- Sentinel-2 L2A harmonized surface reflectance (
COPERNICUS/S2_SR_HARMONIZED), Copernicus / ESA - Cloud Score+ (
GOOGLE/CLOUD_SCORE_PLUS/V1/S2_HARMONIZED), Google - ESA WorldCover 10 m 2021 v200 (
ESA/WorldCover/v200) - US Census TIGER 2018 counties (
TIGER/2018/Counties)
MIT License