Skip to content

manalmulla/wildfire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Wildfire – Real-Time Wildfire & Firepoint Monitoring System

Status Python Flask NASA EONET

Wildfire is a real-time wildfire detection and monitoring system that visualizes live firepoints, wildfire events, confidence levels, and alerts directly in the browser. It uses NASA FIRMS, NASA EONET, and an interactive map interface to provide accurate and up-to-date wildfire information.


🌍 Features

  • 🔥 Live Wildfire Detection & Map View

  • 📍 NASA FIRMS Firepoints Integration

  • 🌋 NASA EONET Natural Hazard Events

  • 🎨 Color-coded Confidence Markers

    • 🟢 Low (<30%)
    • 🟠 Medium (30–60%)
    • 🔴 High (>60%)
  • 🪧 Popups Showing:

    • Latitude
    • Longitude
    • Confidence
    • Date & Time
  • 🔔 Browser-based Alert System

    • User clicks a button to enable alerts
    • Alerts appear inside the webpage, not the terminal
  • ⚡ Lightweight, API-driven, and easy to use


📸 Screenshots

Screenshot 2025-11-20 025414 Screenshot 2025-11-20 030104 Screenshot 2025-11-20 171501

🗂 Project Structure

wildfire/
│── static/
│   ├── css/
│   ├── js/
│── templates/
│   └── index.html
│── app.py
│── config.py
│── requirements.txt
│── README.md

⚙️ Installation

1️⃣ Clone this repository

git clone https://github.com/manalmulla/wildfire.git
cd wildfire

2️⃣ Create & activate a virtual environment

python -m venv venv
source venv/bin/activate   # Mac/Linux
venv\Scripts\activate      # Windows

3️⃣ Install dependencies

pip install -r requirements.txt

🔑 Add Your NASA API Key

Open config.py and update:

NASA_API_KEY = "YOUR_NASA_MAPS_KEY"
NASA_FIRMS_CSV_URL = "YOUR_FIRMS_CSV_URL"
CONFIDENCE_HIGH = 60

▶️ Running the App

python app.py

Then open in your browser:

http://127.0.0.1:5000/

🎨 Confidence Color Logic

if (confidence < 30) {
    color = "green";   // Low confidence
} else if (confidence < 60) {
    color = "orange";  // Medium confidence
} else {
    color = "red";     // High confidence
}

Ensures all three color levels are visible.


🔔 Browser Alert System

The webpage includes a button like:

Enable Alerts

When a user clicks:

  • System checks current wildfire data
  • If a nearby event is found, user receives: On-screen notification

All inside the web browser.


📦 Requirements

Example requirements.txt:

Flask
requests
time
io
webbrowser

(Add additional packages based on your project)


🤝 Contributing

🚫 Code contributions are not accepted. This repository is public for viewing and learning, but only the owner can modify the code.

💬 Suggestions and feedback are welcome! If you wish to propose improvements, report bugs, or share ideas, please open an Issue in the repository.

👉 Issues are open for discussions, suggestions, & improvement requests. 👉 Pull Requests are disabled to prevent direct code changes.


⭐ Support the Project

If you find this project useful, please give it a ⭐ star on GitHub: 👉 https://github.com/manalmulla/wildfire

About

Wildfire Detector using NASA FIIRMS and EONET API

Resources

Stars

Watchers

Forks

Packages

No packages published