How gayatridushing2345/mausammesh works
MausamMesh is a Panchayat-scale weather intelligence and officer decision-support platform. Its principal workflow refines block forecasts into local forecasts, ranks agricultural risk, and presents results for officer review and action. The backend also exposes map, comparison, reliability, and bulletin-report capabilities; the frontend provides multilingual dashboards and a rule-based assistant. The graph follows documented relationships and source-index references; unsampled subsystems are included where the README documents them, but uncertain internal call paths are not inferred.
Main entry points: endpoints.py HTTP API · data_service.py Forecast data engine · KeyInsight.tsx Insight display · DashboardScreen.tsx Forecast dashboard
Components 25
Forecast and data
- IMD forecasts
- WINDS telemetry
- Residual downscaler
backend/app/services/ml_service.py - Forecast data engine
backend/app/services/data_service.py - Risk scoring
backend/app/services/priority_engine.py - IMD categories
backend/app/services/imd_categories.py
Backend services
- HTTP API
backend/app/api/endpoints.py - API data models
backend/app/schemas.py - Runtime settings
backend/app/config.py - API application
backend/app/main.py
Officer workflow
- Advisory drafting and approval
backend/app/services/advisory_service.py - WINDS status connector
backend/app/services/winds_service.py
Dashboard
- Frontend API client
frontend/src/lib/api.ts - Forecast dashboard
frontend/src/components/DashboardScreen.tsx - Map exploration
frontend/src/components/MapScreen.tsx - Interactive map
frontend/src/components/LeafletMapInner.tsx - Location explorer
frontend/src/components/LocationExplorerModal.tsx - Forecast analysis
frontend/src/components/AnalysisScreen.tsx - Model reliability
frontend/src/components/ReliabilityScreen.tsx - Advisory screen
frontend/src/components/AdvisoryScreen.tsx - Rule-based assistant
frontend/src/components/ChatbotWidget.tsx - Localization
frontend/src/lib/i18n.ts - Insight display
frontend/src/components/KeyInsight.tsx
Other components
- IMD / DAMU officer
- Dashboard user
Connections 28
- API application → Runtime settings: loads settings
backend/app/main.py - API application → HTTP API: registers routes
backend/app/main.py - HTTP API → Forecast data engine: requests forecasts and data
backend/app/api/endpoints.py - HTTP API → Advisory drafting and approval: routes advisory approval
backend/app/api/endpoints.py - HTTP API → WINDS status connector: requests network status
backend/app/api/endpoints.py - HTTP API → API data models: validates API data
backend/app/api/endpoints.py - Forecast data engine → Residual downscaler: predicts local forecasts
backend/app/services/data_service.py - Forecast data engine → WINDS status connector: uses telemetry connector
backend/app/services/data_service.py - Forecast data engine → Risk scoring: uses risk scoring
backend/app/services/data_service.py - Forecast data engine → IMD categories: uses weather categories
backend/app/services/data_service.py - IMD forecasts → Forecast data engine: provides block baseline
README.md - WINDS telemetry → WINDS status connector: supplies station telemetry
README.md - IMD / DAMU officer → HTTP API: requests ranked queue
README.md - HTTP API → Forecast data engine: requests priority queue
backend/app/api/endpoints.py - IMD / DAMU officer → Advisory drafting and approval: reviews draft
README.md - HTTP API → Forecast dashboard: serves dashboard data
README.md - Dashboard user → Forecast dashboard: views forecasts
- Forecast dashboard → Frontend API client: requests backend data
- Location explorer → Frontend API client: requests location data
frontend/src/components/LocationExplorerModal.tsx - Map exploration → Interactive map: renders map
frontend/src/components/MapScreen.tsx - Forecast dashboard → Interactive map: renders map
frontend/src/components/DashboardScreen.tsx - Forecast dashboard → Insight display: renders insights
frontend/src/components/DashboardScreen.tsx - Map exploration → Insight display: renders insights
frontend/src/components/MapScreen.tsx - Forecast analysis → Insight display: renders insights
frontend/src/components/AnalysisScreen.tsx - Model reliability → Insight display: renders insights
frontend/src/components/ReliabilityScreen.tsx - Advisory screen → Insight display: renders insights
frontend/src/components/AdvisoryScreen.tsx - Insight display → Localization: translates messages
frontend/src/components/KeyInsight.tsx - Dashboard user → Rule-based assistant: asks questions
README.md