Skip to content

Latest commit

 

History

History
232 lines (147 loc) · 9.01 KB

File metadata and controls

232 lines (147 loc) · 9.01 KB

System Architecture Overview

The Climate Loop architecture is designed to ingest heterogeneous climate signals, transform them into localized risk intelligence, and deliver actionable guidance through an explainable AI-driven decision layer.

While the current version runs as a functional prototype built in Lovable, the architecture is modular and structured for migration to Google Cloud Platform (GCP), ensuring scalability, reliability, and production-grade data governance.


1. End-to-End Operational Architecture

Architecture

The diagram above represents the complete operational intelligence pipeline of Climate Loop, from raw environmental inputs to user-facing guidance and API exposure.

It illustrates how data moves across the system.


Data Sources (Left Side)

On the left side of the architecture, inputs are divided into two fundamental domains: continuous environmental signals (time series) and discrete event-based signals.


A. Time Series Data (Continuous Signals)

This domain includes continuously measured environmental variables, whether originating from global datasets or local sensors.

Global & Regional Time Series

  • Historical datasets (e.g., ERA5)
  • Forecast providers (e.g., Open-Meteo)
  • Environmental variables such as temperature, precipitation, humidity, wind speed, and atmospheric pressure

These sources provide macro-scale predictive baselines and long-term environmental context.

Local IoT Time Series

As part of the proof of concept, a custom IoT device was developed to capture real-time environmental signals including:

  • Temperature
  • Atmospheric pressure
  • Rainfall detection (binary rain/no-rain state)

The prototype validated that low-cost hardware components can reliably collect environmental signals.

More recent sensor modules expand these capabilities further, including integrated camera support, enabling environmental image capture for contextual validation and potential computer vision applications.

These IoT streams function as localized time series inputs, enabling hyperlocal calibration, bias correction, and continuous model refinement.

Together, global datasets and local IoT streams form the continuous environmental signal backbone of Climate Loop.


B. Event-Based Data (Discrete Signals)

Unlike time series data, this domain captures structured alerts and discrete occurrences.

It includes:

  • Official alerts in CAP (Common Alerting Protocol) format
  • RSS feeds from meteorological agencies and civil protection authorities
  • Historical severe weather event datasets
  • Community-generated reports (text, images, geolocation, tags)

Event data provides real-time situational awareness and semantic context.

While time series data answers “what is continuously happening in the environment?”, event-based data answers “what just happened or what is officially being declared?”

The fusion of continuous signals and discrete event data significantly improves situational awareness and reduces uncertainty in risk modeling.


Intelligence Core

At the center of the architecture are two major computational components.

Meteorological & Fusion Models

  • Forecast correction
  • Multi-source signal fusion
  • Short-term localized forecasting
  • Sensor-based calibration
  • Confidence adjustment

These models reconcile global forecasts with local signals.

Climate Risk Prediction

  • Extreme event detection
  • Probabilistic risk scoring
  • Hazard classification (storms, floods, droughts, heatwaves, erosion)
  • Dynamic severity ranking

This layer transforms environmental data into structured, machine-interpretable risk intelligence.


Decision & Output Layer (Right Side)

The final stage translates structured risk signals into human-centered guidance.

It includes:

  • Generative AI for explanation and simplification
  • Impact rule engines mapping risk → protective action
  • Geographic prioritization based on exposure
  • Conversational assistant for clarification and contextual questions
  • Automatic multilingual translation

Outputs are delivered through:

  • Interactive risk map
  • Structured alerts
  • Actionable recommendations
  • Reports
  • Commercial API

This completes the operational pipeline:

data → intelligence → contextualization → decision → action


2. Layered Architecture Model

Layers

While the previous diagram illustrates the operational flow, this model presents Climate Loop as a structured architectural stack.

This abstraction emphasizes modularity, scalability, and separation of responsibilities, all essential for production deployment and cloud migration.


Layer 1 – Data Layer

  • IoT time series
  • Global meteorological datasets (ERA5, Open-Meteo)
  • RSS / CAP alerts
  • Community reports

Responsible for ingestion and external integrations.


Layer 2 – Processing Layer

  • Data normalization
  • Quality control and validation
  • Bias correction
  • Feature engineering
  • Multi-source fusion

Transforms raw inputs into structured, reliable datasets.


Layer 3 – Model Layer

  • Forecast refinement
  • Extreme event detection
  • Risk classification
  • Probabilistic scoring

Produces structured, machine-readable risk signals.


Layer 4 – Decision Layer

  • Generative AI
  • Impact rule engines
  • Geographic prioritization
  • Conversational intelligence
  • Multilingual translation

Converts structured risk signals into contextualized human guidance.


Layer 5 – User Experience Layer

  • Interactive map
  • Alerts
  • Recommendations
  • Reports
  • Chat interface
  • Commercial API

Delivers intelligence to users and external systems.


3. Migration Path to Google Cloud Platform (GCP)

Although currently implemented in Lovable as a functional prototype, the architecture is cloud-ready and designed for migration to Google Cloud Platform.

Migration

Each architectural layer maps cleanly to managed GCP services, creating a robust pipeline from raw environmental signals to AI-driven insights:

Mapping Architectural Layers to GCP Services

  • AI Orchestration (Vertex AI): Acts as the central intelligence engine. It processes multimodal inputs, including natural language queries from the Chat interface and computer vision analysis for Images captured by local IoT sensors.
  • Application Core (App Engine & Cloud Functions): App Engine manages the platform’s logic and dashboard, while Cloud Functions serve as event-driven triggers for real-time Alerts and automated responses.
  • Specialized Compute (Compute Engine): Provides the dedicated infrastructure required for heavy-duty meteorological fusion models and sensor calibration tasks.
  • Persistence Layer (Cloud Storage & Cloud SQL): A unified storage strategy combining relational databases for user/sensor metadata with object storage for historical image logs and environmental datasets.
  • Ingestion & Messaging (Pub/Sub + Cloud Run): Manages the high-frequency stream of IoT signals and external event feeds (CAP/RSS) before they reach the processing layer.
  • Observability (Cloud Monitoring & Logging): Provides full-stack visibility to maintain system resilience and track signal integrity throughout the feedback loop.

Because responsibilities are clearly separated by layer, each component can scale independently and evolve safely, maintaining system resilience without breaking the continuous intelligence feedback loop.


Architectural Summary

Architecture sump up

Climate Loop is structured around:

  • Continuous environmental signal ingestion: The architecture maintains a constant stream of high-frequency data from both global meteorological providers and local IoT sensors.
  • Event-based situational awareness: Beyond time-series data, the system integrates discrete signals, such as CAP alerts, RSS feeds, and community generated reports, to provide real-time context on "what just happened", "what happened" and "what will happen".
  • Multi-source fusion and probabilistic risk modeling: At the Computing core, global forecasts are reconciled with local ground-truth signals to produce localized risk scores and hazard classifications.
  • AI-driven contextual translation: Utilizing AI, the system transforms machine readable risk data into explainable guidance through natural language (Chat) and visual analysis (Images).
  • User-centered delivery of actionable guidance: The final output layer ensures that intelligence is not just displayed, but delivered as interactive maps and mobile Alerts that trigger specific protective actions for the end-user.

This architecture ensures that institutional data, local sensors, and community signals operate as a unified and continuously improving intelligence system.