Universal Code Hub Upgrade
Script Library
BasicDisasterBasic

Flood Mapping (Sentinel-1)

Map flood extent using Sentinel-1 SAR data.

Pipeline (1 steps)
  1. Map flood extent using Sentinel-1 SAR data.
Datasets
  • sentinel1
AOI modes
adminassetdraw
Simulated previewPaste the script in Earth Engine for live results
Outputs the script produces
map Map layers
map Area statistics
map Export GeoTIFF
Open Code Editor ↗
flood-s1.js · 10 lines
// Flood Mapping (Sentinel-1)
var before = ee.ImageCollection('COPERNICUS/S1_GRD')
  .filterDate('2019-01-01','2019-03-31').filterBounds(aoi)
  .filter(ee.Filter.eq('instrumentMode','IW')).select('VV').mean();
var after = ee.ImageCollection('COPERNICUS/S1_GRD')
  .filterDate(startDate, endDate).filterBounds(aoi)
  .filter(ee.Filter.eq('instrumentMode','IW')).select('VV').mean();
var diff = before.subtract(after);
var flood = diff.gt(3).rename('flood');
var result = flood.clip(aoi);
#flood#SAR#Sentinel-1#disaster