Rebuild the maps behind “Where the smoke goes” from public satellite data. We pull NASA fire detections and Copernicus smoke forecasts in
Google Earth Engine, export them as GeoTIFFs and tables, and finish the maps in QGIS.
By Caleb TuttyLevel · SolidDuration · ~3 hoursTools · Earth Engine · QGIS 4Updated October 2026
In September I published a day-by-day map of Indonesia’s
2026 fire season: where the fires were, where the smoke went, and how this year compares with
every year since 2001. All of it came from free, public data. This workshop walks through
rebuilding it yourself, one step at a time, with the scripts, the data sources and screenshots
of each stage.
By the end you will have:
a daily fire footprint grid for maritime Southeast Asia, from NASA’s MODIS fire detections;
daily smoke and surface PM2.5 grids from the Copernicus Atmosphere Monitoring Service;
a province-by-month table of fire activity on Borneo from 2001 to 2026;
a QGIS project that styles, animates and lays out all three.
Where we’re going · QGIS print layout Fires and smoke on 14 September 2026, the day Singapore’s surface pollution peaked in the
model. Every layer here is built during the workshop.
How to run this. There are ten units, each ending with a checkpoint. Units 1–6 happen in
the browser, in the Earth Engine Code Editor. Units 7–10 happen in QGIS. If you can’t get an
Earth Engine account, the detour after Unit 6 covers downloading from the source websites, and you can download my exports (6 MB) and start at
Unit 7.
You’ll need a Google account, a browser, and QGIS 3.38 or
later (the screenshots use QGIS 4.2). You don’t need to know JavaScript: the scripts are short
and you can paste them as they are. Comfort with layers and styling in any GIS will help in the
second half.
The pipeline at a glance
Three public datasets, one processing platform, one desktop GIS.
Data
Who makes it
What it measures
Resolution
Earth Engine ID
Active fires
NASA FIRMS, MODIS Collection 6.1
Thermal anomalies seen by the Terra and Aqua satellites, about four passes a day
1 km, daily
FIRMS
Smoke and PM2.5
ECMWF, Copernicus Atmosphere Monitoring Service (CAMS)
A global model of aerosols that assimilates satellite observations
0.4°, 3-hourly
ECMWF/CAMS/NRT
Provinces
FAO Global Administrative Unit Layers (GAUL) 2015
Admin-1 boundaries
vector
FAO/GAUL/2015/level1
Basemap
Natural Earth
Land, ocean, countries, cities
1:50m
download
Earth Engine does the heavy lifting: filtering 26 years of fire detections and thousands of
model steps down to a few megabytes. Its outputs go to Google Drive as GeoTIFFs and CSVs, and
QGIS turns those into maps.
The key idea throughout is the fire footprint: for each day, the area of 1 km pixels with
at least one detection. It’s a measure of fire activity that you can compare across days,
provinces and years. It isn’t burned area: a 1 km pixel lights up whether one hectare or a
hundred are burning.
Unit 1 — Accounts and tools (~15 min)
Earth Engine. Go to code.earthengine.google.com/register and sign in with a Google account. Choose Unpaid usage if you qualify (research, education,
non-profit or personal projects). Earth Engine asks you to create or pick a Google Cloud
project. That project is where your usage is counted. It costs nothing for non-commercial use,
but you do need one.
Once registered, open the Code Editor. It has four
panes: scripts and docs on the left, the editor in the middle, Inspector / Console / Tasks on
the right, and the map below. You’ll use all of them.
QGIS. Download it from qgis.org/download. Either the
long-term release or the latest is fine, as long as it is 3.38 or later: Unit 8 relies on a
temporal mode that arrived in 3.38.
qgis.org/download Pick your platform. On macOS, the first launch may need right-click → Open to get past
Gatekeeper.
Checkpoint 1. The Code Editor loads with your project name in the top right, and QGIS opens.
Unit 2 — Meet the data at the source (~15 min)
Before touching any code, look at the data where it’s published. You’ll understand what Earth
Engine is giving you, and you’ll know where to go when you need something it doesn’t have.
NASA FIRMS
FIRMS (Fire Information for Resource Management System)
distributes fire detections from MODIS, VIIRS and Landsat. Open the fire map, set the date
to 14 September 2026 and zoom to Borneo.
FIRMS fire map · 14 September 2026 Each red mark is a detection. The panel on the right switches between MODIS (1 km, back to
2000), VIIRS (375 m, from 2012) and Landsat (30 m, from 2022).
We use MODIS because it’s the only one with a record back to 2001, which we need for the
year-on-year comparison in Unit 5. VIIRS sees smaller fires and is the better choice if you only
care about recent years.
Two things to keep in mind about any fire detection. A satellite only sees a fire if it is
burning as it passes over, and it can’t see through thick cloud or smoke. On the worst haze days
detections can fall even as the fires get worse.
CAMS
The Copernicus Atmosphere Monitoring Service runs a global model of the atmosphere twice a day,
forecasting aerosols five days ahead and folding in satellite measurements of aerosol optical
depth and a fire-emissions inventory. Its home is the Atmosphere Data Store.
Atmosphere Data Store · CAMS global forecasts The source of the smoke data. Earth Engine mirrors a subset of it, which saves a lot of
downloading.
We use two of its fields:
Organic-matter aerosol optical depth at 550 nm (“smoke AOD”) measures how much smoke is in
the whole column of air above a point. It is the field to use for where the smoke goes.
Values above about 1 are thick haze.
Surface PM2.5 is the model’s estimate of fine particles at ground level, in µg/m³. It’s
what people breathe, but it’s an estimate: the model can miss how smoke mixes down, and it
tends to under-read extreme peat smoke near the fires.
The same data in Earth Engine
Search the Earth Engine Data Catalog for
each dataset. The catalog page tells you the collection ID, the dates covered and, under Bands, what each band means and its units. Read the Bands tab every time you use a new dataset.
Earth Engine Data Catalog · FIRMS In Earth Engine, FIRMS is one raster per day: each detection marks its 1 km pixel. The T21 band is the fire’s brightness temperature in kelvin.Earth Engine Data Catalog · ECMWF/CAMS/NRT Each image is one forecast step. The model_forecast_hour property says how far
ahead of its forecast run it is, which we use in Unit 4.
Checkpoint 2. You can say, for each dataset, what one pixel of it represents and how often
it’s updated.
Unit 3 — One day of fires (~15 min)
Open the Code Editor, click New → File in the Scripts panel (or just clear the editor),
and paste this. It’s also available as a file.
// 01 · Active fires on one day// NASA FIRMS (MODIS, 1 km) over Sumatra and Borneo on 14 September 2026.var day = ee.Date('2026-09-14');// FIRMS is one image per UTC day: each 1 km pixel with a detection holds that fire's values.var firms = ee.ImageCollection('FIRMS').filterDate(day, day.advance(1,'day'));print('FIRMS images for the day', firms.size());print('Bands', firms.first().bandNames());// T21 is the brightness temperature (kelvin) of the detection. Anything with a value is a fire.var fires = firms.select('T21').max();
Map.setOptions('HYBRID');
Map.setCenter(108.5,-1.0,6);
Map.addLayer(fires,{min:300, max:400, palette:['ffff66','ff9900','ff0000']},'FIRMS T21 (K)');
Click Run. Three things to notice:
filterDate(start, end) includes the start and excludes the end, so a one-day window is day to day.advance(1, 'day'). All dates in Earth Engine are UTC. A fire seen at
2 am in Pontianak (UTC+7) is counted on the previous day.
The Console prints 1 image with three bands: T21, confidence and line_number.
Everything we need is in T21: if a pixel has a value, there was a detection.
Nothing is computed until something asks for it: print, Map.addLayer or an export.
Earth Engine builds the recipe in your browser and runs it on Google’s servers.
Code Editor · script 01 Fire pixels on 14 September 2026, coloured by brightness temperature. Use the Inspector tab
and click a pixel to read its values.
Checkpoint 3. Click the Inspector tab, then click a fire pixel in Central Kalimantan.
You should see a T21 value somewhere between about 310 and 400 K.
Unit 4 — From detections to a daily footprint (~30 min)
A map of individual 1 km pixels is hard to animate and hard to sum. So we put the fires on a
coarser 0.1° grid (about 11 km) and store, in each cell, the area of fire pixels inside it in
km². That’s the fire footprint.
The recipe for one day:
count().gt(0) turns the day’s detections into a 1 km yes/no image: 1 where there was a fire.
unmask(0) fills the no-fire pixels with 0, so they count towards the average.
reduceResolution(mean) averages the 1 km pixels inside each 0.1° cell, giving the fraction of the cell with fire.
Multiply by ee.Image.pixelArea() (m² per cell) ÷ 10⁶ to get km².
reproject onto a fixed grid with its top-left corner at 93°E, 21.4°N.
That last step matters more than it looks. If every export uses exactly the same grid, the
layers line up perfectly in QGIS and you can do arithmetic between days without resampling.
// 02 · Daily fire footprint on a 0.1° grid, 15 July – 27 September 2026// The area of 1 km pixels with at least one detection, in km² per 0.1° cell.varSTART= ee.Date('2026-07-15');varDAYS=75;// One grid for every export: top-left at 93°E 21.4°N, 0.1° cells, 368 × 300.varGRID=[0.1,0,93.0,0,-0.1,21.4];varBOX= ee.Geometry.Rectangle([93.0,-8.6,129.8,21.4],null,false);var firmsProj = ee.ImageCollection('FIRMS').first().projection();functionfootprint(d){
d = ee.Date(d);var day = ee.ImageCollection('FIRMS').filterDate(d, d.advance(1,'day')).select('T21');var present = day.count().gt(0).unmask(0).setDefaultProjection(firmsProj);// Average the 1 km yes/no pixels into each 0.1° cell, then multiply by the cell's area.return present
.reduceResolution({reducer: ee.Reducer.mean(), maxPixels:1024}).multiply(ee.Image.pixelArea().divide(1e6)).reproject({crs:'EPSG:4326', crsTransform:GRID}).rename(d.format('YYYY-MM-dd')).set('system:time_start', d.millis());}var dates = ee.List.sequence(0,DAYS-1).map(function(n){returnSTART.advance(n,'day');});var daily = ee.ImageCollection.fromImages(dates.map(footprint));// Look at one day.var sep14 =footprint('2026-09-14');
Map.setOptions('HYBRID');
Map.setCenter(108.5,-1.0,6);
Map.addLayer(sep14.selfMask(),{min:0, max:40, palette:['ffe08a','ff8c00','d7301f','7f0000']},'Fire footprint 14 Sep (km² per cell)');// Daily total over Borneo, as a chart. Each day's band has its own name, so give them one// shared name first, or the chart draws 75 separate one-point series.var borneo = ee.Geometry.Rectangle([108.5,-4.5,119.5,7.5]);print(ui.Chart.image.series({
imageCollection: daily.select([0],['km2']), region: borneo, reducer: ee.Reducer.sum(),
scale:11132, xProperty:'system:time_start'}).setOptions({title:'Borneo fire footprint, km² per day', legend:{position:'none'},
colors:['d7301f'], lineWidth:1.5, pointSize:0}));// One GeoTIFF, one band per day, named by date.
Export.image.toDrive({
image: daily.toBands().rename(dates.map(function(d){return ee.Date(d).format('YYYY-MM-dd');})),
description:'fire_footprint_2026',
folder:'earth-engine-fire-smoke',
region:BOX,
crs:'EPSG:4326',
crsTransform:GRID,
maxPixels:1e9});
Run it. The map shows the footprint for 14 September, and the Console fills with a chart of the
Borneo total for each of the 75 days. The jump in early August is the start of the season the
original post describes. The line is spiky because the satellites see each place at slightly
different times each day, and cloud and smoke hide some fires: compare weeks, not single days.
One gotcha: every day’s band is named after its date, which is what we want in the export. But a
chart treats differently named bands as separate series, so the chart uses daily.select([0], ['km2']) to give them all one name first.
Code Editor · script 02 The footprint grid and a 75-day chart. Hover the chart for daily values; the menu in its
corner exports the series as CSV.
Run the export
The Export.image.toDrive call doesn’t start anything by itself. It adds a task to the Tasks tab, which turns orange. Click Run next to fire_footprint_2026, check the
options in the dialog (they’re filled in from the script) and click Run again. Exports run
on Google’s servers, and this one takes two or three minutes. The GeoTIFF lands in a earth-engine-fire-smoke folder in your Google Drive.
Code Editor · Tasks tab Exports wait here until you click Run. You can close the browser once a task is running.
Checkpoint 4. The chart peaks at about 13,700 km² on 29 August. On 14 September the
Borneo total is about 7,000 km². A grid cell near Palangka Raya holds up to about 75 km²
of fire pixels (a 0.1° cell is roughly 123 km²).
Unit 5 — Smoke and PM2.5 from CAMS (~25 min)
CAMS publishes two forecast runs a day, at 00 and 12 UTC, each stepping forward every three hours
for five days. So any given hour has several forecasts for it, made at different lead times.
Which do you use?
We use only the steps less than 12 hours after each run starts. Every day is then built from
the eight freshest three-hourly snapshots, the ones that have had the most recent observations
folded in. Averaging them gives a daily mean. filter(ee.Filter.lt('model_forecast_hour', 12)) does the selection.
// 03 · Daily smoke from the CAMS model, 15 July – 27 September 2026// Organic-matter aerosol optical depth (smoke in the whole air column) and surface PM2.5.varSTART= ee.Date('2026-07-15');varDAYS=75;// CAMS's native 0.4° grid, cropped to maritime Southeast Asia: 92 × 75 cells.varGRID=[0.4,0,93.0,0,-0.4,21.4];varBOX= ee.Geometry.Rectangle([93.0,-8.6,129.8,21.4],null,false);varAOD='organic_matter_aerosol_optical_depth_at_550nm_surface';varPM25='particulate_matter_d_less_than_25_um_surface';// CAMS issues two forecasts a day with 3-hourly steps. Average only the steps less than// 12 hours after each forecast starts, so every day is built from the freshest guesses.functioncamsDay(d, band, scale){
d = ee.Date(d);return ee.ImageCollection('ECMWF/CAMS/NRT').filterDate(d, d.advance(1,'day')).filter(ee.Filter.lt('model_forecast_hour',12)).select(band).mean().multiply(scale).rename(d.format('YYYY-MM-dd')).set('system:time_start', d.millis());}var dates = ee.List.sequence(0,DAYS-1).map(function(n){returnSTART.advance(n,'day');});var dateNames = dates.map(function(d){return ee.Date(d).format('YYYY-MM-dd');});var aod = ee.ImageCollection.fromImages(dates.map(function(d){returncamsDay(d,AOD,1);}));// PM2.5 comes in kg/m³; × 1e9 gives µg/m³.var pm25 = ee.ImageCollection.fromImages(dates.map(function(d){returncamsDay(d,PM25,1e9);}));var smokePalette =['f2e6c9','d9b77e','a8743f','6b3f1d','2b1608'];var sep14 =camsDay('2026-09-14',AOD,1);
Map.setOptions('SATELLITE');
Map.setCenter(110,3,5);// Fade thin haze out: opacity rises with AOD, fully opaque from 1.5.var smokeRgb = sep14.visualize({min:0.1, max:2.5, palette: smokePalette});
Map.addLayer(smokeRgb.updateMask(sep14.subtract(0.1).divide(1.4).clamp(0,1)),{},'Smoke AOD, 14 Sep');
Map.addLayer(camsDay('2026-09-14',PM25,1e9),{min:0, max:300, palette:['00e400','ffff00','ff7e00','ff0000','8f3f97','7e0023']},'Surface PM2.5 µg/m³, 14 Sep',false);// PM2.5 by city, from the nearest cell.var cities = ee.FeatureCollection([
ee.Feature(ee.Geometry.Point([113.92,-2.21]),{name:'Palangka Raya'}),
ee.Feature(ee.Geometry.Point([110.35,1.55]),{name:'Kuching'}),
ee.Feature(ee.Geometry.Point([103.82,1.35]),{name:'Singapore'}),
ee.Feature(ee.Geometry.Point([101.69,3.14]),{name:'Kuala Lumpur'})]);
Map.addLayer(cities,{color:'00ffff'},'Cities');print(ui.Chart.image.seriesByRegion({
imageCollection: pm25, regions: cities, reducer: ee.Reducer.first(),
scale:44528, xProperty:'system:time_start', seriesProperty:'name'}).setOptions({title:'Modelled surface PM2.5 (µg/m³)', vAxis:{scaleType:'log'},
lineWidth:1.5, pointSize:0}));functionexportStack(col, name){
Export.image.toDrive({
image: col.toBands().rename(dateNames).toFloat(),
description: name,
folder:'earth-engine-fire-smoke',
region:BOX,
crs:'EPSG:4326',
crsTransform:GRID});}exportStack(aod,'smoke_aod_2026');exportStack(pm25,'pm25_2026');
The smoke grid is exported on CAMS’s own 0.4° grid. Its corner at 93°E, 21.4°N falls on a
CAMS cell edge, so Earth Engine copies the cells across instead of interpolating them. The 0.1°
fire grid shares the same corner, so four fire cells nest exactly inside each smoke cell.
Code Editor · script 03 Smoke on 14 September and modelled surface PM2.5 at four cities. The log scale keeps
Palangka Raya’s extremes and Singapore’s smaller rise readable on one axis.
Run both exports from the Tasks tab.
Checkpoint 5. On the chart, Palangka Raya peaks at about 1,020 µg/m³ on 21 September,
Kuching at about 260 on 30 August, Singapore at about 60 on 14 September and Kuala Lumpur at
about 120 on 15 September. These match the city calendar in the original post.
Unit 6 — Provinces and 26 fire seasons (~30 min)
Daily grids tell you where. To say how unusual, you need a long record summed over places
people recognise. Script 04 sums the monthly fire footprint for each province on Borneo from
January 2001 to now.
Two things to know about the boundaries. GAUL 2015 predates Kalimantan Utara, so its fires are
counted in Kalimantan Timur. And Earth Engine will warn that GAUL 2015 is deprecated in favour of FAO/GAUL/2025/level1. I use 2015 to match the original post; switch to 2025 if you want
present-day provinces, but check the ADM1_NAME spellings first.
// 04 · Fire footprint by province, by month, 2001–2026// Borneo's provinces from FAO GAUL 2015; monthly FIRMS footprint in km².varBORNEO_BOX= ee.Geometry.Rectangle([108.5,-4.5,119.5,7.5]);// GAUL 2015 predates Kalimantan Utara, so it is counted inside Kalimantan Timur.var gaul = ee.FeatureCollection('FAO/GAUL/2015/level1').filterBounds(BORNEO_BOX);varNAMES=['Kalimantan Barat','Kalimantan Tengah','Kalimantan Selatan','Kalimantan Timur','Sabah','Labuan','Sarawak','Belait','Brunei and Muara','Temburong','Tutong'];var provinces = gaul.filter(ee.Filter.inList('ADM1_NAME',NAMES)).select(['ADM0_NAME','ADM1_NAME']);
Map.setOptions('HYBRID');
Map.setCenter(114,0.5,6);
Map.addLayer(provinces.style({color:'ffcc00', fillColor:'00000000', width:1.5}),{},'Provinces');// km² of 1 km pixels with at least one detection between two dates.functionfootprint(start, end){var col = ee.ImageCollection('FIRMS').filterDate(start, end).select('T21');var present = ee.Image(ee.Algorithms.If(col.size().gt(0),
col.count().gt(0).unmask(0), ee.Image.constant(0)));return present.multiply(ee.Image.pixelArea()).divide(1e6).rename('km2');}// One band per month of one year, then one reduceRegions call per year.functionyearTable(year){var months = ee.List.sequence(1,12);var img = ee.ImageCollection.fromImages(months.map(function(m){var s = ee.Date.fromYMD(year, m,1);returnfootprint(s, s.advance(1,'month')).rename(ee.String('m').cat(ee.Number(m).int().format('%02d')));})).toBands().rename(months.map(function(m){return ee.String('m').cat(ee.Number(m).int().format('%02d'));}));return img.reduceRegions({collection: provinces, reducer: ee.Reducer.sum(), scale:1000, tileScale:4}).map(function(f){return f.set('year', ee.Number(year).int()).setGeometry(null);});}var years = ee.List.sequence(2001,2026);var table = ee.FeatureCollection(years.map(yearTable)).flatten();// Printing the whole table would compute all 26 years; preview one.print('2026 by province',yearTable(2026));
Export.table.toDrive({
collection: table,
description:'borneo_province_monthly_footprint',
folder:'earth-engine-fire-smoke',
fileFormat:'CSV',
selectors:['year','ADM0_NAME','ADM1_NAME','m01','m02','m03','m04','m05','m06','m07','m08','m09','m10','m11','m12']});// GAUL's outlines carry stray line fragments, which would export as GeometryCollections// that QGIS can't style as polygons. Keep the polygon parts only.functionpolygonsOnly(f){var parts = f.geometry().geometries().map(function(g){
g = ee.Geometry(g);return ee.Algorithms.If(g.type().equals('Polygon'), g.coordinates(),null);},true);return f.setGeometry(ee.Geometry.MultiPolygon(parts,null,false));}
Export.table.toDrive({
collection: provinces.map(polygonsOnly),
description:'borneo_provinces',
folder:'earth-engine-fire-smoke',
fileFormat:'GeoJSON'});// The season so far, island-wide: the sum of the January–September monthly footprints for// every year. A pixel that burns in two months counts twice, as in the monthly table.// One 26-band image and one reduceRegions call; mapping 26 separate reductions trips// Earth Engine's "Too many concurrent aggregations" limit.var yearNames = years.map(function(y){return ee.String('y').cat(ee.Number(y).int().format('%d'));});var seasonImg = ee.ImageCollection.fromImages(years.map(function(y){var months = ee.List.sequence(1,9).map(function(m){var s = ee.Date.fromYMD(y, m,1);returnfootprint(s, s.advance(1,'month'));});return ee.ImageCollection.fromImages(months).sum().rename('km2');})).toBands().rename(yearNames);var byProvince = seasonImg.reduceRegions({collection: provinces, reducer: ee.Reducer.sum(),
scale:1000, tileScale:4});var seasons = ee.FeatureCollection(yearNames.map(function(n){return ee.Feature(null,{year: ee.String(n).slice(1), km2: byProvince.aggregate_sum(n)});}));print(ui.Chart.feature.byFeature(seasons,'year','km2').setChartType('ColumnChart').setOptions({title:'Borneo fire footprint, January–September (km²)', legend:{position:'none'},
colors:['d7301f']}));
A few techniques worth stealing:
Twelve bands, one call. Rather than looping over 312 months, each year becomes one
12-band image and one reduceRegions call. Earth Engine is much faster with a few big requests
than with many small ones.
ee.Algorithms.If for empty months. Some early months have no FIRMS images at all, and count() of an empty collection has no bands. The If swaps in a constant zero.
setGeometry(null) drops the outlines from the table so the CSV stays small; the outlines
get their own GeoJSON export.
What “season” means. The year chart adds up the monthly footprints for January to
September, so a pixel that burns in August and again in September counts twice. That matches
the monthly table and the original post. A single nine-month footprint would count each pixel
once and come out about a quarter lower.
Batch, don’t map. My first version mapped a reduceRegion over each year and failed with Too many concurrent aggregations. Stacking the 26 years as bands of one image and making one reduceRegions call over the provinces draws the chart in a few seconds. aggregate_sum then
adds the provinces together.
Print a sample, export the rest. Printing the full table would make the editor compute all
26 years before it shows anything, and the interactive editor has a five-minute limit. The
script prints only 2026; the export runs the full table with far longer limits.
Code Editor · script 04 Twenty-six fire seasons on Borneo. By the end of September, 2026 is the largest
January–September footprint in the MODIS record.
Run both table exports.
Checkpoint 6. In the CSV, the 2026 row for Kalimantan Barat has m08 ≈ 26,538 km², and
Kalimantan Tengah’s September footprint (≈ 23,490) is about 1.6 times its August. (The
original post, written before September ended, said “nearly double” with two days to go.)
Borneo’s January–September total for 2026, about 132,800 km², edges out 2009 for the top spot.
Detour — No Earth Engine? Download from the source (~20 min)
Everything above can be done without Earth Engine. It’s slower, but it’s worth knowing, and
FIRMS’ point data has detail the Earth Engine raster drops (exact detection time, satellite,
confidence and fire radiative power).
FIRMS, last 7 days. No sign-up needed. The Active Fire Data page has rolling 24-hour,
48-hour and 7-day files per region as CSV, SHP and KML.
FIRMS, older data. Use the Archive Download form. Sign in with Earthdata or an emailed code, draw or choose your area, choose MODIS Collection 6.1 and a date range, and pick CSV or shapefile. You get an email when the
file is ready, usually within an hour. Near-real-time data is replaced with standard science
data after about five months; for past years, the yearly summary by country CSVs at the
bottom of the page are quicker.
FIRMS · Archive Download The request form for anything older than a week. MODIS C6.1 goes back to November 2000.
FIRMS API. For scripts, request a free MAP_KEY and call the area endpoint. It returns up to ten days per request, so loop over dates:
# MODIS near-real-time detections for maritime Southeast Asia, 14 September 2026 (1 day)curl-o firms_2026-09-14.csv
"https://firms.modaps.eosdis.nasa.gov/api/area/csv/$MAP_KEY/MODIS_NRT/93,-8.6,129.8,21.4/1/2026-09-14"
FIRMS · API map key The key arrives by email. It has a transaction limit per ten minutes; the check box here
shows what’s left.
In QGIS, load the CSV with Layer → Add Layer → Add Delimited Text Layer, with longitude / latitude as X / Y and EPSG:4326. To get the footprint grid from points, run Processing → Create grid at 0.1° and then Count points in polygon, or keep the points and
style them directly.
CAMS. Register at the Atmosphere Data Store, accept
the dataset licence, and fill in the download form for CAMS global atmospheric composition
forecasts. Choose Organic matter aerosol optical depth at 550 nm and Particulate matter
d < 2.5 µm, Time 00:00 and 12:00, Leadtime hour 0, 3, 6 and 9 (the same under-12-hours
rule as Unit 5), your dates, a sub-region of 21.4°N 93°E to 8.6°S 129.8°E, and NetCDF. At the
bottom of the form, Show API request gives you a Python snippet for the cdsapi package with
exactly those choices. Data older than 30 days is on tape and can take hours to arrive.
Natural Earth. From the 1:50m physical and cultural pages, download Land, Ocean, Admin 0 – Countries and Populated Places (the “simple” version is enough).
Unzip each into its own folder.
Natural Earth · 1:50m physical vectors Public-domain basemap layers. 1:50m is the right detail for a regional map; 1:10m is
overkill and slow at this scale.
Or skip it all.fire-smoke-exports.zip (6 MB) has the three GeoTIFFs, the provinces, the CSV, the Natural Earth layers and the finished
QGIS project from the units that follow.
Unit 7 — Into QGIS: load and style (~30 min)
Download the five files from the earth-engine-fire-smoke folder in Google Drive into one folder
on your computer, with the Natural Earth folders alongside. Then, in QGIS:
Project → Properties → CRS: set EPSG:4326. Everything here is in plain longitude and
latitude, and keeping the project in the same CRS avoids reprojecting rasters on the fly.
Layer → Add Layer → Add Vector Layer for Natural Earth ocean, land and countries. Give
the ocean a pale blue-grey fill, the land an off-white fill and the countries no fill and a thin
grey outline.
Layer → Add Layer → Add Raster Layer for fire_footprint_2026.tif and smoke_aod_2026.tif. Order the Layers panel top to bottom: countries, fire, smoke, land, ocean.
Each GeoTIFF has 75 bands, one per day, in date order: band 1 is 15 July and band 62 is
14 September. Depending on how you exported, QGIS may list the bands as plain Band 1…Band 75 or with their dates (Band 62: 2026-09-14, as in the files in my download). Either way works for everything
that follows.
Style the fire footprint
Open the fire layer’s Properties → Symbology:
Render type: Singleband pseudocolor.
Band: Band 62 (14 September).
Min / Max: 0.5 and 60. Below 0.5 km² a cell has, at most, a sliver of one fire pixel.
Interpolation: Linear. Edit the colour stops to #ffe08a at 0.5, #ff8c00 at 5, #d7301f at 20 and #7f0000 at 60.
Leave Clip out of range values off, so cells above 60 km² keep the darkest colour.
Then Transparency → Additional no data value: 0. That hides the empty cells and lets the
smoke show through. QGIS applies it to all 75 bands at once, so it keeps working when the
Temporal Controller switches bands in Unit 8.
QGIS · fire footprint symbology A sequential ramp from pale yellow to dark red. Stops get closer together at the low end
because most cells have small values.QGIS · fire footprint, 14 September 2026 The fires alone. The two clusters the original post describes, South Sumatra and southern
Kalimantan, stand out at once.
Style the smoke
Do the same for the smoke layer, on the same band:
Singleband pseudocolor, Min 0.1, Max 4.
Colour stops from #e8dcc0 at 0.1 to #d9b77e at 0.4, #a8743f at 1.0, #6b3f1d at 2.0
and #2b1608 at 4.0.
Give the colours their own opacity by double-clicking each swatch: 0% at 0.1, rising
to about 50% at 0.4, 75% at 1.0 and 95% at 4. Light haze then stays see-through, and thick
smoke goes opaque.
Symbology → Resampling: set zoomed in and zoomed out to Bilinear. CAMS cells are 44 km
across, and bilinear resampling softens their edges into something more like a plume. It
changes only how the layer is drawn, not the data.
QGIS · fire and smoke, 14 September 2026 The smoke runs north up the Strait of Malacca, right over Singapore and Kuala Lumpur. That’s
why both cities’ pollution peaked on 14–15 September.
Labels. Add Natural Earth’s populated places, filter it (right-click → Filter…) to a
dozen cities such as "name" IN ('Singapore', 'Kuala Lumpur', 'Kuching', 'Palembang', 'Pontianak'),
and label it with name and a white text buffer.
Checkpoint 7. Your map looks like the screenshot above. Switch the smoke band to Band 48: 2026-08-31 and the plume swings northeast, over Brunei and towards the Philippines.
Unit 8 — Animate it with the Temporal Controller (~25 min)
Switching bands by hand gets old fast. QGIS can do it for you: give each band a date and the Temporal Controller draws whichever band matches the current frame.
For each of the three rasters, open Properties → Temporal:
Tick Dynamic Temporal Control.
Configuration: Fixed Time Range Per Band.
Fill in each band’s Begin and End: band 1 runs from 15/07/2026 00:00 to 16/07/2026
00:00, band 2 from 16/07 to 17/07, and so on.
Typing 75 rows is tedious. The expression button under the table (ε) has two entries, Calculate Beginning by Expression… and Calculate End by Expression…, which fill the column
for every band at once. Use these, which count days from the start date using the band number:
QGIS · Temporal tab, smoke layer One day per band. The clock icon next to the layer in the Layers panel shows it now
responds to time.
Open View → Panels → Temporal Controller. Click the green Animated temporal navigation button, set the range to 2026-07-15 to 2026-09-28 and the Step to 1 day, then press play.
QGIS · Temporal Controller, 31 August 2026 The same project on another day. On 31 August the monsoon carries Kalimantan’s smoke across
the South China Sea towards the central Philippines.
Export the animation
The save icon on the Temporal Controller, Export Animation, writes one PNG per frame. Pick a
folder, set the extent to the map canvas and an output size such as 1200 × 800, and export. Then
stitch the frames into a video with ffmpeg:
# 6 frames a second; yuv420p so it plays everywhere, including Safari and phones
ffmpeg -framerate6-pattern_type glob -i'frames/*.png'-c:v libx264 -pix_fmt yuv420p -crf26-movflags +faststart haze-2026.mp4
Add a date stamp so viewers know which day they’re looking at. In a print layout, a label with [% format_date(@map_start_time, 'd MMMM yyyy') %] updates frame by frame. Or stamp the PNGs
afterwards, as I did here.
QGIS · 75 frames, 15 July – 27 September 2026 The whole season from the Temporal Controller. Watch the fires take off in early August and
the plume swing between Malaysia and the Philippines as the wind shifts.
Checkpoint 8. Pressing play steps through the season, and the fire and smoke layers stay in
sync because they share the same per-band dates.
Unit 9 — Provinces: join the table, map the month (~20 min)
Now the province table from Unit 6.
Add Vector Layer for borneo_provinces.geojson.
Add Delimited Text Layer for borneo_province_monthly_footprint.csv with No geometry
(attribute only table).
The CSV has one row per province per year. Right-click it → Filter… and enter "year" = 2026 so each province has exactly one row.
Open the provinces layer’s Properties → Joins, click +, and join the CSV on ADM1_NAME = ADM1_NAME. Tick Joined fields and choose m07, m08 and m09, and set the
prefix to y2026_.
QGIS · provinces with the 2026 months joined July, August and September for each province. West Kalimantan peaks in August; Central
Kalimantan keeps climbing into September.
Style the provinces with Graduated symbology on y2026_m08, a white-to-dark-red ramp and Natural Breaks (Jenks) with five classes. Natural breaks suits this data: a few provinces
have tens of thousands of km² and several (Brunei’s districts, Labuan) have almost none.
QGIS · August 2026 fire footprint by province West Kalimantan had Borneo’s largest August footprint, 26,500 km² of fire pixels.
To compare years, drop the "year" = 2026 filter and use Processing → Aggregate or a
virtual layer to sum months per year. Or open the CSV in a spreadsheet: it’s small.
Checkpoint 9. Kalimantan Barat is the darkest province, and its y2026_m08 value is about
26,538.
Unit 10 — A print layout to share (~20 min)
Project → New Print Layout, then:
Add Map. In its item properties, tick Lock layers so the map keeps today’s layers
even if you change the main canvas, and under Temporal range set 2026-09-14 to 2026-09-15
so the layout always shows that day.
Add Label for the title, and a second, small one for credits. Credit every source: NASA FIRMS (MODIS C6.1 NRT), ECMWF CAMS, Natural Earth, and processed in Google Earth
Engine. CAMS data is licensed CC BY 4.0, which requires attribution.
Add Legend, untick Auto update, and remove everything except the fire and smoke layers.
Add Scale Bar in kilometres. At this latitude a scale bar in EPSG:4326 is accurate
enough. Further from the equator, project the map into an equal-area or conformal CRS first.
Layout → Export as Image at 150–200 dpi, or as PDF for print.
The result is the map at the top of this page.
Checkpoint 10. You have a PNG or PDF with a title, legend, scale and credits.
Reading the results honestly
The maps are vivid, which makes it easy to say more than the data does. Before you publish:
Footprint is not burned area. In August 2026 the detection footprint on Borneo was roughly
ten times what YKAN estimated actually burned. Use footprint to compare places and times, not to
claim hectares lost.
Satellites miss fires. MODIS passes about four times a day and can’t see through thick smoke,
so the worst days are undercounted, and smouldering peat is often missed altogether. That’s
partly why 2015, a catastrophic haze year, doesn’t top the footprint ranking.
The early record is thinner. Only Terra flew before mid-2002, so 2001 and early 2002 have
about half the sampling of later years.
Recent days are provisional. FIRMS near-real-time data arrives a day or so late, and the last
two or three days can still change.
CAMS is a model. Its smoke column is well constrained by satellite observations. Its surface
PM2.5 is an estimate on a 44 km grid. For anything about health, use the monitors: NEA in Singapore, APIMS in
Malaysia, BMKG in Indonesia.
Everything is in UTC days.
Where to go next
Swap FIRMS for NASA/LANCE/NOAA20_VIIRS/C2 to get 375 m VIIRS detections, which see far
more small fires. It only goes back to 2018, so you lose the long comparison.
Map burn scars with Sentinel-2: the difference in Normalised Burn Ratio before and after the
season (dNBR) shows what actually burned, at 20 m.
Move to the Python API and ee.data.computePixels to pull grids straight into NumPy without going through Drive. That’s
how the original post’s data was built; the scripts are in github.com/tuttinator/satellite-images.