How kcautivof-cmd/meteo works
Purpose and entry point
This is a static meteorological analysis tool for operational bulletin support. The browser entry point is index.html; it presents weather variables and public alert/geospatial reference data. No server application or package-managed runtime is present in the repository.
Browser visualization layer
index.html is the primary application surface and likely contains the client-side UI, map rendering, and requests to public weather/visualization providers. It is the boundary between user interaction and externally sourced meteorological data.
Grounding:
• index.html
Meteorological data integrations
The stated live-data sources are Open-Meteo and external Windy visualizations. These are consumed from the browser rather than through a repository-hosted API layer, so availability, CORS behavior, and source schema changes are external dependencies.
Grounding:
• index.html
• README.md
Official alerts data
Country-level official alert snapshots are versioned as JSON assets for display or overlay in the client. These provide a local/static data boundary separate from live weather-model requests.
Grounding:
• bolivia_alerts_official.json
• peru_alerts_official.json
Geographic operational overlays
GeoJSON assets define operational map context: Chilean airports and PRD zones, plus SENAMHI-related coverage/features for Bolivia and Peru. The browser layer can load these directly as static map layers.
Grounding:
• chile_airports.geojson
• chile_prd_zones.geojson
• senamhi_bolivia.geojson
• senamhi_peru.geojson
DMC cache refresh pipeline
A Python script retrieves or transforms DMC data into a checked-in cache consumed by the static site. This is the repository’s only explicit backend-like processing stage: scheduled automation runs Python, updates dmc_cache.json, and persists the resulting artifact in the repository.
Grounding:
• fetch_dmc.py
• dmc_cache.json
• .github/workflows/dmc_cache.yml
Runtime and deployment model
The application is deployable as static files: HTML plus JSON/GeoJSON assets. GitHub Actions provides scheduled or event-driven cache maintenance; GitHub is therefore both source control and the likely artifact publication/update mechanism. There is no evidence of a database, application server, authentication system, or internal API.
Grounding:
• .github/workflows/dmc_cache.yml
• index.html
• dmc_cache.json
Main entry points: index.html Browser UI and map · fetch_dmc.py DMC fetch and transform · dmc_cache.json DMC cache · dmc_cache.yml Cache workflow
Components 18
Static browser app
- Browser UI and map · Renders weather, alerts, and operational overlays.
index.html - Static publication · Publishes the HTML and checked-in assets.
Versioned data assets
- Official alert snapshots · Country-level Bolivia and Peru alert data.
- Bolivia alerts
bolivia_alerts_official.json - Peru alerts
peru_alerts_official.json - Operational map overlays · Airport, zone, and SENAMHI reference layers.
- Chile airports
chile_airports.geojson - Chile PRD zones
chile_prd_zones.geojson - SENAMHI layers
- SENAMHI Bolivia
senamhi_bolivia.geojson - SENAMHI Peru
senamhi_peru.geojson - DMC cache · Checked-in DMC data served by the static site.
dmc_cache.json
DMC cache refresh
- Cache workflow · Scheduled or event-driven cache maintenance.
.github/workflows/dmc_cache.yml - DMC fetch and transform
fetch_dmc.py
Other components
- Operations user
- Open-Meteo
- Windy visualizations
- DMC data source
Connections 20
- Operations user → Browser UI and map: uses
- Browser UI and map → Open-Meteo: requests live weather
- Browser UI and map → Windy visualizations: loads visualizations
- Browser UI and map → Official alert snapshots: loads alerts
- Official alert snapshots → Bolivia alerts: includes
- Official alert snapshots → Peru alerts: includes
- Browser UI and map → Operational map overlays: loads map layers
- Operational map overlays → Chile airports: includes
- Operational map overlays → Chile PRD zones: includes
- Operational map overlays → SENAMHI layers: includes
- SENAMHI layers → SENAMHI Bolivia: includes
- SENAMHI layers → SENAMHI Peru: includes
- Browser UI and map → DMC cache: loads cached data
- Cache workflow → DMC fetch and transform: runs
- DMC fetch and transform → DMC data source: retrieves data
- DMC fetch and transform → DMC cache: updates
- Static publication → Browser UI and map: serves
- Static publication → Official alert snapshots: publishes
- Static publication → Operational map overlays: publishes
- Static publication → DMC cache: publishes