{
 "pipeline_version": "0.1.0",
 "generated": "2026-11-03T06:55:18+00:00",
 "build_seconds": 218,
 "city": {
  "slug": "cadiz",
  "name": "Cádiz",
  "name_official": "Cádiz",
  "ine_code": "11012",
  "province": "Cádiz"
 },
 "map": {
  "bounds_municipality": [
   -6.31756,
   36.44399,
   -6.22506,
   36.54546
  ],
  "bounds_urban": [
   -6.30967,
   36.48915,
   -6.26701,
   36.54323
  ],
  "bounds_focus": [
   -6.30439,
   36.50306,
   -6.26916,
   36.53544
  ]
 },
 "citywide": {
  "lst_median_municipality": {
   "value": 39.9,
   "unit": "°C",
   "source": "landsat",
   "date": "2025-06-07 – 2026-09-22 (22 clear overpasses)"
  },
  "lst_median_urban": {
   "value": 39.8,
   "unit": "°C",
   "source": "landsat",
   "date": "2025-06-07 – 2026-09-22 (22 clear overpasses)",
   "note": "median over ranked (densely populated) sections"
  },
  "lst_p95_urban": {
   "value": 42.7,
   "unit": "°C",
   "source": "landsat",
   "date": "2025-06-07 – 2026-09-22 (22 clear overpasses)"
  },
  "built_minus_green_c": {
   "value": 1.3,
   "unit": "°C",
   "source": "landsat+sentinel2+buildings",
   "date": "2025-06-07 – 2026-09-22 (22 clear overpasses)",
   "note": "median LST of 30 m cells with >=30% building cover (Cadastre footprints) minus median LST of cells with mean NDVI >= 0.5"
  },
  "green_pct_municipality": {
   "value": 9.3,
   "unit": "%",
   "source": "sentinel2",
   "date": "2025-06-29 – 2026-08-28 (20 dates)"
  },
  "green_pct_urban": {
   "value": 9.1,
   "unit": "%",
   "source": "sentinel2",
   "date": "2025-06-29 – 2026-08-28 (20 dates)",
   "note": "share of land with NDVI >= 0.3 inside ranked (densely populated) sections"
  },
  "population_sections": {
   "value": 109199,
   "unit": "inhabitants",
   "source": "ine_adrh",
   "date": 2024
  },
  "population_65plus": {
   "value": 29401,
   "unit": "inhabitants",
   "source": "ine_adrh",
   "date": 2024
  },
  "pct_65plus": {
   "value": 26.9,
   "unit": "%",
   "source": "ine_adrh",
   "date": 2024
  },
  "n_sections": {
   "value": 107,
   "unit": "sections",
   "source": "ine_secc",
   "date": 2024
  },
  "n_sections_ranked": {
   "value": 106,
   "unit": "sections",
   "source": "ine_secc",
   "date": 2024
  },
  "pop_in_hot_sections": {
   "value": 28064,
   "unit": "inhabitants",
   "source": "landsat+ine_adrh",
   "date": "2025-06-07 – 2026-09-22 (22 clear overpasses)",
   "note": "residents of the hottest quarter of ranked sections (mean summer surface temperature >= 40.5 °C, 27 sections)"
  },
  "pop65_in_hot_sections": {
   "value": 7279,
   "unit": "inhabitants",
   "source": "landsat+ine_adrh",
   "date": "2025-06-07 – 2026-09-22 (22 clear overpasses)"
  },
  "n_schools": {
   "value": 43,
   "unit": "features",
   "source": "osm",
   "date": "2026-11-03"
  },
  "n_health": {
   "value": 24,
   "unit": "features",
   "source": "osm",
   "date": "2026-11-03"
  },
  "area_km2": {
   "value": 12.6,
   "unit": "km²",
   "source": "boundary",
   "date": "2026-11-03"
  },
  "population_official": {
   "value": 110123,
   "unit": "inhabitants",
   "source": "targets_csv",
   "date": "2025",
   "note": "from municipalities/targets.csv, source: https://selectra.es/alarmas/barrios-peligrosos/cadiz"
  }
 },
 "climate": {
  "point": {
   "lat": 36.52974,
   "lon": -6.2929
  },
  "point_elevation_m": 7.7,
  "threshold_c": 20.0,
  "definition": "Tropical night = day whose minimum 2 m air temperature is >= 20 °C; hot day = maximum >= 35 °C (and >= 40 °C)",
  "period": [
   1995,
   2025
  ],
  "rule": {
   "a_station": "nearest AEMET station within 15 km of the town point and within +-200 m of its elevation, with >= 20 complete years of daily data in 1995-2025 and a complete 2025",
   "complete_year": ">= 90% of the days 1 May-31 Oct with both daily minimum and maximum (AEMET daily climatological values); counts use the observed days only (missing days are not filled)",
   "periods": "mean of complete years in 1995-2004 and 2016-2025; if fewer than 7 complete years fall in 1995-2004, the earliest 10-year window ending before 2016 with enough complete years is used and labelled with its years",
   "b_era5_validated": "no station passes (a): ERA5-Land (Open-Meteo, town point) is used only if the nearest station within 25 km and +-200 m of the town elevation with a complete 2025 and >= 5 complete years in 2016-2025 validates it at the station's own coordinates (only that one station is tested): |mean JJA Tmin bias| <= 1.0 °C over the overlapping complete years of 2016-2025 and |tropical nights 2025 difference| <= max(10, 20% of the station count)",
   "c_surface_only": "no station passes (a) and none validates ERA5-Land: no tropical-night figure is published; the page leads with the Landsat surface numbers"
  },
  "models": {
   "era5_land": {
    "source": {
     "name": "ERA5-Land reanalysis (Copernicus Climate Change Service / ECMWF), ~9 km, from the Open-Meteo open-data archive on AWS (s3://openmeteo)",
     "url": "https://registry.opendata.aws/open-meteo/",
     "licence": "Open-Meteo data CC BY 4.0; contains modified Copernicus Climate Change Service information"
    },
    "api_request": {
     "url": "s3://openmeteo (Open-Meteo open-data archive on AWS)",
     "params": {
      "latitude": 36.5297,
      "longitude": -6.2929,
      "start_date": "1995-01-01",
      "end_date": "2025-12-31",
      "daily": "temperature_2m_min,temperature_2m_max,temperature_2m_mean",
      "timezone": "Europe/Madrid",
      "models": "era5_land",
      "access": "s3://openmeteo/data/copernicus_era5_land/temperature_2m/ (Open-Meteo open data on AWS, https://registry.opendata.aws/open-meteo/); hourly values aggregated to local days (Europe/Madrid) as the Historical Weather API does",
      "cell_selection": "land cell with closest elevation in 3x3 neighbourhood",
      "cell_elevation_m": 20.0,
      "target_elevation_m": 8,
      "target_elevation_source": "Copernicus DEM GLO-90 (Planetary Computer cop-dem-glo-90)",
      "downscaling": "2 m temperature + 0.0065 K/m x (cell elevation - target elevation)",
      "validation": "method checked on Elche against the API values stored in cities/data/elche/stats.json: JJA mean within 0.01 °C every year; tropical nights +1.6 a year on average with the API one-decimal rounding (ERA5-Land; ERA5 +2.2)"
     }
    },
    "grid_cell": {
     "lat": 36.6,
     "lon": -6.2,
     "elevation_m": 8.0
    },
    "series": [
     {
      "year": 1995,
      "tropical_nights": 47,
      "missing_days": 0,
      "jja_mean_c": 24.36,
      "jja_tmax_c": 29.4
     },
     {
      "year": 1996,
      "tropical_nights": 45,
      "missing_days": 0,
      "jja_mean_c": 24.43,
      "jja_tmax_c": 29.29
     },
     {
      "year": 1997,
      "tropical_nights": 41,
      "missing_days": 0,
      "jja_mean_c": 23.02,
      "jja_tmax_c": 27.52
     },
     {
      "year": 1998,
      "tropical_nights": 56,
      "missing_days": 0,
      "jja_mean_c": 24.75,
      "jja_tmax_c": 29.82
     },
     {
      "year": 1999,
      "tropical_nights": 40,
      "missing_days": 0,
      "jja_mean_c": 24.39,
      "jja_tmax_c": 29.55
     },
     {
      "year": 2000,
      "tropical_nights": 57,
      "missing_days": 0,
      "jja_mean_c": 25.14,
      "jja_tmax_c": 30.64
     },
     {
      "year": 2001,
      "tropical_nights": 54,
      "missing_days": 0,
      "jja_mean_c": 24.93,
      "jja_tmax_c": 30.38
     },
     {
      "year": 2002,
      "tropical_nights": 29,
      "missing_days": 0,
      "jja_mean_c": 23.84,
      "jja_tmax_c": 29.01
     },
     {
      "year": 2003,
      "tropical_nights": 72,
      "missing_days": 0,
      "jja_mean_c": 25.86,
      "jja_tmax_c": 31.07
     },
     {
      "year": 2004,
      "tropical_nights": 76,
      "missing_days": 0,
      "jja_mean_c": 25.8,
      "jja_tmax_c": 31.18
     },
     {
      "year": 2005,
      "tropical_nights": 70,
      "missing_days": 0,
      "jja_mean_c": 25.49,
      "jja_tmax_c": 31.01
     },
     {
      "year": 2006,
      "tropical_nights": 72,
      "missing_days": 0,
      "jja_mean_c": 25.17,
      "jja_tmax_c": 30.27
     },
     {
      "year": 2007,
      "tropical_nights": 37,
      "missing_days": 0,
      "jja_mean_c": 24.19,
      "jja_tmax_c": 29.54
     },
     {
      "year": 2008,
      "tropical_nights": 53,
      "missing_days": 0,
      "jja_mean_c": 25.14,
      "jja_tmax_c": 30.8
     },
     {
      "year": 2009,
      "tropical_nights": 73,
      "missing_days": 0,
      "jja_mean_c": 25.85,
      "jja_tmax_c": 31.44
     },
     {
      "year": 2010,
      "tropical_nights": 76,
      "missing_days": 0,
      "jja_mean_c": 25.58,
      "jja_tmax_c": 30.92
     },
     {
      "year": 2011,
      "tropical_nights": 80,
      "missing_days": 0,
      "jja_mean_c": 25.41,
      "jja_tmax_c": 30.71
     },
     {
      "year": 2012,
      "tropical_nights": 72,
      "missing_days": 0,
      "jja_mean_c": 25.52,
      "jja_tmax_c": 31.37
     },
     {
      "year": 2013,
      "tropical_nights": 75,
      "missing_days": 0,
      "jja_mean_c": 25.03,
      "jja_tmax_c": 30.55
     },
     {
      "year": 2014,
      "tropical_nights": 43,
      "missing_days": 0,
      "jja_mean_c": 24.17,
      "jja_tmax_c": 29.44
     },
     {
      "year": 2015,
      "tropical_nights": 71,
      "missing_days": 0,
      "jja_mean_c": 26.17,
      "jja_tmax_c": 31.61
     },
     {
      "year": 2016,
      "tropical_nights": 89,
      "missing_days": 0,
      "jja_mean_c": 26.29,
      "jja_tmax_c": 31.82
     },
     {
      "year": 2017,
      "tropical_nights": 88,
      "missing_days": 0,
      "jja_mean_c": 26.7,
      "jja_tmax_c": 32.5
     },
     {
      "year": 2018,
      "tropical_nights": 61,
      "missing_days": 0,
      "jja_mean_c": 24.24,
      "jja_tmax_c": 29.46
     },
     {
      "year": 2019,
      "tropical_nights": 59,
      "missing_days": 0,
      "jja_mean_c": 24.39,
      "jja_tmax_c": 29.82
     },
     {
      "year": 2020,
      "tropical_nights": 76,
      "missing_days": 0,
      "jja_mean_c": 25.44,
      "jja_tmax_c": 30.63
     },
     {
      "year": 2021,
      "tropical_nights": 64,
      "missing_days": 0,
      "jja_mean_c": 24.75,
      "jja_tmax_c": 29.95
     },
     {
      "year": 2022,
      "tropical_nights": 79,
      "missing_days": 0,
      "jja_mean_c": 25.84,
      "jja_tmax_c": 31.06
     },
     {
      "year": 2023,
      "tropical_nights": 91,
      "missing_days": 0,
      "jja_mean_c": 26.29,
      "jja_tmax_c": 31.62
     },
     {
      "year": 2024,
      "tropical_nights": 66,
      "missing_days": 0,
      "jja_mean_c": 25.16,
      "jja_tmax_c": 30.29
     },
     {
      "year": 2025,
      "tropical_nights": 94,
      "missing_days": 0,
      "jja_mean_c": 26.56,
      "jja_tmax_c": 31.67
     }
    ],
    "tropical_nights_last_year": 94,
    "tropical_nights_mean_first_decade": 51.7,
    "tropical_nights_mean_last_decade": 76.7,
    "tropical_nights_trend_per_decade": 11.8,
    "jja_mean_trend_c_per_decade": 0.46,
    "first_decade": "1995-2004",
    "last_decade": "2016-2025",
    "retrieved": "2026-11-03"
   },
   "aemet": {
    "source": {
     "name": "AEMET OpenData, valores climatológicos diarios (Agencia Estatal de Meteorología)",
     "url": "https://opendata.aemet.es/centrodedescargas/inicio",
     "licence": "AEMET OpenData: free reuse with attribution ('© AEMET')",
     "station": {
      "indicativo": "5973",
      "nombre": "CÁDIZ",
      "provincia": "CADIZ",
      "lat": 36.49972,
      "lon": -6.25778,
      "alt_m": 2.0,
      "dist_km": 4.6,
      "dz_m": -6,
      "complete_years": 26,
      "first_complete_year": 1995,
      "complete_2025": true,
      "used": true,
      "rejected_because": null
     }
    },
    "series": [
     {
      "year": 1995,
      "tropical_nights": 74,
      "days_35": 1,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 23.99
     },
     {
      "year": 1996,
      "tropical_nights": 86,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 23.96
     },
     {
      "year": 1997,
      "tropical_nights": null,
      "days_35": null,
      "days_40": null,
      "days_with_data_may_oct": 163,
      "complete": false,
      "jja_mean_c": null
     },
     {
      "year": 1998,
      "tropical_nights": 95,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 24.4
     },
     {
      "year": 1999,
      "tropical_nights": null,
      "days_35": null,
      "days_40": null,
      "days_with_data_may_oct": 153,
      "complete": false,
      "jja_mean_c": null
     },
     {
      "year": 2000,
      "tropical_nights": null,
      "days_35": null,
      "days_40": null,
      "days_with_data_may_oct": 153,
      "complete": false,
      "jja_mean_c": null
     },
     {
      "year": 2001,
      "tropical_nights": 88,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 23.54
     },
     {
      "year": 2002,
      "tropical_nights": 61,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 22.69
     },
     {
      "year": 2003,
      "tropical_nights": 103,
      "days_35": 1,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 24.78
     },
     {
      "year": 2004,
      "tropical_nights": 109,
      "days_35": 4,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 25.03
     },
     {
      "year": 2005,
      "tropical_nights": 108,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 24.94
     },
     {
      "year": 2006,
      "tropical_nights": 98,
      "days_35": 4,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 24.58
     },
     {
      "year": 2007,
      "tropical_nights": 89,
      "days_35": 1,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 23.6
     },
     {
      "year": 2008,
      "tropical_nights": 80,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 23.87
     },
     {
      "year": 2009,
      "tropical_nights": 102,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 180,
      "complete": true,
      "jja_mean_c": 24.55
     },
     {
      "year": 2010,
      "tropical_nights": null,
      "days_35": null,
      "days_40": null,
      "days_with_data_may_oct": 63,
      "complete": false,
      "jja_mean_c": null
     },
     {
      "year": 2011,
      "tropical_nights": null,
      "days_35": null,
      "days_40": null,
      "days_with_data_may_oct": 59,
      "complete": false,
      "jja_mean_c": null
     },
     {
      "year": 2012,
      "tropical_nights": 102,
      "days_35": 2,
      "days_40": 0,
      "days_with_data_may_oct": 180,
      "complete": true,
      "jja_mean_c": 24.23
     },
     {
      "year": 2013,
      "tropical_nights": 110,
      "days_35": 1,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 24.43
     },
     {
      "year": 2014,
      "tropical_nights": 87,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 23.1
     },
     {
      "year": 2015,
      "tropical_nights": 92,
      "days_35": 1,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 24.64
     },
     {
      "year": 2016,
      "tropical_nights": 102,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 181,
      "complete": true,
      "jja_mean_c": 25.16
     },
     {
      "year": 2017,
      "tropical_nights": 120,
      "days_35": 1,
      "days_40": 0,
      "days_with_data_may_oct": 183,
      "complete": true,
      "jja_mean_c": 25.38
     },
     {
      "year": 2018,
      "tropical_nights": 103,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 23.53
     },
     {
      "year": 2019,
      "tropical_nights": 89,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 182,
      "complete": true,
      "jja_mean_c": 23.31
     },
     {
      "year": 2020,
      "tropical_nights": 109,
      "days_35": 1,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 24.79
     },
     {
      "year": 2021,
      "tropical_nights": 109,
      "days_35": 1,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 24.01
     },
     {
      "year": 2022,
      "tropical_nights": 117,
      "days_35": 4,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 25.32
     },
     {
      "year": 2023,
      "tropical_nights": 130,
      "days_35": 2,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 25.7
     },
     {
      "year": 2024,
      "tropical_nights": 108,
      "days_35": 2,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 24.74
     },
     {
      "year": 2025,
      "tropical_nights": 128,
      "days_35": 9,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 25.83
     }
    ],
    "n_complete_years": 26,
    "tropical_nights_last_year": 128,
    "days_35_last_year": 9,
    "days_40_last_year": 0,
    "missing_days_last_year_may_oct": 0,
    "first_decade": "1995-2004",
    "last_decade": "2016-2025",
    "first_period_years": 7,
    "last_period_years": 10,
    "first_period_is_standard": true,
    "last_period_is_standard": true,
    "tropical_nights_mean_first_decade": 88.0,
    "tropical_nights_mean_last_decade": 111.5,
    "days_35_mean_first": 0.9,
    "days_35_mean_last": 2.0,
    "days_40_mean_first": 0.0,
    "days_40_mean_last": 0.0,
    "tropical_nights_trend_per_decade": 11.6,
    "jja_mean_trend_c_per_decade": 0.35,
    "jja_mean_trend_years": 26,
    "retrieved": "2026-11-03"
   }
  },
  "candidates": [
   {
    "indicativo": "5973",
    "nombre": "CÁDIZ",
    "provincia": "CADIZ",
    "lat": 36.49972,
    "lon": -6.25778,
    "alt_m": 2.0,
    "dist_km": 4.6,
    "dz_m": -6,
    "complete_years": 26,
    "first_complete_year": 1995,
    "complete_2025": true,
    "used": true,
    "rejected_because": null
   },
   {
    "indicativo": "5972X",
    "nombre": "SAN FERNANDO",
    "provincia": "CADIZ",
    "lat": 36.46556,
    "lon": -6.20556,
    "alt_m": 28.0,
    "dist_km": 10.6,
    "dz_m": 20,
    "complete_years": 29,
    "first_complete_year": 1997,
    "complete_2025": true,
    "used": false,
    "rejected_because": null
   },
   {
    "indicativo": "5972Y",
    "nombre": "SAN FERNANDO",
    "provincia": "CADIZ",
    "lat": 36.46278,
    "lon": -6.20639,
    "alt_m": 24.0,
    "dist_km": 10.7,
    "dz_m": 16,
    "complete_years": 0,
    "first_complete_year": null,
    "complete_2025": false,
    "used": false,
    "rejected_because": "0 complete years < 20; 2025 incomplete"
   },
   {
    "indicativo": "5910",
    "nombre": "ROTA, BASE NAVAL",
    "provincia": "CADIZ",
    "lat": 36.63889,
    "lon": -6.3325,
    "alt_m": 21.0,
    "dist_km": 12.6,
    "dz_m": 13,
    "complete_years": 31,
    "first_complete_year": 1995,
    "complete_2025": true,
    "used": false,
    "rejected_because": null
   }
  ],
  "station": {
   "indicativo": "5973",
   "nombre": "CÁDIZ",
   "provincia": "CADIZ",
   "lat": 36.49972,
   "lon": -6.25778,
   "alt_m": 2.0,
   "dist_km": 4.6,
   "dz_m": -6,
   "complete_years": 26,
   "first_complete_year": 1995,
   "complete_2025": true,
   "used": true,
   "rejected_because": null
  },
  "primary": "aemet",
  "source_kind": "aemet_station",
  "point_source": "OSM node/240422994 (Cádiz)",
  "point_elevation_source": "Copernicus DEM GLO-90"
 },
 "lst": {
  "method": "Landsat 8/9 C2 L2 ST_B10 x 0.00341802 + 149.0 K - 273.15; QA_PIXEL fill, dilated cloud, cirrus, cloud, cloud shadow and water masked (plus cells with Sentinel-2 NDVI < -0.1, e.g. salt lagoons); scenes with < 60% clear land in the municipality rejected; same-day adjacent rows mosaicked; per-pixel median of all clear overpasses June-September 2025 and 2026. Thermal band native resolution 100 m, delivered by USGS resampled to 30 m.",
  "city_median_c": 39.86,
  "scenes": [
   {
    "id": "LC08_L2SP_202035_20250607_02_T1",
    "date": "2025-06-07",
    "platform": "landsat-8",
    "scene_cloud_pct": 7.88,
    "wrs": "202/035",
    "clear_pct": 88.9,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202035_20250615_02_T1",
    "date": "2025-06-15",
    "platform": "landsat-9",
    "scene_cloud_pct": 13.58,
    "wrs": "202/035",
    "clear_pct": 95.1,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202035_20250701_02_T1",
    "date": "2025-07-01",
    "platform": "landsat-9",
    "scene_cloud_pct": 24.69,
    "wrs": "202/035",
    "clear_pct": 98.1,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202035_20250717_02_T1",
    "date": "2025-07-17",
    "platform": "landsat-9",
    "scene_cloud_pct": 9.35,
    "wrs": "202/035",
    "clear_pct": 99.6,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202035_20250725_02_T1",
    "date": "2025-07-25",
    "platform": "landsat-8",
    "scene_cloud_pct": 6.5,
    "wrs": "202/035",
    "clear_pct": 85.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202035_20250802_02_T1",
    "date": "2025-08-02",
    "platform": "landsat-9",
    "scene_cloud_pct": 5.66,
    "wrs": "202/035",
    "clear_pct": 98.2,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202035_20250810_02_T1",
    "date": "2025-08-10",
    "platform": "landsat-8",
    "scene_cloud_pct": 29.57,
    "wrs": "202/035",
    "clear_pct": 99.6,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202035_20250826_02_T1",
    "date": "2025-08-26",
    "platform": "landsat-8",
    "scene_cloud_pct": 21.81,
    "wrs": "202/035",
    "clear_pct": 71.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202035_20250903_02_T1",
    "date": "2025-09-03",
    "platform": "landsat-9",
    "scene_cloud_pct": 0.02,
    "wrs": "202/035",
    "clear_pct": 95.4,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202035_20250911_02_T1",
    "date": "2025-09-11",
    "platform": "landsat-8",
    "scene_cloud_pct": 4.39,
    "wrs": "202/035",
    "clear_pct": 93.1,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202035_20260610_02_T1",
    "date": "2026-06-10",
    "platform": "landsat-8",
    "scene_cloud_pct": 3.11,
    "wrs": "202/035",
    "clear_pct": 87.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202035_20260618_02_T1",
    "date": "2026-06-18",
    "platform": "landsat-9",
    "scene_cloud_pct": 13.49,
    "wrs": "202/035",
    "clear_pct": 96.7,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202035_20260626_02_T1",
    "date": "2026-06-26",
    "platform": "landsat-8",
    "scene_cloud_pct": 13.83,
    "wrs": "202/035",
    "clear_pct": 81.8,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202035_20260704_02_T1",
    "date": "2026-07-04",
    "platform": "landsat-9",
    "scene_cloud_pct": 8.3,
    "wrs": "202/035",
    "clear_pct": 94.3,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202035_20260712_02_T1",
    "date": "2026-07-12",
    "platform": "landsat-8",
    "scene_cloud_pct": 6.47,
    "wrs": "202/035",
    "clear_pct": 94.8,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202035_20260728_02_T1",
    "date": "2026-07-28",
    "platform": "landsat-8",
    "scene_cloud_pct": 23.73,
    "wrs": "202/035",
    "clear_pct": 85.4,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202035_20260805_02_T1",
    "date": "2026-08-05",
    "platform": "landsat-9",
    "scene_cloud_pct": 0.89,
    "wrs": "202/035",
    "clear_pct": 96.6,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202035_20260813_02_T1",
    "date": "2026-08-13",
    "platform": "landsat-8",
    "scene_cloud_pct": 8.22,
    "wrs": "202/035",
    "clear_pct": 99.5,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202035_20260821_02_T1",
    "date": "2026-08-21",
    "platform": "landsat-9",
    "scene_cloud_pct": 27.43,
    "wrs": "202/035",
    "clear_pct": 94.7,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202035_20260829_02_T1",
    "date": "2026-08-29",
    "platform": "landsat-8",
    "scene_cloud_pct": 0.04,
    "wrs": "202/035",
    "clear_pct": 96.2,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202035_20260914_02_T1",
    "date": "2026-09-14",
    "platform": "landsat-8",
    "scene_cloud_pct": 0.17,
    "wrs": "202/035",
    "clear_pct": 95.6,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202035_20260922_02_T1",
    "date": "2026-09-22",
    "platform": "landsat-9",
    "scene_cloud_pct": 2.03,
    "wrs": "202/035",
    "clear_pct": 96.0,
    "coverage_pct": 100.0
   }
  ],
  "rejected": [
   {
    "id": "LC08_L2SP_202035_20250927_02_T1",
    "date": "2025-09-27",
    "platform": "landsat-8",
    "scene_cloud_pct": 4.78,
    "wrs": "202/035",
    "reason": "clear fraction 56%"
   },
   {
    "id": "LC09_L2SP_202035_20250818_02_T1",
    "date": "2025-08-18",
    "platform": "landsat-9",
    "scene_cloud_pct": 37.1,
    "wrs": "202/035",
    "reason": "clear fraction 0%"
   },
   {
    "id": "LC09_L2SP_202035_20260720_02_T1",
    "date": "2026-07-20",
    "platform": "landsat-9",
    "scene_cloud_pct": 23.84,
    "wrs": "202/035",
    "reason": "clear fraction 0%"
   },
   {
    "id": "LC09_L2SP_202035_20260602_02_T1",
    "date": "2026-06-02",
    "platform": "landsat-9",
    "scene_cloud_pct": 20.98,
    "wrs": "202/035",
    "reason": "clear fraction 0%"
   }
  ],
  "n_overpasses": 22,
  "nobs_median": 22,
  "res_m": 30
 },
 "ndvi": {
  "method": "Sentinel-2 L2A, NDVI = (B08 - B04) / (B08 + B04) after removing the BOA_ADD_OFFSET (baseline >= 04.00); SCL classes 4-7 kept; per-pixel median of the clearest images per tile and summer.",
  "scenes": [
   {
    "id": "S2C_MSIL2A_20250629T110641_R137_T30STF_20250629T150216",
    "date": "2025-06-29",
    "tile": "30STF",
    "scene_cloud_pct": 1.29
   },
   {
    "id": "S2B_MSIL2A_20250714T110619_R137_T29SQA_20250714T133425",
    "date": "2025-07-14",
    "tile": "29SQA",
    "scene_cloud_pct": 0.02
   },
   {
    "id": "S2C_MSIL2A_20250719T110641_R137_T30STF_20250719T151016",
    "date": "2025-07-19",
    "tile": "30STF",
    "scene_cloud_pct": 0.04
   },
   {
    "id": "S2C_MSIL2A_20250719T110641_R137_T29SQA_20250719T151016",
    "date": "2025-07-19",
    "tile": "29SQA",
    "scene_cloud_pct": 0.03
   },
   {
    "id": "S2A_MSIL2A_20250721T110711_R137_T30STF_20250721T174012",
    "date": "2025-07-21",
    "tile": "30STF",
    "scene_cloud_pct": 0.03
   },
   {
    "id": "S2A_MSIL2A_20250721T110711_R137_T29SQA_20250721T174012",
    "date": "2025-07-21",
    "tile": "29SQA",
    "scene_cloud_pct": 0.02
   },
   {
    "id": "S2C_MSIL2A_20250808T110641_R137_T30STF_20250808T144618",
    "date": "2025-08-08",
    "tile": "30STF",
    "scene_cloud_pct": 0.08
   },
   {
    "id": "S2A_MSIL2A_20250810T110701_R137_T29SQA_20250810T154815",
    "date": "2025-08-10",
    "tile": "29SQA",
    "scene_cloud_pct": 0.09
   },
   {
    "id": "S2B_MSIL2A_20250813T110619_R137_T30STF_20250813T133147",
    "date": "2025-08-13",
    "tile": "30STF",
    "scene_cloud_pct": 0.06
   },
   {
    "id": "S2B_MSIL2A_20250813T110619_R137_T29SQA_20250813T133147",
    "date": "2025-08-13",
    "tile": "29SQA",
    "scene_cloud_pct": 0.06
   },
   {
    "id": "S2A_MSIL2A_20250830T110701_R137_T30STF_20250830T155612",
    "date": "2025-08-30",
    "tile": "30STF",
    "scene_cloud_pct": 0.01
   },
   {
    "id": "S2A_MSIL2A_20250830T110701_R137_T29SQA_20250830T155612",
    "date": "2025-08-30",
    "tile": "29SQA",
    "scene_cloud_pct": 0.01
   },
   {
    "id": "S2B_MSIL2A_20250902T110619_R137_T30STF_20250902T151037",
    "date": "2025-09-02",
    "tile": "30STF",
    "scene_cloud_pct": 0.15
   },
   {
    "id": "S2B_MSIL2A_20250902T110619_R137_T29SQA_20250902T151037",
    "date": "2025-09-02",
    "tile": "29SQA",
    "scene_cloud_pct": 0.18
   },
   {
    "id": "S2C_MSIL2A_20250917T110731_R137_T30STF_20250917T164616",
    "date": "2025-09-17",
    "tile": "30STF",
    "scene_cloud_pct": 0.36
   },
   {
    "id": "S2C_MSIL2A_20250917T110731_R137_T29SQA_20250917T164616",
    "date": "2025-09-17",
    "tile": "29SQA",
    "scene_cloud_pct": 0.02
   },
   {
    "id": "S2B_MSIL2A_20260629T110619_R137_T29SQA_20260629T133739",
    "date": "2026-06-29",
    "tile": "29SQA",
    "scene_cloud_pct": 0.05
   },
   {
    "id": "S2A_MSIL2A_20260716T110651_R137_T30STF_20260716T193709",
    "date": "2026-07-16",
    "tile": "30STF",
    "scene_cloud_pct": 0.09
   },
   {
    "id": "S2A_MSIL2A_20260716T110651_R137_T29SQA_20260716T193709",
    "date": "2026-07-16",
    "tile": "29SQA",
    "scene_cloud_pct": 0.02
   },
   {
    "id": "S2C_MSIL2A_20260724T110621_R137_T29SQA_20260724T144105",
    "date": "2026-07-24",
    "tile": "29SQA",
    "scene_cloud_pct": 0.03
   },
   {
    "id": "S2A_MSIL2A_20260726T110711_R137_T30STF_20260726T210116",
    "date": "2026-07-26",
    "tile": "30STF",
    "scene_cloud_pct": 0.02
   },
   {
    "id": "S2A_MSIL2A_20260726T110711_R137_T29SQA_20260726T210116",
    "date": "2026-07-26",
    "tile": "29SQA",
    "scene_cloud_pct": 0.01
   },
   {
    "id": "S2B_MSIL2A_20260729T110619_R137_T30STF_20260729T134723",
    "date": "2026-07-29",
    "tile": "30STF",
    "scene_cloud_pct": 0.67
   },
   {
    "id": "S2A_MSIL2A_20260805T110651_R137_T30STF_20260805T211533",
    "date": "2026-08-05",
    "tile": "30STF",
    "scene_cloud_pct": 0.03
   },
   {
    "id": "S2A_MSIL2A_20260805T110651_R137_T29SQA_20260805T211533",
    "date": "2026-08-05",
    "tile": "29SQA",
    "scene_cloud_pct": 0.01
   },
   {
    "id": "S2B_MSIL2A_20260808T110619_R137_T30STF_20260808T132444",
    "date": "2026-08-08",
    "tile": "30STF",
    "scene_cloud_pct": 0.31
   },
   {
    "id": "S2B_MSIL2A_20260808T110619_R137_T29SQA_20260808T132444",
    "date": "2026-08-08",
    "tile": "29SQA",
    "scene_cloud_pct": 0.01
   },
   {
    "id": "S2C_MSIL2A_20260813T110621_R137_T30STF_20260813T144414",
    "date": "2026-08-13",
    "tile": "30STF",
    "scene_cloud_pct": 0.42
   },
   {
    "id": "S2C_MSIL2A_20260813T110621_R137_T29SQA_20260813T144414",
    "date": "2026-08-13",
    "tile": "29SQA",
    "scene_cloud_pct": 0.03
   },
   {
    "id": "S2B_MSIL2A_20260818T110619_R137_T30STF_20260818T132515",
    "date": "2026-08-18",
    "tile": "30STF",
    "scene_cloud_pct": 0.02
   },
   {
    "id": "S2B_MSIL2A_20260828T110619_R137_T30STF_20260828T133840",
    "date": "2026-08-28",
    "tile": "30STF",
    "scene_cloud_pct": 0.04
   },
   {
    "id": "S2B_MSIL2A_20260828T110619_R137_T29SQA_20260828T133840",
    "date": "2026-08-28",
    "tile": "29SQA",
    "scene_cloud_pct": 0.02
   }
  ],
  "rejected": [],
  "res_m": 10,
  "green_threshold": 0.3
 },
 "hvi": {
  "formula": "HVI = 100 x (0.5 x pr(LST anomaly) + 0.3 x pr(share aged 65+) + 0.2 x pr(100 - green share))",
  "pr": "percentile rank (0-1) of the value among the city's ranked sections",
  "ranked_sections": "sections with population data and density >= 1000 inhabitants/km2; sparsely populated rural sections are shown on the map but not ranked",
  "lst_anomaly": "mean summer land surface temperature of the section minus the median of all valid land pixels in the municipality",
  "green_share": "share of section land pixels with summer median NDVI >= 0.3 (Sentinel-2, 10 m)",
  "top5_rule": "highest index first, at most 2 sections sharing the same neighbourhood name, so the five cover several barrios",
  "why": "Exposure (hot surfaces), sensitivity (older residents) and lack of cooling (little vegetation) are the three factors most used in municipal heat-vulnerability maps; weights favour exposure because it is measured directly."
 },
 "layers": {
  "lst": {
   "file": "lst.png",
   "crs": "EPSG:3857",
   "coordinates": [
    [
     -6.32176,
     36.549679
    ],
    [
     -6.22043,
     36.549679
    ],
    [
     -6.22043,
     36.438971
    ],
    [
     -6.32176,
     36.438971
    ]
   ],
   "vmin": 32.0,
   "vmax": 45.0,
   "stops": [
    "#1d3b78",
    "#2f7fd6",
    "#4fd1ff",
    "#b04fff",
    "#ff5aa0",
    "#ff9e6b",
    "#ffe28a"
   ],
   "res_m": 30
  },
  "green": {
   "file": "green.png",
   "crs": "EPSG:3857",
   "coordinates": [
    [
     -6.32176,
     36.549676
    ],
    [
     -6.22061,
     36.549676
    ],
    [
     -6.22061,
     36.439112
    ],
    [
     -6.32176,
     36.439112
    ]
   ],
   "threshold": 0.3,
   "res_m": 10
  }
 },
 "sources": {
  "landsat": {
   "name": "Landsat 8-9 OLI/TIRS Collection 2 Level-2, Surface Temperature (ST_B10)",
   "provider": "USGS / NASA, via Microsoft Planetary Computer",
   "collection": "landsat-c2-l2",
   "url": "https://planetarycomputer.microsoft.com/dataset/landsat-c2-l2",
   "credit": "Landsat imagery courtesy of the U.S. Geological Survey / NASA",
   "licence": "Public domain (USGS)"
  },
  "sentinel2": {
   "name": "Sentinel-2 L2A surface reflectance (B04, B08, SCL)",
   "provider": "ESA Copernicus, via Microsoft Planetary Computer",
   "collection": "sentinel-2-l2a",
   "url": "https://planetarycomputer.microsoft.com/dataset/sentinel-2-l2a",
   "credit": "Contains modified Copernicus Sentinel data 2025-2026",
   "licence": "Copernicus Sentinel data terms (free, full and open)"
  },
  "ine_secc": {
   "name": "INE, Contornos de secciones censales a 1-1-2024",
   "url": "https://www.ine.es/ss/Satellite?L=es_ES&c=Page&cid=1259952026632&p=1259952026632&pagename=ProductosYServicios%2FPYSLayout",
   "file": "https://www.ine.es/prodyser/cartografia/seccionado_2024.zip",
   "licence": "INE, reuse with attribution (Aviso legal INE)"
  },
  "ine_adrh": {
   "name": "INE, Atlas de Distribución de Renta de los Hogares (ADRH), Indicadores demográficos, 2024",
   "table": "INE table 30952",
   "url": "https://www.ine.es/jaxiT3/Tabla.htm?t=30952",
   "api": "https://servicios.ine.es/wstempus/js/ES/DATOS_TABLA/30952?nult=1",
   "indicators": [
    "Población",
    "Porcentaje de población de 65 y más años"
   ],
   "reference_year": 2024,
   "note": "Demographic indicators by census section, derived by INE from the Padrón continuo. Latest year published by section.",
   "licence": "INE, reuse with attribution"
  },
  "osm": {
   "name": "© OpenStreetMap contributors",
   "url": "https://www.openstreetmap.org/copyright",
   "licence": "ODbL 1.0",
   "access": "OpenStreetMap regional extract 'andalucia' from download.openstreetmap.fr, data timestamp 2026-11-03T01:19:31Z, read locally with pyosmium (same tag filters as the Overpass queries; Overpass mirrors were unreachable from the build container)",
   "extract_url": "https://download.openstreetmap.fr/extracts/europe/spain/andalucia.osm.pbf",
   "extract_timestamp": "2026-11-03T01:19:31Z"
  },
  "boundary": {
   "name": "© OpenStreetMap contributors",
   "url": "https://www.openstreetmap.org/copyright",
   "licence": "ODbL 1.0",
   "access": "Nominatim",
   "element": "relation/346956",
   "tag_name": "Cádiz"
  },
  "buildings": {
   "name": "Dirección General del Catastro, INSPIRE Buildings (BU) dataset",
   "url": "https://www.catastro.hacienda.gob.es/webinspire/index.html",
   "licence": "Catastro data: free reuse with attribution ('Dirección General del Catastro')",
   "file": "https://www.catastro.hacienda.gob.es/INSPIRE/Buildings/11/11900-CADIZ/A.ES.SDGC.BU.11900.zip",
   "cadastre_code": "11900"
  },
  "era5_land": {
   "name": "ERA5-Land reanalysis (Copernicus Climate Change Service / ECMWF), ~9 km, from the Open-Meteo open-data archive on AWS (s3://openmeteo)",
   "url": "https://registry.opendata.aws/open-meteo/",
   "licence": "Open-Meteo data CC BY 4.0; contains modified Copernicus Climate Change Service information"
  },
  "era5": {
   "name": "ERA5 reanalysis (Copernicus Climate Change Service / ECMWF), ~25 km, from the Open-Meteo open-data archive on AWS (s3://openmeteo)",
   "url": "https://registry.opendata.aws/open-meteo/",
   "licence": "Open-Meteo data CC BY 4.0; contains modified Copernicus Climate Change Service information"
  },
  "targets_csv": {
   "name": "UrbanClimate municipal target research (municipalities/targets.csv)",
   "branch": "claude/sharp-wright-3b5jub"
  },
  "aemet": {
   "name": "AEMET OpenData, valores climatológicos diarios (Agencia Estatal de Meteorología)",
   "url": "https://opendata.aemet.es/centrodedescargas/inicio",
   "licence": "AEMET OpenData: free reuse with attribution ('© AEMET')"
  },
  "dem": {
   "name": "Copernicus DEM GLO-90 (ESA / Airbus), via Microsoft Planetary Computer",
   "url": "https://planetarycomputer.microsoft.com/dataset/cop-dem-glo-90",
   "licence": "Copernicus DEM licence (free)"
  }
 },
 "low_density": {
  "share_residents_unranked": 0.016,
  "threshold": 0.3,
  "applies": false
 },
 "climate_updated": "2026-11-03T12:42:48+00:00"
}