GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rajibhossain26/storm-canopy-change: Hurricane tree-canopy loss from Sentinel-2 in Google Earth Engine, with seasonal correction, county loss areas and area-weighted accuracy assessment

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
gee
gee
 
 
scripts
scripts
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Storm Canopy Change

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.

tests Google Earth Engine Sentinel-2

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.

Method

  1. Cloud-free composites: median Sentinel-2 NDVI from the before and after windows, masked with Google's Cloud Score+.

  2. 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]

  3. 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.

  4. 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.

  5. 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.py computes area-weighted overall, user's and producer's accuracy and bias-corrected loss area with a 95% confidence interval, following Olofsson et al. (2014).

Run it

  1. Open gee/storm_canopy_change.js in the Earth Engine Code Editor.
  2. Set COUNTY_GEOIDS, the PRE and POST date windows and the thresholds. The default is Hurricane Helene in Buncombe County, NC.
  3. Run it, look at the map layers, and start the three exports in the Tasks tab: county table, GeoTIFF (EPSG:5070) and validation points.
  4. Label the validation points by adding a reference column (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

Results

Coming soon.

Limitations

  • 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.

Author

Rajib Hossain, PhD researcher in GIScience & environmental health, University of Georgia · LinkedIn

References & data

  • 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

About

Hurricane tree-canopy loss from Sentinel-2 in Google Earth Engine, with seasonal correction, county loss areas and area-weighted accuracy assessment

Topics

accuracy-assessmentchange-detectiondisaster-resiliencegisgoogle-earth-enginehurricanendviremote-sensingsentinel-2tree-canopy

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.