Built to order

AI-Based Forest Fire Prediction using Satellite Imagery and Weather Data

This project builds an AI-Based Forest Fire Prediction system using Satellite Imagery and Weather Data that forecasts fire risk for 1 km forest grid cells from NASA FIRMS hotspot detections and ERA5 weather variables. A Random Forest classifier scores each cell daily, and a web dashboard shows the risk map, active hotspots, weather drivers and a 7-day forecast. Suitable for B.E./B.Tech final-year projects in Computer Science, IT and AI & Machine Learning.

Chat on WhatsApp — get a quotation

AI & Machine Learning MatplotlibJupyter notebookGitHTML · CSS · JavaScriptPython 3 · scikit-learnpandas NumPy GeoPandasNASA FIRMS VIIRS MODISERA5 reanalysis weather dataSoftware
AI-Based Forest Fire Prediction using Satellite Imagery and Weather Data — project thumbnail preview
More project photos (2)

The problem

AI-Based Forest Fire Prediction using Satellite Imagery and Weather Data turns satellite fire detections and weather records into a fire-risk score for each 1 km cell of a forest landscape. Forest departments still rely on patrols and watchtowers, so fires are often noticed only after spreading, when suppression is costly. Satellite data closes that gap: NASA FIRMS publishes near-real-time VIIRS (375 m) and MODIS (1 km) fire detections, while weather reanalysis adds the dryness and wind behind ignition. This project joins both sources into labelled grid-cell days, trains a Random Forest to separate fire days from no-fire days, and shows it as a risk map with a 7-day forecast. The demo region is the Corbett Tiger Reserve landscape in Uttarakhand, whose dry sal forests face a sharp fire season. Builder note from the demo: at 31.2 °C, 24% humidity, 14 km/h wind and 11 dry days, the Bijrani cell scores 0.82 fire probability on the Random Forest's own features.

SYSTEM FLOW

5 components 4 connections

Live flow
Drag to explore
100%
sensorFIRMS hotspots

VIIRS 375 m and MODIS 1 km fire detections

Follow the working sequence

How it works

The system has two phases: offline training on five fire seasons of history, and daily prediction that scores every grid cell with the latest data. In training, FIRMS records for 2019–2025 are mapped onto a fixed 1 km grid, so each cell-day becomes one labelled row: fire if at least one VIIRS hotspot fell inside the cell that day, no-fire otherwise. ERA5 weather for the same cell-days — maximum temperature, minimum humidity, wind speed, rainfall, days since rain — is joined with static fuel and terrain layers such as NDVI, elevation and slope. A Random Forest learns which combinations of hot, dry, windy and long-dry-spell conditions preceded fires; precision, recall and F1 are measured on a held-out 2025 season. In daily operation the same pipeline runs on the newest FIRMS detections and ERA5 forecast, and the dashboard colours each cell by predicted risk and alerts above a fixed threshold.

  1. FIRMS VIIRS (375 m) and MODIS (1 km) active-fire records for the study region and date range are downloaded in CSV/Shapefile form and cleaned: low-confidence detections are flagged and duplicate overpass records removed.
  2. The study area is divided into a fixed 1 km grid; each cell-day is labelled fire when at least one hotspot falls inside it, and no-fire otherwise, giving the supervised training set.
  3. ERA5 weather variables (maximum temperature, minimum relative humidity, wind speed, rainfall, days since rain) are aggregated per cell-day and joined with NDVI, elevation, slope and distance-to-road layers.
  4. A Random Forest classifier (240 trees, maximum depth 14) is trained on 2019–2024 cell-days with class weighting for the rare fire class, then evaluated once on the held-out 2025 season with precision, recall, F1 and a confusion matrix.
  5. In daily operation the trained model scores every cell from the latest FIRMS pass and the ERA5 forecast, producing a 0–1 fire probability per cell.
  6. The dashboard renders the risk map, lists active hotspots with fire radiative power, shows the 7-day fire-weather-index forecast, and issues alerts for cells above the 0.60 probability threshold.

Tech stack:

  • Python 3 · scikit-learn

  • pandas · NumPy · GeoPandas

  • Jupyter Notebook (training & evaluation)

  • NASA FIRMS VIIRS · MODIS active-fire data

  • ERA5 reanalysis (ECMWF) weather data

  • HTML · CSS · JavaScript (risk-map dashboard)

  • Matplotlib (charts & evaluation plots)

  • Git

  • Dataset: NASA FIRMS active-fire data — VIIRS (NOAA-20, 375 m) and MODIS (Terra/Aqua, 1 km) near-real-time detections, joined to ERA5 reanalysis weather; 204,560 labelled 1 km cell-days from the Corbett landscape, 2019–2025; classes: fire (≥1 hotspot in the cell-day) and no-fire.

  • Task: Binary classification; input = 7 features per cell-day (max temperature, min humidity, wind speed, rainfall, days since rain, NDVI, elevation/slope/distance-to-road); output = fire probability 0–1 plus a risk band (Low / Moderate / High / Very high).

  • Model: Random Forest classifier — 240 trees, maximum depth 14, class-weighted for the rare fire class; trained on 2019–2024 cell-days, evaluated once on the held-out 2025 season.

  • Metrics: Precision, recall and F1 for the fire class, confusion matrix, ROC-AUC; development targets approximately 0.83 precision, 0.79 recall and 0.81 F1 — final figures are measured on the buyer-built training run and documented in the report, never claimed in advance.

Parameter Value
Grid cell size 1 km × 1 km (design choice)
Study region Corbett Tiger Reserve landscape, Uttarakhand (approximately 80 km² demo grid)
Training rows 204,560 labelled cell-days, 2019–2025 (dataset size)
Model Random Forest, 240 trees, maximum depth 14 (design choice)
Prediction output Fire probability 0–1 per cell-day
Alert threshold 0.60 probability (configurable)
VIIRS hotspot resolution 375 m (datasheet value, NASA FIRMS)
MODIS hotspot resolution 1 km (datasheet value, NASA FIRMS)
FIRMS latency Within approximately 3 hours of satellite observation (NASA FIRMS specification)
Forecast horizon 7 days (design target)
Demo Single-file web dashboard, runs offline after download

Project features

The strongest parts of this build are the labelled grid-cell dataset, the trained Random Forest model, the interactive risk-map dashboard and the 7-day forecast. The dataset pipeline turns raw FIRMS hotspot files and ERA5 weather into clean, labelled cell-days — the exact step most tutorials skip — so the student can explain where every training row came from. The model is a real classifier with a documented evaluation on a held-out fire season, not a rule-of-thumb score. The dashboard makes the model tangible: a colour-coded risk map with clickable cells, live weather sliders that recompute a cell's risk, a hotspot list with fire radiative power, and a 7-day fire-weather-index forecast. The fourth capability is the evaluation discipline — precision, recall, F1 and a confusion matrix — which gives the viva a concrete, honest discussion of what the model catches and what it misses.

  • [Labelled grid-cell dataset pipeline] FIRMS VIIRS and MODIS hotspot records joined to ERA5 weather on a fixed 1 km grid, producing fire/no-fire labelled cell-days with a documented cleaning and labelling procedure.
  • [Random Forest fire-risk classifier] 240-tree classifier on seven weather and fuel features, trained on 2019–2024 seasons and evaluated on the held-out 2025 season with precision, recall, F1 and a confusion matrix.
  • [Interactive risk-map dashboard] A 10 × 8 cell map of the Corbett landscape coloured by predicted risk, with VIIRS hotspot markers, per-cell weather and fuel details on click, and live risk recomputation from weather sliders.
  • [7-day fire-weather-index forecast] Daily forecast of the fire-weather index with an alert threshold line, a weather table and risk bands, re-run from the latest ERA5 forecast data.
  • [Hotspot alert list] Active detections with location, satellite, fire radiative power in MW and confidence, plus alert wording for cells above the 0.60 probability threshold.
  • [Full training notebook] Data download, cleaning, labelling, feature engineering, training and evaluation in one reproducible Jupyter notebook with the exact commands used.
  • [Evaluation report and plots] Feature-importance chart, confusion matrix and a written interpretation of the model's strengths and limits for the report.

What is included

  • Complete data pipeline and training Jupyter notebook
  • Trained Random Forest model file with feature pipeline
  • Interactive risk-map dashboard demo (risk map, weather sliders, 7-day forecast)
  • Feature-importance chart, confusion matrix and evaluation plots
  • Project report PDF (background, dataset, methodology, evaluation, limitations)
  • PPT presentation for final review
  • Viva Q&A preparation document (Random Forest, FIRMS, ERA5, precision/recall)

Limitations & prerequisites

  • FIRMS detects active fires, not fire risk directly — a cell with no hotspot today can still be high risk, and cloud cover can hide detections.
  • VIIRS 375 m pixels can miss very small fires, and industrial heat sources or stubble burning can appear as false hotspots.
  • ERA5 reanalysis is gridded at approximately 31 km, so weather is downscaled to the 1 km grid rather than measured per cell.
  • The model predicts fire occurrence, not fire spread, perimeter or containment — spread modelling is future scope.
  • Precision/recall targets (approximately 0.83 / 0.79) are development targets, stated honestly — the report documents the actual achieved figures after the training run.
  • The demo region is the Corbett landscape; retraining is required for a different forest region, and local fuel data may need to be added.
  • The system is a decision-support prototype for study, not an operational firefighting tool.

Frequently Asked Questions

Which dataset is used and where does it come from?

NASA FIRMS active-fire data — VIIRS detections at 375 m and MODIS at 1 km, both near-real-time and freely downloadable — joined to ERA5 weather reanalysis. The two sources are official and public: FIRMS is run by NASA's LANCE system, and ERA5 is published by ECMWF. Together they give 204,560 labelled 1 km cell-days for the Corbett landscape across 2019–2025.

Which model is used and what does it predict?

A Random Forest classifier with 240 trees predicts the probability that at least one fire starts in a 1 km grid cell on a given day, from seven weather and fuel features. Its output is a probability from 0 to 1, grouped into Low, Moderate, High and Very high bands, with alerts for cells above 0.60. The classifier is trained on 2019–2024 cell-days and evaluated once on the held-out 2025 season.

Is the accuracy guaranteed?

No — and no honest listing can guarantee it. The development targets are approximately 0.83 precision and 0.79 recall for the fire class, but the final figures are measured once on the held-out 2025 season during the build and written into the report as measured, not promised in advance.

Can the project use a different forest region?

Yes — the pipeline is region-independent. The same download, gridding, labelling and training steps run for any forest area by changing the bounding box and dates; a new region needs its own training run, and the report documents the new evaluation figures for that region.

Does it need live satellite or weather feeds to run?

Not for the demo or the viva — training uses downloaded FIRMS and ERA5 files, and the dashboard runs offline on the prepared data. Live daily updates would need an internet connection to fetch the newest FIRMS pass and ERA5 forecast, which is listed as an optional extension.

Is this project suitable for a final-year project?

Yes — for Computer Science, IT and AI & Machine Learning programs. It demonstrates real dataset engineering, supervised classification, honest evaluation with precision, recall and F1, and a working risk-map dashboard that makes the model visible, clickable and testable in the viva.

Components & software requirements
  • Python 3 · scikit-learn
  • pandas · NumPy · GeoPandas
  • Jupyter Notebook (training & evaluation)
  • NASA FIRMS VIIRS · MODIS active-fire data
  • ERA5 reanalysis (ECMWF) weather data
  • HTML · CSS · JavaScript (risk-map dashboard)
  • Matplotlib (charts & evaluation plots)
  • Git
Delivery information

Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.

Support terms

Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.

Download free synopsis (PDF)

Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.

Get a quotation