Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

NBRplus-Lawu-Geemap-Python: NBRplus_Lawu (1).ipynb

Burned Area Mapping of Mount Lawu Using NBR+ and Sentinel-2

Open In Colab Open in Earth Engine GitHub

Author: Defani Arman Alfitriansyah


Overview

This notebook maps burned areas from the Mount Lawu forest fire (August 30 – September 29, 2023) using the Normalized Burn Ratio Plus (NBR+) index applied to Sentinel-2 SR Harmonized imagery via Google Earth Engine.

The bi-temporal approach computes the difference between pre-fire and post-fire NBR+ composites (dNBR+) to delineate and classify burn severity. NBR+ was proposed by Alcaras et al. (2022) as an enhancement over the classical NBR: by incorporating the Blue (B2) and Green (B3) bands alongside NIR (B8A) and SWIR2 (B12), NBR+ inherently suppresses false positives from water bodies and clouds without requiring external masks.

Index formula (Alcaras et al., 2022):

NBR+=B12−B8A−B3−B2B12+B8A+B3+B2\text{NBR+} = \frac{B12 - B8A - B3 - B2}{B12 + B8A + B3 + B2}

Bi-temporal delta:

ΔNBR+=NBR+post-fire−NBR+pre-fire\Delta\text{NBR+} = \text{NBR+}_{\text{post-fire}} - \text{NBR+}_{\text{pre-fire}}
Study AreaMount Lawu, Central Java / East Java border, Indonesia
Coordinates111°11’39" E, 7°37’37" S
SatelliteSentinel-2A SR Harmonized
Pre-fire compositeAugust 1–29, 2023 (median)
Post-fire compositeOctober 1–31, 2023 (median)
Spatial resolution20 m

1. Install Dependencies

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.8/11.8 MB 79.1 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 101.7 MB/s eta 0:00:00

2. Import Libraries and Authenticate


3. Define Area of Interest (AOI)

The AOI covers the Mount Lawu forest boundary spanning Karanganyar (Central Java), Magetan, and Ngawi (East Java).

Loading...

4. Load and Preprocess Sentinel-2 SR Collection

Cloud masking is applied using the Cloud Score+ product (cs_cdf >= 0.6). Only scenes with less than 20% cloud cover are retained. Pre-fire and post-fire composites are built from median pixel values.

Loading...
Pre-fire image size: ['B1', 'B2', 'B3', 'B4', 'B5', 'B6', 'B7', 'B8', 'B8A', 'B9', 'B11', 'B12', 'AOT', 'WVP', 'SCL', 'TCI_R', 'TCI_G', 'TCI_B', 'MSK_CLDPRB', 'MSK_SNWPRB', 'QA10', 'QA20', 'QA60', 'MSK_CLASSI_OPAQUE', 'MSK_CLASSI_CIRRUS', 'MSK_CLASSI_SNOW_ICE', 'cs_cdf']

5. Compute NBR+ and dNBR+

NBR+ is computed for both the pre-fire and post-fire composites. The bi-temporal delta (dNBR+) isolates fire-induced spectral change. Pixels with dNBR+ >= 0.3 are classified as burned.

Loading...

6. Compute Dynamic Stretch Statistics

Min/max values are derived from the post-fire NBR+ raster over the AOI to produce a data-driven colormap stretch for visualization.

Loading...
NBR+ range — min: -0.8201, max: 0.4796

7. Generate 2×3 Visualization Panel

The panel displays six maps for direct comparison:

  • A / B: False color composites (B11/B8/B4) before and after the fire

  • C: Post-fire composite overlaid with the burned area mask

  • D / E: Pre-fire and post-fire NBR+ rasters

  • F: Burned area mask only

Loading...
<Figure size 1800x1200 with 7 Axes>
Figure saved as NBRplus_Lawu_Panel.png

References

  • Alcaras, E., Costantino, D., Guastaferro, F., Parente, C., & Pepe, M. (2022). Normalized Burn Ratio Plus (NBR+): A New Index for Sentinel-2 Imagery. Remote Sensing, 14, 1727. Alcaras et al. (2022)

  • Garcia, M. J. L., & Caselles, V. (1991). Mapping burns and natural reforestation using thematic mapper data. Geocarto International, 6(1), 31–37. García & Caselles (1991)

  • Salsabella, R. I., & Arrofiqoh, E. N. (2024). Mapping the severity level of forest fire area in Mount Lawu using Landsat 9 imagery. JGISE, 7(2), 151–160. Salsabella & Arrofiqoh (2025)

  • USGS. (2022). Landsat 9 Data Users Handbook v1.0. NASA.

  • Wu, Q. (2020). geemap: A Python package for interactive mapping with Google Earth Engine. JOSS, 5(51), 2305. Wu (2020)

  • ESA. Sentinel-2 Level-2A Surface Reflectance. Copernicus Programme. https://developers.google.com/earth-engine/datasets/catalog/COPERNICUS_S2_SR_HARMONIZED

References
  1. Alcaras, E., Costantino, D., Guastaferro, F., Parente, C., & Pepe, M. (2022). Normalized Burn Ratio Plus (NBR+): A New Index for Sentinel-2 Imagery. Remote Sensing, 14(7), 1727. 10.3390/rs14071727
  2. García, M. J. L., & Caselles, V. (1991). Mapping burns and natural reforestation using thematic Mapper data. Geocarto International, 6(1), 31–37. 10.1080/10106049109354290
  3. Salsabella, R. I., & Arrofiqoh, E. N. (2025). Pemetaan Tingkat Keparahan Area Kebakaran Hutan di Gunung Lawu Menggunakan Citra Landsat 9. JGISE: Journal of Geospatial Information Science and Engineering, 7(2), 151. 10.22146/jgise.100721
  4. Wu, Q. (2020). geemap: A Python package for interactive mapping with Google Earth Engine. Journal of Open Source Software, 5(51), 2305. 10.21105/joss.02305