How chart-scope/chart works
CHART is a climate-and-health planning platform: an authorised planner selects a place and planning horizon, reviews climate inputs and validated model results, saves a plan, then returns to a dashboard for risk views. The web interface fronts a FastAPI analytical API; climate preparation is supported by Dagster orchestration and data adapters, while model releases and results are backed by the application database. README documents the major product capabilities; connections not evidenced by excerpts or its statements are omitted.
Main entry points: service.py Climate planning · climate/routes.py Climate endpoints · risk/routes.py Risk endpoints · app.py FastAPI application
Components 20
Planning experience
- Planning interface
web/src/features/planning/PlanningApp.tsx - Risk dashboard
web/src/features/dashboard
Application API
- FastAPI application
core/chart/api/app.py - Climate endpoints
core/chart/climate/routes.py - Risk endpoints
core/chart/risk/routes.py - Installation setup
core/chart/setup - Geography catalog
core/chart/geographies/routes.py - Learning library
core/chart/learning/service.py
Climate and models
- Prediction workflow
core/chart/climate/requests.py - Climate planning
core/chart/climate/service.py - Model releases
core/chart/model_registry/service.py - Model inference
core/chart/inference/service.py - Risk views
core/chart/risk/service.py
Identity and data
- Identity and access
core/chart/auth/service.py - Application database
core/chart/shared/db/models.py
Data pipelines
- Climate orchestration
orchestration/src/chart_pipeline/definitions.py - ERA5 heat adapter
pipelines/era5_heat/src/era5_heat - Projection adapter
pipelines/isimip_projection/src/isimip_projection/adapter.py
Other components
- Authorised planner
- Copernicus CDS
Connections 22
- Authorised planner → Planning interface: plans in
- Authorised planner → Risk dashboard: reviews results
- Planning interface → FastAPI application: uses API
- Risk dashboard → FastAPI application: reads saved results
- FastAPI application → Climate endpoints: routes requests
- FastAPI application → Risk endpoints: routes requests
- Climate endpoints → Identity and access: checks access
core/chart/climate/routes.py - Risk endpoints → Identity and access: checks access
core/chart/risk/routes.py - Climate endpoints → Prediction workflow: dispatches prediction
core/chart/climate/routes.py - Climate endpoints → Climate planning: requests planning data
core/chart/climate/routes.py - Prediction workflow → Climate planning: uses climate inputs
core/chart/climate/requests.py - Climate planning → Model releases: resolves release
core/chart/climate/service.py - Climate planning → Model inference: scores inputs
- Risk endpoints → Risk views: loads risk views
core/chart/risk/routes.py - Geography catalog → Model releases: lists active models
core/chart/geographies/routes.py - Climate planning → Application database: reads climate records
core/chart/climate/service.py - Prediction workflow → Application database: stores prediction results
core/chart/climate/requests.py - Risk endpoints → Application database: reads stored records
core/chart/risk/routes.py - Climate orchestration → ERA5 heat adapter: runs climate adapter
orchestration/src/chart_pipeline/definitions.py - Climate orchestration → Projection adapter: runs projection adapter
orchestration/src/chart_pipeline/definitions.py - ERA5 heat adapter → Copernicus CDS: downloads reanalysis
pipelines/era5_heat/src/era5_heat/cds_client.py - Installation setup → Model releases: configures releases
core/chart/setup/model_configs.py