How gaurab-kharal/weather-etl-pipeline works
This repository is a weather ETL and analysis application. A user starts the pipeline from main.py; it fetches forecasts for configured Nepali cities, transforms and aggregates them, and loads the data into SQLite. The README also describes notebook-based trend, correlation, and anomaly analysis. The extractor, loader, pipeline, and notebook are represented from README descriptions because their source contents were not excerpted; those links are documented relationships, not independently verified calls.
Main entry points: transformer.py Weather transformer · pipeline.py Weather pipeline · extractor.py Weather extractor · eda.ipynb EDA notebook
Components 13
Pipeline orchestration
- Pipeline entry
main.py - Weather pipeline
src/pipeline.py - Pipeline config
config.py
Forecast acquisition
- Weather extractor
src/extractor.py - Open-Meteo
- Raw forecast CSV
Data transformation
- Weather transformer
src/transformer.py - Processed forecast CSV
Data persistence
- Weather loader
src/loader.py - Weather database
Weather analysis
- EDA notebook
notebooks/eda.ipynb - Weather findings
notebooks/eda.ipynb
Other components
- User
Connections 17
- User → Pipeline entry: runs
README.md - Pipeline entry → Weather pipeline: builds and runs
README.md - Weather pipeline → Weather extractor: runs
README.md - Weather pipeline → Weather transformer: runs
README.md - Weather pipeline → Weather loader: runs
README.md - Pipeline config → Weather extractor: configures
README.md - Pipeline config → Weather transformer: provides paths
src/transformer.py - Weather extractor → Open-Meteo: fetches forecasts
README.md - Weather extractor → Raw forecast CSV: writes raw data
README.md - Raw forecast CSV → Weather transformer: reads
src/transformer.py - Weather transformer → Processed forecast CSV: saves processed data
src/transformer.py - Weather transformer → Weather transformer: aggregates daily humidity
src/transformer.py - Processed forecast CSV → Weather loader: loads CSV
README.md - Weather loader → Weather database: writes table
README.md - User → EDA notebook: explores results
README.md - EDA notebook → Weather database: analyzes loaded data
- EDA notebook → Weather findings: produces findings
README.md