Script Library
BasicAir QualityAdvanced
Methane Emission Hotspot Detection
Identify CH₄ emission hotspots using temporal anomaly analysis from Sentinel-5P.
Pipeline (1 steps)
- Identify CH₄ emission hotspots using temporal anomaly analysis from Sentinel-5P.
Datasets
- s5p-ch4
Simulated previewPaste the script in Earth Engine for live results
Outputs the script produces
map Map layers
map Heatmap
map Zonal stats table
map Export GeoTIFF
map Time series chart
// Methane Hotspot Detection
var ch4All = ee.ImageCollection('COPERNICUS/S5P/OFFL/L3_CH4')
.filterBounds(aoi).select('CH4_column_volume_mixing_ratio_dry_air');
var baseline = ch4All.filterDate('2019-01-01','2022-12-31').mean();
var current = ch4All.filterDate(startDate, endDate).mean();
var anomaly = current.subtract(baseline);
var hotspots = anomaly.updateMask(anomaly.gt(anomaly.reduceRegion({
reducer: ee.Reducer.percentile([95]),
geometry: aoi, scale: 7000, maxPixels: 1e9
}).values().get(0)));
var result = anomaly.clip(aoi);# Methane Hotspot Detection
import ee
ch4_all = (ee.ImageCollection('COPERNICUS/S5P/OFFL/L3_CH4')
.filterBounds(aoi).select('CH4_column_volume_mixing_ratio_dry_air'))
baseline = ch4_all.filterDate('2019-01-01','2022-12-31').mean()
current = ch4_all.filterDate(start_date, end_date).mean()
anomaly = current.subtract(baseline)
result = anomaly.clip(aoi)