# esraa-elgebaly/time-series--data_weather architecture

> Architecture diagram of the GitHub repository esraa-elgebaly/time-series--data_weather, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/esraa-elgebaly/time-series--data_weather
- Repository: https://github.com/esraa-elgebaly/time-series--data_weather

## Overview

This repository is a notebook-based Cairo weather analysis and forecasting setup. Its documented workflow collects NASA POWER data, prepares a clean dataset, explores temporal patterns and hypotheses, then defines time-based evaluation and baseline metrics. The README documents these stages, but the notebook itself was not sampled, so internal calls and implementation details cannot be verified; the graph shows only documented data and workflow relationships.

Main entry points: [`Weather_Predication.ipynb`](https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/Weather_Predication.ipynb) (Data collection), [`cairo_weather_raw.csv`](https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/cairo_weather_raw.csv) (Raw CSV), [`cairo_weather_clean.csv`](https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/cairo_weather_clean.csv) (Clean CSV), [`cairo_raw_nasa_power.json`](https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/cairo_raw_nasa_power.json) (Raw JSON)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Data preparation"]
  node_collection["Data collection"]
  node_raw_json["Raw JSON"]
  node_raw_csv["Raw CSV"]
  node_preparation["Data preparation"]
  node_clean_csv["Clean CSV"]
end

subgraph group_analysis["Weather analysis"]
  node_eda["Exploratory analysis"]
  node_hypotheses["Hypotheses and findings"]
  node_slides["Presentation slides"]
end

subgraph group_forecast["Forecast setup"]
  node_time_split["Time-based split"]
  node_baselines["Forecast baselines"]
end

node_nasa(("NASA POWER"))

node_nasa -->|"provides data"| node_collection
node_collection -->|"saves response"| node_raw_json
node_collection -->|"saves data"| node_raw_csv
node_raw_csv -->|"prepares"| node_preparation
node_preparation -->|"saves cleaned data"| node_clean_csv
node_clean_csv -->|"analyzes"| node_eda
node_eda -->|"examines"| node_hypotheses
node_eda -->|"informs"| node_time_split
node_time_split -->|"evaluates"| node_baselines

click node_collection "https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/Weather_Predication.ipynb"
click node_raw_json "https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/cairo_raw_nasa_power.json"
click node_raw_csv "https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/cairo_weather_raw.csv"
click node_preparation "https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/Weather_Predication.ipynb"
click node_clean_csv "https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/cairo_weather_clean.csv"
click node_eda "https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/Weather_Predication.ipynb"
click node_hypotheses "https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/Weather_Predication.ipynb"
click node_time_split "https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/Weather_Predication.ipynb"
click node_baselines "https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/Weather_Predication.ipynb"
click node_slides "https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/Cairo_Weather_Predication.pptx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_collection,node_raw_json,node_raw_csv,node_preparation,node_clean_csv toneBlue
class node_eda,node_hypotheses,node_slides toneAmber
class node_time_split,node_baselines toneMint
class node_nasa toneIndigo
```

## Components

### Data preparation

- [Data collection](https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/Weather_Predication.ipynb): `Weather_Predication.ipynb`
- [Raw JSON](https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/cairo_raw_nasa_power.json): `cairo_raw_nasa_power.json`
- [Raw CSV](https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/cairo_weather_raw.csv): `cairo_weather_raw.csv`
- [Data preparation](https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/Weather_Predication.ipynb): `Weather_Predication.ipynb`
- [Clean CSV](https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/cairo_weather_clean.csv): `cairo_weather_clean.csv`

### Weather analysis

- [Exploratory analysis](https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/Weather_Predication.ipynb): `Weather_Predication.ipynb`
- [Hypotheses and findings](https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/Weather_Predication.ipynb): `Weather_Predication.ipynb`
- [Presentation slides](https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/Cairo_Weather_Predication.pptx): `Cairo_Weather_Predication.pptx`

### Forecast setup

- [Time-based split](https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/Weather_Predication.ipynb): `Weather_Predication.ipynb`
- [Forecast baselines](https://github.com/esraa-elgebaly/time-series--data_weather/blob/main/Weather_Predication.ipynb): `Weather_Predication.ipynb`

### Other components

- **NASA POWER**

## Connections

- NASA POWER → Data collection: provides data (evidence: `README.md`)
- Data collection → Raw JSON: saves response (evidence: `README.md`)
- Data collection → Raw CSV: saves data (evidence: `README.md`)
- Raw CSV → Data preparation: prepares (evidence: `README.md`)
- Data preparation → Clean CSV: saves cleaned data (evidence: `README.md`)
- Clean CSV → Exploratory analysis: analyzes (evidence: `README.md`)
- Exploratory analysis → Hypotheses and findings: examines (evidence: `README.md`)
- Exploratory analysis → Time-based split: informs (evidence: `README.md`)
- Time-based split → Forecast baselines: evaluates (evidence: `README.md`)
