How pranava-kailash/weather_data_etl works
The product is a daily Airflow weather ETL: the DAG extracts OpenWeather data for configured coordinates, reshapes location/current/hourly/daily fields, and loads them into PostgreSQL. The sampled DAG shows the task dependencies and database writes. The README documents Airflow scheduling/monitoring and containerized deployment; deployment files are not runtime ETL components. The only core source module is dags/etlweather.py, so distinct stages are represented without inventing separate modules.
Main entry points: etlweather.py Weather extraction
Components 7
Orchestration
- Airflow schedule
- Weather DAG
dags/etlweather.py
Weather ETL
- Weather extraction
dags/etlweather.py - Weather transformation
dags/etlweather.py
Persistence
- PostgreSQL loader
dags/etlweather.py
Other components
- OpenWeather API
- PostgreSQL
Connections 6
- Airflow schedule → Weather DAG: triggers daily
dags/etlweather.py - Weather DAG → Weather extraction: dispatches
dags/etlweather.py - Weather extraction → OpenWeather API: requests weather
dags/etlweather.py - Weather extraction → Weather transformation: passes response
dags/etlweather.py - Weather transformation → PostgreSQL loader: passes shaped data
dags/etlweather.py - PostgreSQL loader → PostgreSQL: writes tables
dags/etlweather.py