Skip to content

Hamzi275/Airflow_Weather_ETL

Repository files navigation

🌦️ Weather ETL Pipeline with Apache Airflow & PostgreSQL

📌 Project Overview

This project demonstrates a real-time ETL pipeline built using Apache Airflow (Astro CLI) and PostgreSQL.

We fetch live weather data (based on latitude & longitude) from the Open Meteo API, process it through an Airflow DAG, and load the results into a PostgreSQL database.

Later, this data can be used for:

  • 📊 Dashboarding & Visualization (e.g., Power BI, Tableau, Grafana)
  • 🌤 Weather Forecasting models with ML/AI
  • 📡 Building scalable data pipelines with Airflow

⚙️ Architecture

Step 1: Extract → Weather API (latitude & longitude based)
Step 2: Transform → Processed inside Airflow task
Step 3: Load → Stored into PostgreSQL table

Airflow DAG ETL Pipeline

The DAG is fully orchestrated in Apache Airflow, ensuring scheduled execution and monitoring.


🗄 PostgreSQL Database

The processed weather data is finally stored into PostgreSQL, making it ready for analytics.

Postgres Weather Table


🚀 How to Run

1️⃣ Clone this repo

git clone https://github.com/<your-username>/etl-weather-astro.git
cd etl-weather-astro

About

End-to-end ETL pipeline using Airflow and PostgreSQL, extracting live weather data via API, transforming it, and storing for future use in dashboarding, forecasting, and analytics. Includes Docker setup and visuals.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors