diff --git a/escenario_el_nino.py b/escenario_el_nino.py index 77576d3..9e05fbd 100644 --- a/escenario_el_nino.py +++ b/escenario_el_nino.py @@ -135,6 +135,9 @@ def _banda(d): band = d["banda_nacional"] ref = _ref(d) html = '
' + if "central" in band: + html += _bar("Central (año típico)", band["central"]["monto_S1000"], ref, "#9cc", + band["central"].get("desc", "")) html += _bar(f"Peor año real ({band['peor_ano_real']['campana']})", band["peor_ano_real"]["monto_S1000"], ref, GRIS) html += _bar("Ancla (peor año × depto)", band["ancla"]["monto_S1000"], ref, "#5a9") diff --git a/static_data/escenario_el_nino.json b/static_data/escenario_el_nino.json index 2fc7a44..e7ed634 100644 --- a/static_data/escenario_el_nino.json +++ b/static_data/escenario_el_nino.json @@ -22,6 +22,11 @@ "suma_aseg_ha": 1000.0 }, "banda_nacional": { + "central": { + "ha": 49994, + "monto_S1000": 49993968, + "desc": "media anual de 4 campañas" + }, "peor_ano_real": { "campana": "2024-2025", "ha": 63498,