{
 "pipeline_version": "0.1.0",
 "generated": "2026-11-03T09:15:36+00:00",
 "build_seconds": 59,
 "city": {
  "slug": "marbella",
  "name": "Marbella",
  "name_official": "Marbella",
  "ine_code": "29069",
  "province": "Málaga"
 },
 "map": {
  "bounds_municipality": [
   -5.01467,
   36.46001,
   -4.73057,
   36.55497
  ],
  "bounds_urban": [
   -5.01152,
   36.45954,
   -4.85109,
   36.53187
  ],
  "bounds_focus": [
   -4.99631,
   36.47921,
   -4.87199,
   36.51986
  ]
 },
 "citywide": {
  "lst_median_municipality": {
   "value": 36.8,
   "unit": "°C",
   "source": "landsat",
   "date": "2025-06-08 – 2026-09-23 (22 clear overpasses)"
  },
  "lst_median_urban": {
   "value": 37.5,
   "unit": "°C",
   "source": "landsat",
   "date": "2025-06-08 – 2026-09-23 (22 clear overpasses)",
   "note": "median over ranked (densely populated) sections"
  },
  "lst_p95_urban": {
   "value": 41.5,
   "unit": "°C",
   "source": "landsat",
   "date": "2025-06-08 – 2026-09-23 (22 clear overpasses)"
  },
  "built_minus_green_c": {
   "value": 1.2,
   "unit": "°C",
   "source": "landsat+sentinel2+buildings",
   "date": "2025-06-08 – 2026-09-23 (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": 66.6,
   "unit": "%",
   "source": "sentinel2",
   "date": "2025-06-21 – 2026-08-30 (14 dates)"
  },
  "green_pct_urban": {
   "value": 42.5,
   "unit": "%",
   "source": "sentinel2",
   "date": "2025-06-21 – 2026-08-30 (14 dates)",
   "note": "share of land with NDVI >= 0.3 inside ranked (densely populated) sections"
  },
  "population_sections": {
   "value": 156411,
   "unit": "inhabitants",
   "source": "ine_adrh",
   "date": 2024
  },
  "population_65plus": {
   "value": 27219,
   "unit": "inhabitants",
   "source": "ine_adrh",
   "date": 2024
  },
  "pct_65plus": {
   "value": 17.4,
   "unit": "%",
   "source": "ine_adrh",
   "date": 2024
  },
  "n_sections": {
   "value": 79,
   "unit": "sections",
   "source": "ine_secc",
   "date": 2024
  },
  "n_sections_ranked": {
   "value": 69,
   "unit": "sections",
   "source": "ine_secc",
   "date": 2024
  },
  "pop_in_hot_sections": {
   "value": 31486,
   "unit": "inhabitants",
   "source": "landsat+ine_adrh",
   "date": "2025-06-08 – 2026-09-23 (22 clear overpasses)",
   "note": "residents of the hottest quarter of ranked sections (mean summer surface temperature >= 39.4 °C, 18 sections)"
  },
  "pop65_in_hot_sections": {
   "value": 4492,
   "unit": "inhabitants",
   "source": "landsat+ine_adrh",
   "date": "2025-06-08 – 2026-09-23 (22 clear overpasses)"
  },
  "n_schools": {
   "value": 51,
   "unit": "features",
   "source": "osm",
   "date": "2026-11-03"
  },
  "n_health": {
   "value": 19,
   "unit": "features",
   "source": "osm",
   "date": "2026-11-03"
  },
  "area_km2": {
   "value": 116.9,
   "unit": "km²",
   "source": "boundary",
   "date": "2026-11-03"
  },
  "population_official": {
   "value": 166478,
   "unit": "inhabitants",
   "source": "targets_csv",
   "date": "2025",
   "note": "from municipalities/targets.csv, source: https://www.theolivepress.es/spain-news/2025/12/04/brits-leaving-malaga-census-data"
  }
 },
 "climate": {
  "point": {
   "lat": 36.50898,
   "lon": -4.88562
  },
  "point_elevation_m": 24.0,
  "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, via Open-Meteo open data",
     "url": "https://github.com/open-meteo/open-data",
     "licence": "Open-Meteo data CC BY 4.0; contains modified Copernicus Climate Change Service information",
     "access": "read from Open-Meteo's open-data archive on AWS (s3://openmeteo/data/copernicus_era5_land/temperature_2m), the database behind the Open-Meteo Historical Weather API; nearest 0.1° cell, corrected to the point elevation (Copernicus DEM 90 m) at 6.5 K/km, daily values over the local day (Europe/Madrid)"
    },
    "api_request": {
     "url": "s3://openmeteo/data (Open-Meteo open data on AWS)",
     "params": {
      "latitude": 36.509,
      "longitude": -4.8856,
      "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 (open data)"
     }
    },
    "grid_cell": {
     "lat": 36.5,
     "lon": -4.9,
     "elevation_m": 24.0
    },
    "series": [
     {
      "year": 1995,
      "tropical_nights": 49,
      "missing_days": 0,
      "jja_mean_c": 23.48,
      "jja_tmax_c": 26.94
     },
     {
      "year": 1996,
      "tropical_nights": 38,
      "missing_days": 0,
      "jja_mean_c": 23.1,
      "jja_tmax_c": 26.3
     },
     {
      "year": 1997,
      "tropical_nights": 36,
      "missing_days": 0,
      "jja_mean_c": 22.56,
      "jja_tmax_c": 25.89
     },
     {
      "year": 1998,
      "tropical_nights": 61,
      "missing_days": 0,
      "jja_mean_c": 23.66,
      "jja_tmax_c": 27.02
     },
     {
      "year": 1999,
      "tropical_nights": 66,
      "missing_days": 0,
      "jja_mean_c": 24.0,
      "jja_tmax_c": 27.41
     },
     {
      "year": 2000,
      "tropical_nights": 61,
      "missing_days": 0,
      "jja_mean_c": 23.82,
      "jja_tmax_c": 27.29
     },
     {
      "year": 2001,
      "tropical_nights": 66,
      "missing_days": 0,
      "jja_mean_c": 24.43,
      "jja_tmax_c": 27.99
     },
     {
      "year": 2002,
      "tropical_nights": 52,
      "missing_days": 0,
      "jja_mean_c": 23.65,
      "jja_tmax_c": 27.08
     },
     {
      "year": 2003,
      "tropical_nights": 71,
      "missing_days": 0,
      "jja_mean_c": 25.01,
      "jja_tmax_c": 28.47
     },
     {
      "year": 2004,
      "tropical_nights": 61,
      "missing_days": 0,
      "jja_mean_c": 23.88,
      "jja_tmax_c": 27.0
     },
     {
      "year": 2005,
      "tropical_nights": 69,
      "missing_days": 0,
      "jja_mean_c": 23.72,
      "jja_tmax_c": 27.12
     },
     {
      "year": 2006,
      "tropical_nights": 67,
      "missing_days": 0,
      "jja_mean_c": 24.01,
      "jja_tmax_c": 27.39
     },
     {
      "year": 2007,
      "tropical_nights": 47,
      "missing_days": 0,
      "jja_mean_c": 23.56,
      "jja_tmax_c": 27.19
     },
     {
      "year": 2008,
      "tropical_nights": 75,
      "missing_days": 0,
      "jja_mean_c": 24.15,
      "jja_tmax_c": 27.71
     },
     {
      "year": 2009,
      "tropical_nights": 82,
      "missing_days": 0,
      "jja_mean_c": 25.01,
      "jja_tmax_c": 28.67
     },
     {
      "year": 2010,
      "tropical_nights": 82,
      "missing_days": 0,
      "jja_mean_c": 24.21,
      "jja_tmax_c": 27.44
     },
     {
      "year": 2011,
      "tropical_nights": 82,
      "missing_days": 0,
      "jja_mean_c": 24.33,
      "jja_tmax_c": 27.75
     },
     {
      "year": 2012,
      "tropical_nights": 79,
      "missing_days": 0,
      "jja_mean_c": 25.31,
      "jja_tmax_c": 29.18
     },
     {
      "year": 2013,
      "tropical_nights": 65,
      "missing_days": 0,
      "jja_mean_c": 23.24,
      "jja_tmax_c": 26.51
     },
     {
      "year": 2014,
      "tropical_nights": 72,
      "missing_days": 0,
      "jja_mean_c": 24.5,
      "jja_tmax_c": 28.31
     },
     {
      "year": 2015,
      "tropical_nights": 79,
      "missing_days": 0,
      "jja_mean_c": 25.57,
      "jja_tmax_c": 28.89
     },
     {
      "year": 2016,
      "tropical_nights": 93,
      "missing_days": 0,
      "jja_mean_c": 24.79,
      "jja_tmax_c": 28.18
     },
     {
      "year": 2017,
      "tropical_nights": 84,
      "missing_days": 0,
      "jja_mean_c": 25.09,
      "jja_tmax_c": 28.35
     },
     {
      "year": 2018,
      "tropical_nights": 77,
      "missing_days": 0,
      "jja_mean_c": 24.09,
      "jja_tmax_c": 27.58
     },
     {
      "year": 2019,
      "tropical_nights": 76,
      "missing_days": 0,
      "jja_mean_c": 24.22,
      "jja_tmax_c": 27.67
     },
     {
      "year": 2020,
      "tropical_nights": 86,
      "missing_days": 0,
      "jja_mean_c": 25.07,
      "jja_tmax_c": 28.57
     },
     {
      "year": 2021,
      "tropical_nights": 78,
      "missing_days": 0,
      "jja_mean_c": 24.68,
      "jja_tmax_c": 28.27
     },
     {
      "year": 2022,
      "tropical_nights": 84,
      "missing_days": 0,
      "jja_mean_c": 25.59,
      "jja_tmax_c": 29.17
     },
     {
      "year": 2023,
      "tropical_nights": 97,
      "missing_days": 0,
      "jja_mean_c": 26.11,
      "jja_tmax_c": 29.57
     },
     {
      "year": 2024,
      "tropical_nights": 85,
      "missing_days": 0,
      "jja_mean_c": 25.3,
      "jja_tmax_c": 28.65
     },
     {
      "year": 2025,
      "tropical_nights": 106,
      "missing_days": 0,
      "jja_mean_c": 26.01,
      "jja_tmax_c": 29.22
     }
    ],
    "tropical_nights_last_year": 106,
    "tropical_nights_mean_first_decade": 56.1,
    "tropical_nights_mean_last_decade": 86.6,
    "tropical_nights_trend_per_decade": 14.8,
    "jja_mean_trend_c_per_decade": 0.72,
    "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": "6076X",
      "nombre": "MARBELLA, PUERTO",
      "provincia": "MALAGA",
      "lat": 36.48444,
      "lon": -4.95306,
      "alt_m": 2.0,
      "dist_km": 6.6,
      "dz_m": -22,
      "complete_years": 21,
      "first_complete_year": 2004,
      "complete_2025": true,
      "used": true,
      "rejected_because": null
     }
    },
    "series": [
     {
      "year": 1995,
      "tropical_nights": null,
      "days_35": null,
      "days_40": null,
      "days_with_data_may_oct": 0,
      "complete": false,
      "jja_mean_c": null
     },
     {
      "year": 1996,
      "tropical_nights": null,
      "days_35": null,
      "days_40": null,
      "days_with_data_may_oct": 0,
      "complete": false,
      "jja_mean_c": null
     },
     {
      "year": 1997,
      "tropical_nights": null,
      "days_35": null,
      "days_40": null,
      "days_with_data_may_oct": 0,
      "complete": false,
      "jja_mean_c": null
     },
     {
      "year": 1998,
      "tropical_nights": null,
      "days_35": null,
      "days_40": null,
      "days_with_data_may_oct": 0,
      "complete": false,
      "jja_mean_c": null
     },
     {
      "year": 1999,
      "tropical_nights": null,
      "days_35": null,
      "days_40": null,
      "days_with_data_may_oct": 0,
      "complete": false,
      "jja_mean_c": null
     },
     {
      "year": 2000,
      "tropical_nights": null,
      "days_35": null,
      "days_40": null,
      "days_with_data_may_oct": 0,
      "complete": false,
      "jja_mean_c": null
     },
     {
      "year": 2001,
      "tropical_nights": null,
      "days_35": null,
      "days_40": null,
      "days_with_data_may_oct": 0,
      "complete": false,
      "jja_mean_c": null
     },
     {
      "year": 2002,
      "tropical_nights": null,
      "days_35": null,
      "days_40": null,
      "days_with_data_may_oct": 0,
      "complete": false,
      "jja_mean_c": null
     },
     {
      "year": 2003,
      "tropical_nights": null,
      "days_35": null,
      "days_40": null,
      "days_with_data_may_oct": 74,
      "complete": false,
      "jja_mean_c": null
     },
     {
      "year": 2004,
      "tropical_nights": 66,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 23.46
     },
     {
      "year": 2005,
      "tropical_nights": 62,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 23.19
     },
     {
      "year": 2006,
      "tropical_nights": 74,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 23.06
     },
     {
      "year": 2007,
      "tropical_nights": 55,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 182,
      "complete": true,
      "jja_mean_c": 22.53
     },
     {
      "year": 2008,
      "tropical_nights": null,
      "days_35": null,
      "days_40": null,
      "days_with_data_may_oct": 110,
      "complete": false,
      "jja_mean_c": null
     },
     {
      "year": 2009,
      "tropical_nights": 59,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 179,
      "complete": true,
      "jja_mean_c": 23.25
     },
     {
      "year": 2010,
      "tropical_nights": 81,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 183,
      "complete": true,
      "jja_mean_c": 23.76
     },
     {
      "year": 2011,
      "tropical_nights": 68,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 23.24
     },
     {
      "year": 2012,
      "tropical_nights": 59,
      "days_35": 1,
      "days_40": 0,
      "days_with_data_may_oct": 183,
      "complete": true,
      "jja_mean_c": 23.28
     },
     {
      "year": 2013,
      "tropical_nights": 73,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 170,
      "complete": true,
      "jja_mean_c": 22.73
     },
     {
      "year": 2014,
      "tropical_nights": 24,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 21.78
     },
     {
      "year": 2015,
      "tropical_nights": 62,
      "days_35": 2,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 23.9
     },
     {
      "year": 2016,
      "tropical_nights": 83,
      "days_35": 2,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 23.95
     },
     {
      "year": 2017,
      "tropical_nights": 74,
      "days_35": 1,
      "days_40": 1,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 23.62
     },
     {
      "year": 2018,
      "tropical_nights": 68,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 22.63
     },
     {
      "year": 2019,
      "tropical_nights": 67,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 22.69
     },
     {
      "year": 2020,
      "tropical_nights": 78,
      "days_35": 1,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 23.62
     },
     {
      "year": 2021,
      "tropical_nights": 52,
      "days_35": 1,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 22.64
     },
     {
      "year": 2022,
      "tropical_nights": 62,
      "days_35": 1,
      "days_40": 0,
      "days_with_data_may_oct": 180,
      "complete": true,
      "jja_mean_c": 23.95
     },
     {
      "year": 2023,
      "tropical_nights": 88,
      "days_35": 1,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 24.39
     },
     {
      "year": 2024,
      "tropical_nights": 68,
      "days_35": 2,
      "days_40": 0,
      "days_with_data_may_oct": 171,
      "complete": true,
      "jja_mean_c": 23.97
     },
     {
      "year": 2025,
      "tropical_nights": 93,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 166,
      "complete": true,
      "jja_mean_c": 24.82
     }
    ],
    "n_complete_years": 21,
    "tropical_nights_last_year": 93,
    "days_35_last_year": 0,
    "days_40_last_year": 0,
    "missing_days_last_year_may_oct": 18,
    "first_decade": "2002-2011",
    "last_decade": "2016-2025",
    "first_period_years": 7,
    "last_period_years": 10,
    "first_period_is_standard": false,
    "last_period_is_standard": true,
    "tropical_nights_mean_first_decade": 66.4,
    "tropical_nights_mean_last_decade": 73.3,
    "days_35_mean_first": 0.0,
    "days_35_mean_last": 0.9,
    "days_40_mean_first": 0.0,
    "days_40_mean_last": 0.1,
    "tropical_nights_trend_per_decade": 6.2,
    "jja_mean_trend_c_per_decade": 0.45,
    "jja_mean_trend_years": 21,
    "retrieved": "2026-11-03"
   }
  },
  "candidates": [
   {
    "indicativo": "6076X",
    "nombre": "MARBELLA, PUERTO",
    "provincia": "MALAGA",
    "lat": 36.48444,
    "lon": -4.95306,
    "alt_m": 2.0,
    "dist_km": 6.6,
    "dz_m": -22,
    "complete_years": 21,
    "first_complete_year": 2004,
    "complete_2025": true,
    "used": true,
    "rejected_because": null
   },
   {
    "indicativo": "6069X",
    "nombre": "BENAHAVÍS",
    "provincia": "MALAGA",
    "lat": 36.54361,
    "lon": -5.02472,
    "alt_m": 392.0,
    "dist_km": 13.0,
    "dz_m": 368,
    "complete_years": 18,
    "first_complete_year": 2004,
    "complete_2025": true,
    "used": false,
    "rejected_because": "elevation difference 368 m; 18 complete years < 20"
   },
   {
    "indicativo": "6083X",
    "nombre": "MARBELLA",
    "provincia": "MALAGA",
    "lat": 36.48333,
    "lon": -4.74028,
    "alt_m": 2.0,
    "dist_km": 13.3,
    "dz_m": -22,
    "complete_years": 13,
    "first_complete_year": 2010,
    "complete_2025": false,
    "used": false,
    "rejected_because": "13 complete years < 20; 2025 incomplete"
   },
   {
    "indicativo": "6143X",
    "nombre": "COÍN",
    "provincia": "MALAGA",
    "lat": 36.65778,
    "lon": -4.76083,
    "alt_m": 230.0,
    "dist_km": 19.9,
    "dz_m": 206,
    "complete_years": 21,
    "first_complete_year": 2003,
    "complete_2025": true,
    "used": false,
    "rejected_because": "19.9 km > 15 km; elevation difference 206 m"
   },
   {
    "indicativo": "6084X",
    "nombre": "FUENGIROLA",
    "provincia": "MALAGA",
    "lat": 36.53861,
    "lon": -4.61833,
    "alt_m": 8.0,
    "dist_km": 24.1,
    "dz_m": -16,
    "complete_years": 17,
    "first_complete_year": 2001,
    "complete_2025": false,
    "used": false,
    "rejected_because": "24.1 km > 15 km; 17 complete years < 20; 2025 incomplete"
   }
  ],
  "station": {
   "indicativo": "6076X",
   "nombre": "MARBELLA, PUERTO",
   "provincia": "MALAGA",
   "lat": 36.48444,
   "lon": -4.95306,
   "alt_m": 2.0,
   "dist_km": 6.6,
   "dz_m": -22,
   "complete_years": 21,
   "first_complete_year": 2004,
   "complete_2025": true,
   "used": true,
   "rejected_because": null
  },
  "primary": "aemet",
  "source_kind": "aemet_station",
  "point_source": "OSM node/1081751552 (Marbella)",
  "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": 36.83,
  "scenes": [
   {
    "id": "LC09_L2SP_201035_20250608_02_T1",
    "date": "2025-06-08",
    "platform": "landsat-9",
    "scene_cloud_pct": 8.02,
    "wrs": "201/035",
    "clear_pct": 98.7,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_201035_20250702_02_T1",
    "date": "2025-07-02",
    "platform": "landsat-8",
    "scene_cloud_pct": 4.01,
    "wrs": "201/035",
    "clear_pct": 99.8,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_201035_20250718_02_T1",
    "date": "2025-07-18",
    "platform": "landsat-8",
    "scene_cloud_pct": 20.91,
    "wrs": "201/035",
    "clear_pct": 99.8,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_201035_20250726_02_T1",
    "date": "2025-07-26",
    "platform": "landsat-9",
    "scene_cloud_pct": 12.18,
    "wrs": "201/035",
    "clear_pct": 85.7,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_201035_20250803_02_T1",
    "date": "2025-08-03",
    "platform": "landsat-8",
    "scene_cloud_pct": 20.1,
    "wrs": "201/035",
    "clear_pct": 99.8,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_201035_20250811_02_T1",
    "date": "2025-08-11",
    "platform": "landsat-9",
    "scene_cloud_pct": 0.84,
    "wrs": "201/035",
    "clear_pct": 99.9,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_201035_20250819_02_T1",
    "date": "2025-08-19",
    "platform": "landsat-8",
    "scene_cloud_pct": 0.13,
    "wrs": "201/035",
    "clear_pct": 99.8,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_201035_20250827_02_T1",
    "date": "2025-08-27",
    "platform": "landsat-9",
    "scene_cloud_pct": 6.49,
    "wrs": "201/035",
    "clear_pct": 93.5,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_201035_20250904_02_T1",
    "date": "2025-09-04",
    "platform": "landsat-8",
    "scene_cloud_pct": 0.08,
    "wrs": "201/035",
    "clear_pct": 99.9,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_201035_20250912_02_T1",
    "date": "2025-09-12",
    "platform": "landsat-9",
    "scene_cloud_pct": 1.6,
    "wrs": "201/035",
    "clear_pct": 99.4,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_201035_20260603_02_T1",
    "date": "2026-06-03",
    "platform": "landsat-8",
    "scene_cloud_pct": 6.31,
    "wrs": "201/035",
    "clear_pct": 96.5,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_201035_20260627_02_T1",
    "date": "2026-06-27",
    "platform": "landsat-9",
    "scene_cloud_pct": 4.69,
    "wrs": "201/035",
    "clear_pct": 99.5,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_201035_20260705_02_T1",
    "date": "2026-07-05",
    "platform": "landsat-8",
    "scene_cloud_pct": 10.6,
    "wrs": "201/035",
    "clear_pct": 98.2,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_201035_20260713_02_T1",
    "date": "2026-07-13",
    "platform": "landsat-9",
    "scene_cloud_pct": 0.29,
    "wrs": "201/035",
    "clear_pct": 99.6,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_201035_20260729_02_T1",
    "date": "2026-07-29",
    "platform": "landsat-9",
    "scene_cloud_pct": 14.81,
    "wrs": "201/035",
    "clear_pct": 93.6,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_201035_20260806_02_T1",
    "date": "2026-08-06",
    "platform": "landsat-8",
    "scene_cloud_pct": 0.5,
    "wrs": "201/035",
    "clear_pct": 99.8,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_201035_20260814_02_T1",
    "date": "2026-08-14",
    "platform": "landsat-9",
    "scene_cloud_pct": 15.48,
    "wrs": "201/035",
    "clear_pct": 99.9,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_201035_20260822_02_T1",
    "date": "2026-08-22",
    "platform": "landsat-8",
    "scene_cloud_pct": 26.66,
    "wrs": "201/035",
    "clear_pct": 99.4,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_201035_20260830_02_T1",
    "date": "2026-08-30",
    "platform": "landsat-9",
    "scene_cloud_pct": 0.96,
    "wrs": "201/035",
    "clear_pct": 99.6,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_201035_20260907_02_T1",
    "date": "2026-09-07",
    "platform": "landsat-8",
    "scene_cloud_pct": 4.97,
    "wrs": "201/035",
    "clear_pct": 83.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_201035_20260915_02_T1",
    "date": "2026-09-15",
    "platform": "landsat-9",
    "scene_cloud_pct": 0.08,
    "wrs": "201/035",
    "clear_pct": 99.7,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_201035_20260923_02_T1",
    "date": "2026-09-23",
    "platform": "landsat-8",
    "scene_cloud_pct": 3.94,
    "wrs": "201/035",
    "clear_pct": 96.7,
    "coverage_pct": 100.0
   }
  ],
  "rejected": [
   {
    "id": "LC08_L2SP_201035_20250920_02_T1",
    "date": "2025-09-20",
    "platform": "landsat-8",
    "scene_cloud_pct": 25.93,
    "wrs": "201/035",
    "reason": "clear fraction 44%"
   },
   {
    "id": "LC09_L2SP_201035_20260611_02_T1",
    "date": "2026-06-11",
    "platform": "landsat-9",
    "scene_cloud_pct": 26.32,
    "wrs": "201/035",
    "reason": "clear fraction 13%"
   }
  ],
  "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": "S2B_MSIL2A_20250621T105619_R094_T30SUF_20250621T132339",
    "date": "2025-06-21",
    "tile": "30SUF",
    "scene_cloud_pct": 0.01
   },
   {
    "id": "S2C_MSIL2A_20250626T105641_R094_T30SUF_20250626T140901",
    "date": "2025-06-26",
    "tile": "30SUF",
    "scene_cloud_pct": 0.01
   },
   {
    "id": "S2B_MSIL2A_20250701T105619_R094_T30SUF_20250701T132043",
    "date": "2025-07-01",
    "tile": "30SUF",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2A_MSIL2A_20250728T105701_R094_T30SUF_20250728T162557",
    "date": "2025-07-28",
    "tile": "30SUF",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2A_MSIL2A_20250820T110651_R137_T30SUF_20250820T162816",
    "date": "2025-08-20",
    "tile": "30SUF",
    "scene_cloud_pct": 0.01
   },
   {
    "id": "S2B_MSIL2A_20250830T105619_R094_T30SUF_20250830T132026",
    "date": "2025-08-30",
    "tile": "30SUF",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2A_MSIL2A_20250830T110701_R137_T30SUF_20250830T155612",
    "date": "2025-08-30",
    "tile": "30SUF",
    "scene_cloud_pct": 0.01
   },
   {
    "id": "S2B_MSIL2A_20250902T110619_R137_T30SUF_20250902T151037",
    "date": "2025-09-02",
    "tile": "30SUF",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2B_MSIL2A_20260706T105619_R094_T30SUF_20260706T133019",
    "date": "2026-07-06",
    "tile": "30SUF",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2A_MSIL2A_20260713T105711_R094_T30SUF_20260713T173510",
    "date": "2026-07-13",
    "tile": "30SUF",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2B_MSIL2A_20260716T105619_R094_T30SUF_20260716T134607",
    "date": "2026-07-16",
    "tile": "30SUF",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2B_MSIL2A_20260726T105619_R094_T30SUF_20260726T133100",
    "date": "2026-07-26",
    "tile": "30SUF",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2A_MSIL2A_20260802T105711_R094_T30SUF_20260802T205411",
    "date": "2026-08-02",
    "tile": "30SUF",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2B_MSIL2A_20260805T105619_R094_T30SUF_20260805T133053",
    "date": "2026-08-05",
    "tile": "30SUF",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2A_MSIL2A_20260805T110651_R137_T30SUF_20260805T211533",
    "date": "2026-08-05",
    "tile": "30SUF",
    "scene_cloud_pct": 0.01
   },
   {
    "id": "S2C_MSIL2A_20260830T105621_R094_T30SUF_20260830T144012",
    "date": "2026-08-30",
    "tile": "30SUF",
    "scene_cloud_pct": 0.0
   }
  ],
  "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": [
    [
     -5.019868,
     36.560785
    ],
    [
     -4.72585,
     36.560785
    ],
    [
     -4.72585,
     36.457029
    ],
    [
     -5.019868,
     36.457029
    ]
   ],
   "vmin": 32.0,
   "vmax": 43.0,
   "stops": [
    "#1d3b78",
    "#2f7fd6",
    "#4fd1ff",
    "#b04fff",
    "#ff5aa0",
    "#ff9e6b",
    "#ffe28a"
   ],
   "res_m": 30
  },
  "green": {
   "file": "green.png",
   "crs": "EPSG:3857",
   "coordinates": [
    [
     -5.019754,
     36.560694
    ],
    [
     -4.725915,
     36.560694
    ],
    [
     -4.725915,
     36.457082
    ],
    [
     -5.019754,
     36.457082
    ]
   ],
   "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 31114",
   "url": "https://www.ine.es/jaxiT3/Tabla.htm?t=31114",
   "api": "https://servicios.ine.es/wstempus/js/ES/DATOS_TABLA/31114?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": "Overpass API"
  },
  "boundary": {
   "name": "© OpenStreetMap contributors",
   "url": "https://www.openstreetmap.org/copyright",
   "licence": "ODbL 1.0",
   "access": "Nominatim",
   "element": "relation/340756",
   "tag_name": "Marbella"
  },
  "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/29/29069-MARBELLA/A.ES.SDGC.BU.29069.zip",
   "catastro_code": "29069"
  },
  "era5_land": {
   "name": "ERA5-Land reanalysis (Copernicus Climate Change Service / ECMWF), ~9 km, via Open-Meteo open data",
   "url": "https://github.com/open-meteo/open-data",
   "licence": "Open-Meteo data CC BY 4.0; contains modified Copernicus Climate Change Service information",
   "access": "read from Open-Meteo's open-data archive on AWS (s3://openmeteo/data/copernicus_era5_land/temperature_2m), the database behind the Open-Meteo Historical Weather API; nearest 0.1° cell, corrected to the point elevation (Copernicus DEM 90 m) at 6.5 K/km, daily values over the local day (Europe/Madrid)"
  },
  "era5": {
   "name": "ERA5 reanalysis (Copernicus Climate Change Service / ECMWF), ~25 km, via Open-Meteo open data",
   "url": "https://github.com/open-meteo/open-data",
   "licence": "Open-Meteo data CC BY 4.0; contains modified Copernicus Climate Change Service information",
   "access": "read from Open-Meteo's open-data archive on AWS (s3://openmeteo/data/copernicus_era5/temperature_2m), the database behind the Open-Meteo Historical Weather API; nearest 0.25° cell, corrected to the point elevation (Copernicus DEM 90 m) at 6.5 K/km, daily values over the local day (Europe/Madrid)"
  },
  "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)"
  }
 },
 "climate_updated": "2026-11-03T12:42:58+00:00"
}