How mohamedshaheem002-arch/skyguard-ai works
SkyGuard is a weather-station telemetry quality-monitoring application. Users inspect network health and alerts, drill into station histories, or submit observation files for scoring and download the results. The scoring engine prepares observations, combines hard quality checks with temporal, climatological and spatial evidence, then assigns a verdict and correction estimate. The dashboard also exposes live-map, test-replay and benchmark views. Backend wiring is only partly sampled; the graph shows documented API and engine responsibilities and omits uncertain internal calls.
Main entry points: App.tsx Dashboard app · engine.py Scoring engine · main.py REST API · api.ts API client
Components 20
Dashboard
- Dashboard app
skyguard/frontend/src/App.tsx - API client
skyguard/frontend/src/services/api.ts - Network views
skyguard/frontend/src/components/views/OverviewView.tsx - Live map
skyguard/frontend/src/components/views/LiveMapView.tsx - Alerts view
skyguard/frontend/src/components/views/AlertsView.tsx - Station detail
skyguard/frontend/src/components/views/StationDetailView.tsx - Test replay
skyguard/frontend/src/components/views/TestReplayView.tsx - Benchmarks
skyguard/frontend/src/components/views/BenchmarksView.tsx - Diagnosis display
skyguard/frontend/src/components/common/DiagnosisPanel.tsx
Web API
- REST API
skyguard/app/main.py - Scored sessions
skyguard/app/main.py
Scoring
- Scoring engine
skyguard/skyguard/engine.py - Data preparation
skyguard/skyguard/data.py - Quality checks
skyguard/skyguard/qc.py - Feature extraction
skyguard/skyguard/features.py
Evidence and decisions
- Climatology
skyguard/skyguard/climatology.py - Spatial context
skyguard/skyguard/spatial.py - Verdicts and correction
skyguard/skyguard/decision.py - Physical checks
skyguard/skyguard/physics.py
Other components
- Operator
Connections 20
- Operator → Dashboard app: uses
- Dashboard app → API client: requests data
- Dashboard app → Network views: renders
- Dashboard app → Live map: renders
- Dashboard app → Alerts view: renders
- Dashboard app → Station detail: renders
- Dashboard app → Test replay: renders
- Dashboard app → Benchmarks: renders
- Station detail → Diagnosis display: shows diagnosis
- API client → REST API: HTTP requests
- REST API → Scoring engine: scores observations
- REST API → Scored sessions: stores scored results
- REST API → Scored sessions: reads download results
- Scoring engine → Data preparation: prepares observations
- Scoring engine → Quality checks: checks observations
- Scoring engine → Feature extraction: extracts features
- Scoring engine → Climatology: uses normals
- Scoring engine → Spatial context: uses neighbours
- Scoring engine → Verdicts and correction: assigns verdicts
- Scoring engine → Physical checks: uses physical checks