{"product": "AquaState", "version": "WRI-2.0", "country": {"iso2": "AF", "iso3": "AFG", "name": "Afghanistan", "region": "Asia", "subregion": "Southern Asia", "lat": 33.0, "lon": 65.0, "bbox": [60.5284, 29.3186, 75.158, 38.4863], "has_outline": true, "population": 42647492, "area_km2": 652230.0, "demand_mm3_day": 12.794, "data_mode": "cached", "last_refresh": "2026-11-19T14:36:27.706055+00:00"}, "scenario": {"rain": "forecast", "demand_factor": 1.0, "horizon_days": 14, "hypothetical": false, "label": "Forecast"}, "generated_at": "2026-11-19T14:44:28.210309+00:00", "formula": "WRI = \u03a3 w\u1d62\u00b7S\u1d62 \u2212 0.15 \u00d7 max(0, 35 \u2212 min(S\u1d62)). The score is the current-state score; the horizon verdict is reported separately and never rewrites it.", "weights": {"buffer": 0.34, "soil": 0.18, "groundwater": 0.14, "forecast": 0.14, "trend": 0.2}, "base_index": 25.1, "horizon_gate": {"applied": false, "score_unchanged": true, "secured": false, "base_index": 25.1, "headline_status": "critical", "headline_label": "Exposed, no rain in forecast", "provisional": false, "reason": "The score is reported at its current/scenario value; the horizon verdict is reported separately."}, "pillars": [{"key": "buffer", "label": "Storage buffer", "value": 0.0, "weight": 0.34, "weight_pct": 34.0, "contribution": 0.0, "formula": "B = 100 \u00d7 [\u03a3 d\u1d62 \u00d7 min(1, cover_days\u1d62 / 90)^0.85] / \u03a3 d\u1d62", "substitution": "\u03a3 d\u1d62 = 12.79 Mm\u00b3/day; demand-weighted buffer = 0.0; aggregate runway = 0.0 days", "inputs": [{"label": "Usable stored water", "value": 0.0, "unit": "Mm\u00b3"}, {"label": "Aggregate net burn", "value": 13.029, "unit": "Mm\u00b3/day"}, {"label": "Aggregate runway", "value": 0.0, "unit": "days"}, {"label": "Target runway", "value": 90, "unit": "days"}], "source": "Public dam inventory + mass-balance reconstruction", "source_url": "/sources/", "source_kind": "reference/modeled", "confidence": 0.45, "interpretation": "How long the usable stored water can serve the allocated demand at the current net burn. The score reaches 100 at a 90-day runway."}, {"key": "soil", "label": "Soil moisture", "value": 35.61, "weight": 0.18, "weight_pct": 18.0, "contribution": 6.41, "formula": "M = 0.7 \u00d7 percentile(GWETTOP) + 0.3 \u00d7 [50 + 50 \u00d7 tanh((current \u2212 normal)/max(0.05, 0.25 \u00d7 normal))]", "substitution": "current = 0.292; normal = 0.338; percentile = 40; anomaly = -0.54\u03c3", "inputs": [{"label": "7-day surface wetness", "value": 0.292, "unit": "fraction"}, {"label": "Same-window normal", "value": 0.338, "unit": "fraction"}, {"label": "Percentile rank", "value": 40, "unit": "%"}, {"label": "Normalised anomaly", "value": -0.54, "unit": "\u03c3"}], "source": "NASA POWER / MERRA-2 surface soil wetness (GWETTOP)", "source_url": "https://power.larc.nasa.gov/", "source_kind": "NASA POWER GWETTOP", "confidence": 0.9, "interpretation": "Surface soil wetness compared with the same calendar window in the prior ten years. It is an antecedent-condition signal, not a reservoir level.", "history": [{"date": "2026-07-21", "value": 0.1}, {"date": "2026-07-22", "value": 0.11}, {"date": "2026-07-23", "value": 0.11}, {"date": "2026-07-24", "value": 0.11}, {"date": "2026-07-25", "value": 0.11}, {"date": "2026-07-26", "value": 0.1}, {"date": "2026-07-27", "value": 0.1}, {"date": "2026-07-28", "value": 0.1}, {"date": "2026-07-29", "value": 0.1}, {"date": "2026-07-30", "value": 0.1}, {"date": "2026-07-31", "value": 0.1}, {"date": "2026-08-01", "value": 0.1}, {"date": "2026-08-02", "value": 0.1}, {"date": "2026-08-03", "value": 0.1}, {"date": "2026-08-04", "value": 0.09}, {"date": "2026-08-05", "value": 0.09}, {"date": "2026-08-06", "value": 0.09}, {"date": "2026-08-07", "value": 0.1}, {"date": "2026-08-08", "value": 0.11}, {"date": "2026-08-09", "value": 0.11}, {"date": "2026-08-10", "value": 0.11}, {"date": "2026-08-11", "value": 0.11}, {"date": "2026-08-12", "value": 0.1}, {"date": "2026-08-13", "value": 0.1}, {"date": "2026-08-14", "value": 0.1}, {"date": "2026-08-15", "value": 0.1}, {"date": "2026-08-16", "value": 0.1}, {"date": "2026-08-17", "value": 0.1}, {"date": "2026-08-18", "value": 0.1}, {"date": "2026-08-19", "value": 0.1}, {"date": "2026-08-20", "value": 0.1}, {"date": "2026-08-21", "value": 0.1}, {"date": "2026-08-22", "value": 0.1}, {"date": "2026-08-23", "value": 0.1}, {"date": "2026-08-24", "value": 0.15}, {"date": "2026-08-25", "value": 0.15}, {"date": "2026-08-26", "value": 0.15}, {"date": "2026-08-27", "value": 0.14}, {"date": "2026-08-28", "value": 0.14}, {"date": "2026-08-29", "value": 0.13}, {"date": "2026-08-30", "value": 0.13}, {"date": "2026-08-31", "value": 0.13}, {"date": "2026-09-01", "value": 0.13}, {"date": "2026-09-02", "value": 0.12}, {"date": "2026-09-03", "value": 0.12}, {"date": "2026-09-04", "value": 0.12}, {"date": "2026-09-05", "value": 0.13}, {"date": "2026-09-06", "value": 0.13}, {"date": "2026-09-07", "value": 0.12}, {"date": "2026-09-08", "value": 0.12}, {"date": "2026-09-09", "value": 0.12}, {"date": "2026-09-10", "value": 0.12}, {"date": "2026-09-11", "value": 0.12}, {"date": "2026-09-12", "value": 0.11}, {"date": "2026-09-13", "value": 0.11}, {"date": "2026-09-14", "value": 0.11}, {"date": "2026-09-15", "value": 0.11}, {"date": "2026-09-16", "value": 0.11}, {"date": "2026-09-17", "value": 0.11}, {"date": "2026-09-18", "value": 0.11}, {"date": "2026-09-19", "value": 0.11}, {"date": "2026-09-20", "value": 0.11}, {"date": "2026-09-21", "value": 0.11}, {"date": "2026-09-22", "value": 0.1}, {"date": "2026-09-23", "value": 0.1}, {"date": "2026-09-24", "value": 0.1}, {"date": "2026-09-25", "value": 0.1}, {"date": "2026-09-26", "value": 0.1}, {"date": "2026-09-27", "value": 0.1}, {"date": "2026-09-28", "value": 0.1}, {"date": "2026-09-29", "value": 0.1}, {"date": "2026-09-30", "value": 0.1}, {"date": "2026-10-01", "value": 0.09}, {"date": "2026-10-02", "value": 0.1}, {"date": "2026-10-03", "value": 0.1}, {"date": "2026-10-04", "value": 0.1}, {"date": "2026-10-05", "value": 0.1}, {"date": "2026-10-06", "value": 0.1}, {"date": "2026-10-07", "value": 0.1}, {"date": "2026-10-08", "value": 0.1}, {"date": "2026-10-09", "value": 0.11}, {"date": "2026-10-10", "value": 0.11}, {"date": "2026-10-11", "value": 0.11}, {"date": "2026-10-12", "value": 0.11}, {"date": "2026-10-13", "value": 0.11}, {"date": "2026-10-14", "value": 0.11}, {"date": "2026-10-15", "value": 0.11}, {"date": "2026-10-16", "value": 0.12}, {"date": "2026-10-17", "value": 0.12}, {"date": "2026-10-18", "value": 0.12}, {"date": "2026-10-19", "value": 0.12}, {"date": "2026-10-20", "value": 0.12}, {"date": "2026-10-21", "value": 0.12}, {"date": "2026-10-22", "value": 0.12}, {"date": "2026-10-23", "value": 0.12}, {"date": "2026-10-24", "value": 0.13}, {"date": "2026-10-25", "value": 0.13}, {"date": "2026-10-26", "value": 0.13}, {"date": "2026-10-27", "value": 0.13}, {"date": "2026-10-28", "value": 0.13}, {"date": "2026-10-29", "value": 0.14}, {"date": "2026-10-30", "value": 0.14}, {"date": "2026-10-31", "value": 0.14}, {"date": "2026-11-01", "value": 0.14}, {"date": "2026-11-02", "value": 0.14}, {"date": "2026-11-03", "value": 0.15}, {"date": "2026-11-04", "value": 0.15}, {"date": "2026-11-05", "value": 0.16}, {"date": "2026-11-06", "value": 0.16}, {"date": "2026-11-07", "value": 0.16}, {"date": "2026-11-08", "value": 0.16}, {"date": "2026-11-09", "value": 0.16}, {"date": "2026-11-10", "value": 0.17}, {"date": "2026-11-11", "value": 0.18}, {"date": "2026-11-12", "value": 0.41}, {"date": "2026-11-13", "value": 0.33}, {"date": "2026-11-14", "value": 0.3}, {"date": "2026-11-15", "value": 0.28}, {"date": "2026-11-16", "value": 0.26}], "percentile": 40.0}, {"key": "groundwater", "label": "Underground reserve", "value": 20.0, "weight": 0.14, "weight_pct": 14.0, "contribution": 2.8, "formula": "G = 0.6 \u00d7 percentile(GWETROOT) + 0.4 \u00d7 trend_score(Sen / Mann\u2013Kendall)", "substitution": "root-zone percentile 0; trend score 50; no measured aquifer record loaded", "inputs": [{"label": "Aquifer systems", "value": "\u2013", "unit": "count"}, {"label": "Primary data", "value": "Root-zone proxy", "unit": ""}], "source": "NASA POWER root-zone wetness proxy (no aquifer inventory)", "source_url": "/sources/", "source_kind": "proxy", "confidence": 0.42, "interpretation": "Abstraction pressure and water-table direction for mapped aquifers. Fossil systems are not renewable on management timescales.", "aquifers": []}, {"key": "forecast", "label": "Forecast opportunity", "value": 79.32, "weight": 0.14, "weight_pct": 14.0, "contribution": 11.11, "formula": "F = 100 \u00d7 min(1, (P14 / max(1, Pnormal14)) / 1.25)", "substitution": "P14 = 11.3 mm; normal 14-day rain = 11.4 mm; ratio = 0.99", "inputs": [{"label": "14-day forecast rain", "value": 11.3, "unit": "mm"}, {"label": "10-year same-window normal", "value": 11.4, "unit": "mm"}, {"label": "Rain scenario", "value": "Forecast", "unit": ""}], "source": "Open-Meteo 16-day forecast + NASA POWER 10-year normal", "source_url": "https://open-meteo.com/", "source_kind": "fallback", "confidence": 0.35, "interpretation": "Near-term rainfall opportunity relative to the ten-year normal for the same fortnight. It is an opportunity signal, not a guarantee. Missing data is neutral, not dry."}, {"key": "trend", "label": "Storage trend", "value": 50.0, "weight": 0.2, "weight_pct": 20.0, "contribution": 10.0, "formula": "T = 50 + (100 \u00d7 clamp(0.5 + \u03b2/4, 0, 1) \u2212 50) \u00d7 (1 \u2212 p)", "substitution": "Sen \u03b2 = +0.00% capacity/year; Mann\u2013Kendall p = 0.412609; n = 11", "inputs": [{"label": "Sen slope", "value": 0.0, "unit": "% cap/yr"}, {"label": "Mann\u2013Kendall p", "value": 0.412609, "unit": ""}, {"label": "Annual observations", "value": 11, "unit": "years"}], "source": "Mass-balance storage history; Sen's slope + Mann\u2013Kendall", "source_url": "/methodology/", "source_kind": "modeled", "confidence": 0.8, "interpretation": "The direction of the ten-year storage trajectory, shrunk toward neutral when the Mann\u2013Kendall test is not significant. Positive slope means recovery.", "history": [{"year": 2016, "storage_pct": 47.65}, {"year": 2017, "storage_pct": 10.0}, {"year": 2018, "storage_pct": 10.0}, {"year": 2019, "storage_pct": 10.0}, {"year": 2020, "storage_pct": 67.97}, {"year": 2021, "storage_pct": 68.78}, {"year": 2022, "storage_pct": 25.04}, {"year": 2023, "storage_pct": 10.0}, {"year": 2024, "storage_pct": 10.0}, {"year": 2025, "storage_pct": 10.0}, {"year": 2026, "storage_pct": 10.0}], "slope": {"per_year": 0.0, "pct_per_year": 0.0, "p_value": 0.412609, "significant": false, "n": 11}}], "horizon": {"state": "exposed", "verdict": "Exposed, no rain in forecast", "headline": "Exposed, no rain in forecast", "days_to_rain": null, "rain_amount_mm": 0.0, "relief_threshold_mm": 10.3, "rain_event_window": {"start": null, "lag_days": 2}, "cover_days": 0.0, "min_projected_ratio": 0.0, "projected_storage_pct": 0.0, "emergency_ratio_pct": 3.0, "post_relief_ok": false, "post_relief_ratio_pct": null, "ratio_at_relief_pct": null, "post_relief_net_balance_mm3": 0.0, "refill_gain_mm3": 0.0, "refill_needed_mm3": 0.0, "reserve_days": 6.6, "covered_to_relief": false, "runway": [{"date": "2026-11-19", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-20", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-21", "storage_pct": 0.0, "rain_mm": 5.62, "threshold_pct": 3.0}, {"date": "2026-11-22", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-23", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-24", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-25", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-26", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-27", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-28", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-29", "storage_pct": 0.0, "rain_mm": 5.65, "threshold_pct": 3.0}, {"date": "2026-11-30", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-01", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-02", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-03", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-04", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-05", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-06", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-07", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-08", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-09", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-10", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-11", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-12", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-13", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-14", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-15", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-16", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-17", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-18", "storage_pct": 0.0, "rain_mm": 0.0, "threshold_pct": 3.0}], "reservoirs": [{"id": 30, "name": "National reference storage pool", "cover_days": 0.0, "days_to_rain": null, "usable_ratio": 0.0, "min_projected_ratio": 0.0, "major": true, "local_relief_threshold_mm": 10.3, "status": "exposed"}], "alerts": [{"level": "warning", "message": "National reference storage pool is below the local emergency reserve before the national rain event."}], "simulation_note": "45-day daily balance. Forecast rain is used for days 0-15; zero rain is assumed after day 16. The runoff lag is 2 days. Screening response = rain \u00d7 (capacity/300) \u00d7 0.60, where capacity/300 is Mm\u00b3 per mm."}, "narrative": {"headline": "Exposed, no rain in forecast", "headline_label": "Exposed, no rain in forecast", "summary": "No significant rain is forecast in the next 14 days, and stored water covers only 0 days. The absence of a refill is the binding constraint; the current-state score is 25.1/100.", "bottleneck": "The weakest pillar is Storage buffer at 0/100.", "status": "Critical", "condition": "forward-looking", "country": "Afghanistan"}, "data_quality": {"confidence": 0.58, "label": "Medium", "mode": "cached", "fallback": true, "proxy": true, "notes": ["Reservoir inventory is a national reference pool, not a dam list.", "Groundwater uses a labelled root-zone proxy; no aquifer inventory is loaded for this country."]}, "sources": [{"key": "climate", "name": "NASA POWER / MERRA-2", "what": "10-year precipitation and soil wetness at the demand-weighted reservoir centroid", "kind": "live", "source": "NASA POWER / MERRA-2", "fetched_at": "2026-11-19T14:36:27.308178+00:00", "url": "https://power.larc.nasa.gov/"}, {"key": "forecast", "name": "Open-Meteo", "what": "16-day precipitation, ET0 and temperature forecast", "kind": "fallback", "source": "Synthetic fallback", "fetched_at": "2026-11-19T14:36:27.627976+00:00", "url": "https://open-meteo.com/"}, {"key": "inventory", "name": "Public dam inventory", "what": "Reservoir names, locations and screening capacities", "kind": "synthetic", "source": "National reference pool", "fetched_at": null, "url": "https://en.wikipedia.org/wiki/List_of_dams_and_reservoirs_in_Algeria"}, {"key": "storage", "name": "Mass-balance reconstruction", "what": "Current live storage and annual end-of-year history", "kind": "modeled", "source": "NASA POWER precipitation + allocated demand + ET0", "fetched_at": "2026-11-19T14:36:27.706055+00:00", "url": "/methodology/"}, {"key": "outline", "name": "Natural Earth 1:110m", "what": "Country outline for the map and offline fallback", "kind": "reference", "source": "Natural Earth public domain", "fetched_at": null, "url": "https://www.naturalearthdata.com/"}], "ai": {"policy": {"enabled": false, "allow_subindex_adjustment": false, "max_adjustment": 5.0, "core_formula_mutable": false, "default_behavior": "advisory-only"}, "slots": [{"id": 4, "name": "anomaly-explanation-agent", "stage": "anomaly_explanation", "description": "Reserved: flags an unexplained jump or divergence for analyst review.", "enabled": false, "max_delta": 0.0, "weight": 0.0, "contract_version": "1.0", "endpoint": "", "metadata": {"mutates_core": false, "status": "reserved"}}, {"id": 3, "name": "confidence-calibration-agent", "stage": "confidence_calibration", "description": "Reserved: proposes a separate confidence adjustment from source agreement. Never changes the score.", "enabled": false, "max_delta": 5.0, "weight": 1.0, "contract_version": "1.0", "endpoint": "", "metadata": {"mutates_core": false, "status": "reserved"}}, {"id": 2, "name": "horizon-narrative-agent", "stage": "horizon_narrative", "description": "Reserved: turns the deterministic horizon simulation into a plain-language briefing.", "enabled": false, "max_delta": 0.0, "weight": 0.0, "contract_version": "1.0", "endpoint": "", "metadata": {"mutates_core": false, "status": "reserved"}}, {"id": 1, "name": "reservoir-context-agent", "stage": "post_subindex_advice", "description": "Reserved: explains anomalous reservoir storage against local operations context. Advisory only.", "enabled": false, "max_delta": 0.0, "weight": 0.0, "contract_version": "1.0", "endpoint": "", "metadata": {"mutates_core": false, "status": "reserved"}}, {"id": 5, "name": "scenario-critic-agent", "stage": "post_subindex_advice", "description": "Reserved: argues against the current scenario and lists missing evidence. Advisory only.", "enabled": false, "max_delta": 0.0, "weight": 0.0, "contract_version": "1.0", "endpoint": "", "metadata": {"mutates_core": false, "status": "reserved"}}], "contract": "Agent suggestions are advisory only. Core formula, inputs, pillars, horizon verdict and score are immutable by contract.", "policy_reference": {"allow_subindex_adjustment": false, "max_adjustment": 5.0, "core_formula_mutable": false, "requires_rationale": true, "requires_confidence": true, "audit_all_suggestions": true, "default_behavior": "advisory-only"}}, "ai_trace": {"enabled": false, "policy": {"enabled": false, "allow_subindex_adjustment": false, "max_adjustment": 5.0, "core_formula_mutable": false, "default_behavior": "advisory-only"}, "contributions": [], "slots": [{"id": 4, "name": "anomaly-explanation-agent", "stage": "anomaly_explanation", "description": "Reserved: flags an unexplained jump or divergence for analyst review.", "enabled": false, "max_delta": 0.0, "weight": 0.0, "contract_version": "1.0", "endpoint": "", "metadata": {"mutates_core": false, "status": "reserved"}}, {"id": 3, "name": "confidence-calibration-agent", "stage": "confidence_calibration", "description": "Reserved: proposes a separate confidence adjustment from source agreement. Never changes the score.", "enabled": false, "max_delta": 5.0, "weight": 1.0, "contract_version": "1.0", "endpoint": "", "metadata": {"mutates_core": false, "status": "reserved"}}, {"id": 2, "name": "horizon-narrative-agent", "stage": "horizon_narrative", "description": "Reserved: turns the deterministic horizon simulation into a plain-language briefing.", "enabled": false, "max_delta": 0.0, "weight": 0.0, "contract_version": "1.0", "endpoint": "", "metadata": {"mutates_core": false, "status": "reserved"}}, {"id": 1, "name": "reservoir-context-agent", "stage": "post_subindex_advice", "description": "Reserved: explains anomalous reservoir storage against local operations context. Advisory only.", "enabled": false, "max_delta": 0.0, "weight": 0.0, "contract_version": "1.0", "endpoint": "", "metadata": {"mutates_core": false, "status": "reserved"}}, {"id": 5, "name": "scenario-critic-agent", "stage": "post_subindex_advice", "description": "Reserved: argues against the current scenario and lists missing evidence. Advisory only.", "enabled": false, "max_delta": 0.0, "weight": 0.0, "contract_version": "1.0", "endpoint": "", "metadata": {"mutates_core": false, "status": "reserved"}}], "status": "disabled"}, "latest_snapshot": {"id": 7, "created_at": "2026-11-19T14:36:27.843581+00:00", "base_index": 25.1, "final_index": 25.1, "status": "critical", "verdict": "Exposed, no rain in forecast"}}