{"product": "AquaState", "version": "WRI-2.0", "country": {"iso2": "BR", "iso3": "BRA", "name": "Brazil", "region": "Americas", "subregion": "South America", "lat": -10.0, "lon": -55.0, "bbox": [-73.9872, -33.7684, -34.73, 5.2445], "has_outline": true, "population": 211998573, "area_km2": 8515767.0, "demand_mm3_day": 63.6, "data_mode": "cached", "last_refresh": "2026-11-19T14:36:48.407091+00:00"}, "scenario": {"rain": "forecast", "demand_factor": 1.0, "horizon_days": 14, "hypothetical": false, "label": "Forecast"}, "generated_at": "2026-11-19T14:44:36.149500+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": 45.8, "horizon_gate": {"applied": false, "score_unchanged": true, "secured": false, "base_index": 45.8, "headline_status": "ok", "headline_label": "OK, buffered", "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": 100.0, "weight": 0.34, "weight_pct": 34.0, "contribution": 34.0, "formula": "B = 100 \u00d7 [\u03a3 d\u1d62 \u00d7 min(1, cover_days\u1d62 / 90)^0.85] / \u03a3 d\u1d62", "substitution": "\u03a3 d\u1d62 = 63.60 Mm\u00b3/day; demand-weighted buffer = 100.0; aggregate runway = 166.7 days", "inputs": [{"label": "Usable stored water", "value": 10560.0, "unit": "Mm\u00b3"}, {"label": "Aggregate net burn", "value": 63.366, "unit": "Mm\u00b3/day"}, {"label": "Aggregate runway", "value": 166.7, "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": 11.74, "weight": 0.18, "weight_pct": 18.0, "contribution": 2.11, "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.502; normal = 0.635; percentile = 10; anomaly = -0.84\u03c3", "inputs": [{"label": "7-day surface wetness", "value": 0.502, "unit": "fraction"}, {"label": "Same-window normal", "value": 0.635, "unit": "fraction"}, {"label": "Percentile rank", "value": 10, "unit": "%"}, {"label": "Normalised anomaly", "value": -0.84, "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.46}, {"date": "2026-07-22", "value": 0.45}, {"date": "2026-07-23", "value": 0.44}, {"date": "2026-07-24", "value": 0.43}, {"date": "2026-07-25", "value": 0.42}, {"date": "2026-07-26", "value": 0.42}, {"date": "2026-07-27", "value": 0.42}, {"date": "2026-07-28", "value": 0.41}, {"date": "2026-07-29", "value": 0.4}, {"date": "2026-07-30", "value": 0.39}, {"date": "2026-07-31", "value": 0.37}, {"date": "2026-08-01", "value": 0.35}, {"date": "2026-08-02", "value": 0.35}, {"date": "2026-08-03", "value": 0.33}, {"date": "2026-08-04", "value": 0.32}, {"date": "2026-08-05", "value": 0.31}, {"date": "2026-08-06", "value": 0.31}, {"date": "2026-08-07", "value": 0.3}, {"date": "2026-08-08", "value": 0.29}, {"date": "2026-08-09", "value": 0.29}, {"date": "2026-08-10", "value": 0.28}, {"date": "2026-08-11", "value": 0.32}, {"date": "2026-08-12", "value": 0.37}, {"date": "2026-08-13", "value": 0.35}, {"date": "2026-08-14", "value": 0.33}, {"date": "2026-08-15", "value": 0.33}, {"date": "2026-08-16", "value": 0.34}, {"date": "2026-08-17", "value": 0.32}, {"date": "2026-08-18", "value": 0.3}, {"date": "2026-08-19", "value": 0.28}, {"date": "2026-08-20", "value": 0.27}, {"date": "2026-08-21", "value": 0.26}, {"date": "2026-08-22", "value": 0.25}, {"date": "2026-08-23", "value": 0.25}, {"date": "2026-08-24", "value": 0.24}, {"date": "2026-08-25", "value": 0.24}, {"date": "2026-08-26", "value": 0.24}, {"date": "2026-08-27", "value": 0.24}, {"date": "2026-08-28", "value": 0.28}, {"date": "2026-08-29", "value": 0.29}, {"date": "2026-08-30", "value": 0.27}, {"date": "2026-08-31", "value": 0.26}, {"date": "2026-09-01", "value": 0.31}, {"date": "2026-09-02", "value": 0.35}, {"date": "2026-09-03", "value": 0.42}, {"date": "2026-09-04", "value": 0.49}, {"date": "2026-09-05", "value": 0.56}, {"date": "2026-09-06", "value": 0.51}, {"date": "2026-09-07", "value": 0.49}, {"date": "2026-09-08", "value": 0.49}, {"date": "2026-09-09", "value": 0.53}, {"date": "2026-09-10", "value": 0.48}, {"date": "2026-09-11", "value": 0.45}, {"date": "2026-09-12", "value": 0.43}, {"date": "2026-09-13", "value": 0.41}, {"date": "2026-09-14", "value": 0.4}, {"date": "2026-09-15", "value": 0.37}, {"date": "2026-09-16", "value": 0.4}, {"date": "2026-09-17", "value": 0.39}, {"date": "2026-09-18", "value": 0.36}, {"date": "2026-09-19", "value": 0.33}, {"date": "2026-09-20", "value": 0.31}, {"date": "2026-09-21", "value": 0.29}, {"date": "2026-09-22", "value": 0.3}, {"date": "2026-09-23", "value": 0.37}, {"date": "2026-09-24", "value": 0.35}, {"date": "2026-09-25", "value": 0.36}, {"date": "2026-09-26", "value": 0.42}, {"date": "2026-09-27", "value": 0.39}, {"date": "2026-09-28", "value": 0.36}, {"date": "2026-09-29", "value": 0.36}, {"date": "2026-09-30", "value": 0.34}, {"date": "2026-10-01", "value": 0.39}, {"date": "2026-10-02", "value": 0.49}, {"date": "2026-10-03", "value": 0.45}, {"date": "2026-10-04", "value": 0.43}, {"date": "2026-10-05", "value": 0.47}, {"date": "2026-10-06", "value": 0.48}, {"date": "2026-10-07", "value": 0.42}, {"date": "2026-10-08", "value": 0.37}, {"date": "2026-10-09", "value": 0.35}, {"date": "2026-10-10", "value": 0.33}, {"date": "2026-10-11", "value": 0.32}, {"date": "2026-10-12", "value": 0.31}, {"date": "2026-10-13", "value": 0.34}, {"date": "2026-10-14", "value": 0.4}, {"date": "2026-10-15", "value": 0.48}, {"date": "2026-10-16", "value": 0.44}, {"date": "2026-10-17", "value": 0.4}, {"date": "2026-10-18", "value": 0.42}, {"date": "2026-10-19", "value": 0.48}, {"date": "2026-10-20", "value": 0.46}, {"date": "2026-10-21", "value": 0.47}, {"date": "2026-10-22", "value": 0.44}, {"date": "2026-10-23", "value": 0.39}, {"date": "2026-10-24", "value": 0.35}, {"date": "2026-10-25", "value": 0.35}, {"date": "2026-10-26", "value": 0.48}, {"date": "2026-10-27", "value": 0.49}, {"date": "2026-10-28", "value": 0.46}, {"date": "2026-10-29", "value": 0.47}, {"date": "2026-10-30", "value": 0.49}, {"date": "2026-10-31", "value": 0.49}, {"date": "2026-11-01", "value": 0.45}, {"date": "2026-11-02", "value": 0.41}, {"date": "2026-11-03", "value": 0.42}, {"date": "2026-11-04", "value": 0.45}, {"date": "2026-11-05", "value": 0.43}, {"date": "2026-11-06", "value": 0.47}, {"date": "2026-11-07", "value": 0.45}, {"date": "2026-11-08", "value": 0.44}, {"date": "2026-11-09", "value": 0.46}, {"date": "2026-11-10", "value": 0.46}, {"date": "2026-11-11", "value": 0.49}, {"date": "2026-11-12", "value": 0.49}, {"date": "2026-11-13", "value": 0.47}, {"date": "2026-11-14", "value": 0.48}, {"date": "2026-11-15", "value": 0.52}, {"date": "2026-11-16", "value": 0.54}], "percentile": 10.0}, {"key": "groundwater", "label": "Underground reserve", "value": 13.77, "weight": 0.14, "weight_pct": 14.0, "contribution": 1.93, "formula": "G = 0.6 \u00d7 percentile(GWETROOT) + 0.4 \u00d7 trend_score(Sen / Mann\u2013Kendall)", "substitution": "root-zone percentile 10; trend score 19; 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": 10.21, "weight": 0.14, "weight_pct": 14.0, "contribution": 1.43, "formula": "F = 100 \u00d7 min(1, (P14 / max(1, Pnormal14)) / 1.25)", "substitution": "P14 = 11.4 mm; normal 14-day rain = 89.4 mm; ratio = 0.13", "inputs": [{"label": "14-day forecast rain", "value": 11.4, "unit": "mm"}, {"label": "10-year same-window normal", "value": 89.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 = 1.0; n = 11", "inputs": [{"label": "Sen slope", "value": 0.0, "unit": "% cap/yr"}, {"label": "Mann\u2013Kendall p", "value": 1.0, "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": 100.0}, {"year": 2017, "storage_pct": 100.0}, {"year": 2018, "storage_pct": 100.0}, {"year": 2019, "storage_pct": 100.0}, {"year": 2020, "storage_pct": 100.0}, {"year": 2021, "storage_pct": 100.0}, {"year": 2022, "storage_pct": 100.0}, {"year": 2023, "storage_pct": 100.0}, {"year": 2024, "storage_pct": 100.0}, {"year": 2025, "storage_pct": 100.0}, {"year": 2026, "storage_pct": 100.0}], "slope": {"per_year": 0.0, "pct_per_year": 0.0, "p_value": 1.0, "significant": false, "n": 11}}], "horizon": {"state": "buffered", "verdict": "OK, buffered", "headline": "OK, buffered", "days_to_rain": null, "rain_amount_mm": 0.0, "relief_threshold_mm": 13.2, "rain_event_window": {"start": null, "lag_days": 2}, "cover_days": 166.7, "min_projected_ratio": 82.7, "projected_storage_pct": 92.1, "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": 5.1, "covered_to_relief": false, "runway": [{"date": "2026-11-19", "storage_pct": 97.19, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-20", "storage_pct": 96.6, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-21", "storage_pct": 96.02, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-22", "storage_pct": 95.43, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-23", "storage_pct": 94.84, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-24", "storage_pct": 94.26, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-25", "storage_pct": 93.67, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-26", "storage_pct": 93.08, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-27", "storage_pct": 92.5, "rain_mm": 11.41, "threshold_pct": 3.0}, {"date": "2026-11-28", "storage_pct": 91.91, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-29", "storage_pct": 93.86, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-11-30", "storage_pct": 93.27, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-01", "storage_pct": 92.69, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-02", "storage_pct": 92.1, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-03", "storage_pct": 91.51, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-04", "storage_pct": 90.92, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-05", "storage_pct": 90.34, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-06", "storage_pct": 89.75, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-07", "storage_pct": 89.16, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-08", "storage_pct": 88.58, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-09", "storage_pct": 87.99, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-10", "storage_pct": 87.4, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-11", "storage_pct": 86.81, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-12", "storage_pct": 86.23, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-13", "storage_pct": 85.64, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-14", "storage_pct": 85.05, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-15", "storage_pct": 84.46, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-16", "storage_pct": 83.88, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-17", "storage_pct": 83.29, "rain_mm": 0.0, "threshold_pct": 3.0}, {"date": "2026-12-18", "storage_pct": 82.7, "rain_mm": 0.0, "threshold_pct": 3.0}], "reservoirs": [{"id": 66, "name": "National reference storage pool", "cover_days": 166.7, "days_to_rain": null, "usable_ratio": 0.88, "min_projected_ratio": 0.919, "major": true, "local_relief_threshold_mm": 13.2, "status": "buffered"}], "alerts": [], "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": "OK, buffered", "headline_label": "OK, buffered", "summary": "No significant rain is forecast in the next 14 days, but stored water covers 167 days, more than twice the planning horizon. The system is buffered; the current-state score is 45.8/100.", "bottleneck": "The weakest pillar is Forecast opportunity at 10/100.", "status": "Watch", "condition": "forward-looking", "country": "Brazil"}, "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:47.173173+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:48.247736+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:48.407091+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": 43, "created_at": "2026-11-19T14:36:48.562155+00:00", "base_index": 45.8, "final_index": 45.8, "status": "watch", "verdict": "OK, buffered"}}