Skip to content

Mohammedsami001/TerraCast-AI

Repository files navigation

🌍 TerraCast AI

Intelligence for a Changing Planet

AI-powered climate risk intelligence platform built with satellite radar, deep learning, and interactive geospatial analytics.


πŸš€ Overview

TerraCast AI is a next-generation climate intelligence system that transforms raw satellite radar imagery into actionable risk insights using deep learning and modern geospatial visualization.

It is designed to support decision-making for:

  • Governments
  • Insurers
  • Urban planners
  • Disaster response teams
  • Climate resilience organizations

The platform combines Sentinel-1 radar data, U-Net-based flood segmentation, and an interactive SaaS-style dashboard to deliver real-time environmental intelligence at scale.


✨ Core Highlights

  • πŸ›° Satellite Radar Intelligence using Sentinel-1 VV polarization imagery
  • πŸ€– AI Flood Segmentation with U-Net deep learning models
  • 🌊 Flood Risk Prediction Engine for impact estimation
  • 🌍 Interactive Geospatial Dashboard for map-based analysis
  • πŸ“Š Real-Time Risk Analytics including severity and exposure insights
  • ☁️ FastAPI-Powered Backend ready for deployment and integration

🧠 AI Workflow

TerraCast AI follows an end-to-end machine learning pipeline for climate risk analysis:

1. Radar Input Processing

The system ingests Sentinel-1 radar imagery and preprocesses geospatial tiles for analysis.

2. Ground Truth Alignment

Flood segmentation masks are aligned with radar inputs for supervised learning and validation.

3. AI Prediction

A trained U-Net segmentation model predicts flood-affected areas from radar imagery.

4. Risk Intelligence Generation

Predictions are translated into structured climate intelligence such as:

  • Risk score
  • Flooded hectares
  • Population exposure
  • Infrastructure impact
  • Priority classification

πŸ›° AI Demonstration Modules

Raw Radar β†’ Ground Truth β†’ AI Prediction

Demonstrates how satellite radar data is transformed into segmentation outputs using the trained model.

Live Radar Inference

Supports real-time prediction based on geographic coordinates:

  • Radar tile extraction
  • Model inference
  • Flood mask generation
  • Risk scoring
  • Priority assignment

Validation Samples

Additional prediction samples across diverse geographies are used to evaluate model robustness and consistency.


🌐 Web Application Interface

TerraCast AI includes a modern, immersive dashboard experience designed like a premium climate intelligence SaaS platform.

🏠 Landing Page

Features include:

  • Space-inspired animated background
  • Glassmorphism design system
  • Strong AI product positioning
  • SaaS-style call-to-action flow

πŸ” Authentication

Secure access layer for the intelligence dashboard.


πŸ›° TerraCast Command Dashboard

πŸ“ Flood Portal

An interactive flood analysis interface with:

  • Dynamic map interaction
  • Coordinate capture
  • Prediction execution
  • Risk visualization

πŸ“Š Radar Analysis Panel

Displays critical disaster intelligence including:

  • Flooded hectares
  • Population exposure
  • Infrastructure impact
  • U-Net confidence score
  • Severity / priority classification

🌡 Drought Sentinel

Extended climate analytics module for:

  • Rainfall tracking
  • Temperature monitoring
  • Humidity analysis
  • Risk scoring
  • Economic loss projection
  • Scarcity index estimation

πŸŒ‹ Seismic Tracker

Earthquake intelligence features include:

  • Fault localization
  • Magnitude classification
  • Energy release estimation
  • Structural loss prediction
  • Supply chain disruption analytics

πŸ—‚ Orbital Logs

Prediction history system that tracks:

  • Event ID
  • Hazard type
  • Impact score
  • Location
  • Timestamp
  • Severity category

πŸ— System Architecture

Frontend (React + Three.js + TailwindCSS)
                ↓
        FastAPI ML Backend
                ↓
     TensorFlow U-Net Model
                ↓
  Sentinel-1 Radar Data Source
                ↓
 Structured Climate Risk Output

## πŸ§ͺ Machine Learning Stack

- TensorFlow / Keras  
- U-Net Segmentation Architecture  
- Sentinel-1 Radar (VV Polarization)  
- Raster preprocessing pipeline  
- Geospatial tile extraction  
- Risk score computation engine  

---

## πŸ“‘ API Design

### `POST /predict`

#### Request
```json
{
  "lat": 19.0760,
  "lng": 72.8777
}

Response

{
  "risk_score": 0.88,
  "hectares": 180.43,
  "population_exposure": 22553,
  "infrastructure_integrity": 0.35,
  "priority": "Critical"
}

🎨 Frontend Stack

  • React
  • TypeScript
  • TailwindCSS
  • Three.js
  • Leaflet
  • Responsive dashboard layout
  • Glassmorphism UI panels
  • Animated starfield / space-inspired interface

🌍 Real-World Use Cases

TerraCast AI can support a wide range of climate and disaster intelligence applications:

  • Flood disaster management
  • Climate risk insurance
  • Urban planning and infrastructure resilience
  • Agricultural monitoring
  • Supply chain risk analysis
  • Environmental intelligence operations

βš™οΈ Deployment Options

The backend can be deployed using:

  • Render
  • Railway
  • Google Cloud Run
  • Docker-based environments

πŸ“¦ Backend Setup

python -m venv venv
venv\Scripts\activate
python -m pip install -r requirements.txt
python -m uvicorn main:app --reload

πŸ›‘ What Makes TerraCast AI Different

Unlike conventional static monitoring dashboards, TerraCast AI:

  • Uses orbital radar satellite data
  • Applies deep neural segmentation
  • Produces structured risk intelligence
  • Supports cross-hazard analytics
  • Follows a SaaS-ready system architecture
  • Is designed with production deployment in mind

πŸ“ˆ Roadmap

  • Multi-temporal change detection
  • Predictive flood forecasting
  • Elevation + rainfall integration
  • AI confidence heatmaps
  • Enterprise API access
  • Satellite time-series analytics
  • Global disaster monitoring dashboard

πŸ‘¨β€πŸ’» Built With

Deep Learning Γ— Geospatial Intelligence Γ— Modern SaaS Design


πŸ“œ License

This project is licensed under the MIT License.


⭐ Final Note

TerraCast AI is more than a dashboard.
It is a climate intelligence engine designed to interpret Earth’s evolving risk landscape and convert raw environmental data into meaningful, real-time decision support.


From satellite signals to actionable climate intelligence

About

Satellite Data to Insight Engine for Climate Risk

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages