{
 "pipeline_version": "0.1.0",
 "generated": "2026-11-03T09:43:15+00:00",
 "build_seconds": 8,
 "city": {
  "slug": "san-fernando",
  "name": "San Fernando",
  "name_official": "San Fernando",
  "ine_code": "11031",
  "province": "Cádiz"
 },
 "map": {
  "bounds_municipality": [
   -6.24179,
   36.37861,
   -6.16823,
   36.50661
  ],
  "bounds_urban": [
   -6.22976,
   36.4336,
   -6.17648,
   36.48581
  ],
  "bounds_focus": [
   -6.21199,
   36.44899,
   -6.1843,
   36.47809
  ]
 },
 "citywide": {
  "lst_median_municipality": {
   "value": 39.7,
   "unit": "°C",
   "source": "landsat",
   "date": "2025-06-07 – 2026-09-22 (23 clear overpasses)"
  },
  "lst_median_urban": {
   "value": 41.9,
   "unit": "°C",
   "source": "landsat",
   "date": "2025-06-07 – 2026-09-22 (23 clear overpasses)",
   "note": "median over ranked (densely populated) sections"
  },
  "lst_p95_urban": {
   "value": 43.7,
   "unit": "°C",
   "source": "landsat",
   "date": "2025-06-07 – 2026-09-22 (23 clear overpasses)"
  },
  "built_minus_green_c": {
   "value": 3.3,
   "unit": "°C",
   "source": "landsat+sentinel2+buildings",
   "date": "2025-06-07 – 2026-09-22 (23 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": 24.5,
   "unit": "%",
   "source": "sentinel2",
   "date": "2025-06-29 – 2026-08-28 (20 dates)"
  },
  "green_pct_urban": {
   "value": 24.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": 92868,
   "unit": "inhabitants",
   "source": "ine_adrh",
   "date": 2024
  },
  "population_65plus": {
   "value": 19048,
   "unit": "inhabitants",
   "source": "ine_adrh",
   "date": 2024
  },
  "pct_65plus": {
   "value": 20.5,
   "unit": "%",
   "source": "ine_adrh",
   "date": 2024
  },
  "n_sections": {
   "value": 70,
   "unit": "sections",
   "source": "ine_secc",
   "date": 2024
  },
  "n_sections_ranked": {
   "value": 64,
   "unit": "sections",
   "source": "ine_secc",
   "date": 2024
  },
  "pop_in_hot_sections": {
   "value": 21073,
   "unit": "inhabitants",
   "source": "landsat+ine_adrh",
   "date": "2025-06-07 – 2026-09-22 (23 clear overpasses)",
   "note": "residents of the hottest quarter of ranked sections (mean summer surface temperature >= 42.7 °C, 16 sections)"
  },
  "pop65_in_hot_sections": {
   "value": 4663,
   "unit": "inhabitants",
   "source": "landsat+ine_adrh",
   "date": "2025-06-07 – 2026-09-22 (23 clear overpasses)"
  },
  "n_schools": {
   "value": 42,
   "unit": "features",
   "source": "osm",
   "date": "2026-11-03"
  },
  "n_health": {
   "value": 15,
   "unit": "features",
   "source": "osm",
   "date": "2026-11-03"
  },
  "area_km2": {
   "value": 29.8,
   "unit": "km²",
   "source": "boundary",
   "date": "2026-11-03"
  },
  "population_official": {
   "value": 93338,
   "unit": "inhabitants",
   "source": "targets_csv",
   "date": "2025",
   "note": "from municipalities/targets.csv, source: https://en.wikipedia.org/wiki/San_Fernando,_Spain"
  }
 },
 "climate": {
  "point": {
   "lat": 36.46467,
   "lon": -6.19835
  },
  "point_elevation_m": 24.2,
  "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 Historical Weather API",
     "url": "https://open-meteo.com/en/docs/historical-weather-api",
     "licence": "Open-Meteo data CC BY 4.0; contains modified Copernicus Climate Change Service information"
    },
    "api_request": {
     "url": "https://archive-api.open-meteo.com/v1/archive",
     "params": {
      "latitude": 36.4647,
      "longitude": -6.1983,
      "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"
     }
    },
    "grid_cell": {
     "lat": 36.5,
     "lon": -6.099991,
     "elevation_m": 24.0
    },
    "series": [
     {
      "year": 1995,
      "tropical_nights": 43,
      "missing_days": 0,
      "jja_mean_c": 23.85,
      "jja_tmax_c": 28.42
     },
     {
      "year": 1996,
      "tropical_nights": 41,
      "missing_days": 0,
      "jja_mean_c": 23.89,
      "jja_tmax_c": 28.38
     },
     {
      "year": 1997,
      "tropical_nights": 41,
      "missing_days": 0,
      "jja_mean_c": 22.57,
      "jja_tmax_c": 26.7
     },
     {
      "year": 1998,
      "tropical_nights": 51,
      "missing_days": 0,
      "jja_mean_c": 24.22,
      "jja_tmax_c": 28.84
     },
     {
      "year": 1999,
      "tropical_nights": 41,
      "missing_days": 0,
      "jja_mean_c": 23.93,
      "jja_tmax_c": 28.69
     },
     {
      "year": 2000,
      "tropical_nights": 55,
      "missing_days": 0,
      "jja_mean_c": 24.55,
      "jja_tmax_c": 29.5
     },
     {
      "year": 2001,
      "tropical_nights": 49,
      "missing_days": 0,
      "jja_mean_c": 24.33,
      "jja_tmax_c": 29.32
     },
     {
      "year": 2002,
      "tropical_nights": 22,
      "missing_days": 0,
      "jja_mean_c": 23.19,
      "jja_tmax_c": 27.83
     },
     {
      "year": 2003,
      "tropical_nights": 65,
      "missing_days": 0,
      "jja_mean_c": 25.21,
      "jja_tmax_c": 29.9
     },
     {
      "year": 2004,
      "tropical_nights": 73,
      "missing_days": 0,
      "jja_mean_c": 25.14,
      "jja_tmax_c": 30.02
     },
     {
      "year": 2005,
      "tropical_nights": 66,
      "missing_days": 0,
      "jja_mean_c": 24.77,
      "jja_tmax_c": 29.69
     },
     {
      "year": 2006,
      "tropical_nights": 65,
      "missing_days": 0,
      "jja_mean_c": 24.52,
      "jja_tmax_c": 29.08
     },
     {
      "year": 2007,
      "tropical_nights": 35,
      "missing_days": 0,
      "jja_mean_c": 23.61,
      "jja_tmax_c": 28.46
     },
     {
      "year": 2008,
      "tropical_nights": 48,
      "missing_days": 0,
      "jja_mean_c": 24.53,
      "jja_tmax_c": 29.68
     },
     {
      "year": 2009,
      "tropical_nights": 67,
      "missing_days": 0,
      "jja_mean_c": 25.22,
      "jja_tmax_c": 30.31
     },
     {
      "year": 2010,
      "tropical_nights": 71,
      "missing_days": 0,
      "jja_mean_c": 24.96,
      "jja_tmax_c": 29.73
     },
     {
      "year": 2011,
      "tropical_nights": 81,
      "missing_days": 0,
      "jja_mean_c": 24.88,
      "jja_tmax_c": 29.72
     },
     {
      "year": 2012,
      "tropical_nights": 63,
      "missing_days": 0,
      "jja_mean_c": 24.97,
      "jja_tmax_c": 30.34
     },
     {
      "year": 2013,
      "tropical_nights": 71,
      "missing_days": 0,
      "jja_mean_c": 24.44,
      "jja_tmax_c": 29.42
     },
     {
      "year": 2014,
      "tropical_nights": 36,
      "missing_days": 0,
      "jja_mean_c": 23.6,
      "jja_tmax_c": 28.38
     },
     {
      "year": 2015,
      "tropical_nights": 74,
      "missing_days": 0,
      "jja_mean_c": 25.57,
      "jja_tmax_c": 30.47
     },
     {
      "year": 2016,
      "tropical_nights": 85,
      "missing_days": 0,
      "jja_mean_c": 25.61,
      "jja_tmax_c": 30.58
     },
     {
      "year": 2017,
      "tropical_nights": 86,
      "missing_days": 0,
      "jja_mean_c": 25.99,
      "jja_tmax_c": 31.22
     },
     {
      "year": 2018,
      "tropical_nights": 60,
      "missing_days": 0,
      "jja_mean_c": 23.67,
      "jja_tmax_c": 28.38
     },
     {
      "year": 2019,
      "tropical_nights": 48,
      "missing_days": 0,
      "jja_mean_c": 23.82,
      "jja_tmax_c": 28.76
     },
     {
      "year": 2020,
      "tropical_nights": 71,
      "missing_days": 0,
      "jja_mean_c": 24.89,
      "jja_tmax_c": 29.63
     },
     {
      "year": 2021,
      "tropical_nights": 59,
      "missing_days": 0,
      "jja_mean_c": 24.32,
      "jja_tmax_c": 29.13
     },
     {
      "year": 2022,
      "tropical_nights": 74,
      "missing_days": 0,
      "jja_mean_c": 25.38,
      "jja_tmax_c": 30.23
     },
     {
      "year": 2023,
      "tropical_nights": 88,
      "missing_days": 0,
      "jja_mean_c": 25.72,
      "jja_tmax_c": 30.62
     },
     {
      "year": 2024,
      "tropical_nights": 64,
      "missing_days": 0,
      "jja_mean_c": 24.65,
      "jja_tmax_c": 29.33
     },
     {
      "year": 2025,
      "tropical_nights": 88,
      "missing_days": 0,
      "jja_mean_c": 26.02,
      "jja_tmax_c": 30.68
     }
    ],
    "tropical_nights_last_year": 88,
    "tropical_nights_mean_first_decade": 48.1,
    "tropical_nights_mean_last_decade": 72.3,
    "tropical_nights_trend_per_decade": 11.4,
    "jja_mean_trend_c_per_decade": 0.47,
    "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": "5972X",
      "nombre": "SAN FERNANDO",
      "provincia": "CADIZ",
      "lat": 36.46556,
      "lon": -6.20556,
      "alt_m": 28.0,
      "dist_km": 0.7,
      "dz_m": 4,
      "complete_years": 29,
      "first_complete_year": 1997,
      "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": 32,
      "days_35": 0,
      "days_40": 0,
      "days_with_data_may_oct": 181,
      "complete": true,
      "jja_mean_c": 21.68
     },
     {
      "year": 1998,
      "tropical_nights": 45,
      "days_35": 3,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 23.35
     },
     {
      "year": 1999,
      "tropical_nights": 33,
      "days_35": 4,
      "days_40": 0,
      "days_with_data_may_oct": 180,
      "complete": true,
      "jja_mean_c": 22.55
     },
     {
      "year": 2000,
      "tropical_nights": 39,
      "days_35": 7,
      "days_40": 0,
      "days_with_data_may_oct": 183,
      "complete": true,
      "jja_mean_c": 23.33
     },
     {
      "year": 2001,
      "tropical_nights": 28,
      "days_35": 2,
      "days_40": 0,
      "days_with_data_may_oct": 181,
      "complete": true,
      "jja_mean_c": 22.42
     },
     {
      "year": 2002,
      "tropical_nights": 42,
      "days_35": 2,
      "days_40": 0,
      "days_with_data_may_oct": 181,
      "complete": true,
      "jja_mean_c": 22.84
     },
     {
      "year": 2003,
      "tropical_nights": 86,
      "days_35": 15,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 24.99
     },
     {
      "year": 2004,
      "tropical_nights": 84,
      "days_35": 5,
      "days_40": 1,
      "days_with_data_may_oct": 182,
      "complete": true,
      "jja_mean_c": 25.24
     },
     {
      "year": 2005,
      "tropical_nights": 82,
      "days_35": 11,
      "days_40": 0,
      "days_with_data_may_oct": 183,
      "complete": true,
      "jja_mean_c": 25.16
     },
     {
      "year": 2006,
      "tropical_nights": 77,
      "days_35": 13,
      "days_40": 1,
      "days_with_data_may_oct": 175,
      "complete": true,
      "jja_mean_c": 24.83
     },
     {
      "year": 2007,
      "tropical_nights": 50,
      "days_35": 3,
      "days_40": 0,
      "days_with_data_may_oct": 177,
      "complete": true,
      "jja_mean_c": 23.5
     },
     {
      "year": 2008,
      "tropical_nights": 51,
      "days_35": 2,
      "days_40": 0,
      "days_with_data_may_oct": 175,
      "complete": true,
      "jja_mean_c": 23.73
     },
     {
      "year": 2009,
      "tropical_nights": 89,
      "days_35": 17,
      "days_40": 0,
      "days_with_data_may_oct": 183,
      "complete": true,
      "jja_mean_c": 25.16
     },
     {
      "year": 2010,
      "tropical_nights": 88,
      "days_35": 15,
      "days_40": 0,
      "days_with_data_may_oct": 177,
      "complete": true,
      "jja_mean_c": 25.49
     },
     {
      "year": 2011,
      "tropical_nights": 98,
      "days_35": 7,
      "days_40": 0,
      "days_with_data_may_oct": 181,
      "complete": true,
      "jja_mean_c": 24.83
     },
     {
      "year": 2012,
      "tropical_nights": 87,
      "days_35": 12,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 24.43
     },
     {
      "year": 2013,
      "tropical_nights": 92,
      "days_35": 12,
      "days_40": 0,
      "days_with_data_may_oct": 180,
      "complete": true,
      "jja_mean_c": 24.74
     },
     {
      "year": 2014,
      "tropical_nights": 68,
      "days_35": 3,
      "days_40": 0,
      "days_with_data_may_oct": 174,
      "complete": true,
      "jja_mean_c": 23.03
     },
     {
      "year": 2015,
      "tropical_nights": 76,
      "days_35": 12,
      "days_40": 0,
      "days_with_data_may_oct": 168,
      "complete": true,
      "jja_mean_c": 25.02
     },
     {
      "year": 2016,
      "tropical_nights": 96,
      "days_35": 9,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 25.39
     },
     {
      "year": 2017,
      "tropical_nights": 103,
      "days_35": 7,
      "days_40": 0,
      "days_with_data_may_oct": 180,
      "complete": true,
      "jja_mean_c": 25.4
     },
     {
      "year": 2018,
      "tropical_nights": 74,
      "days_35": 9,
      "days_40": 0,
      "days_with_data_may_oct": 182,
      "complete": true,
      "jja_mean_c": 23.54
     },
     {
      "year": 2019,
      "tropical_nights": 66,
      "days_35": 6,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 23.66
     },
     {
      "year": 2020,
      "tropical_nights": 91,
      "days_35": 15,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 25.03
     },
     {
      "year": 2021,
      "tropical_nights": 88,
      "days_35": 7,
      "days_40": 0,
      "days_with_data_may_oct": 183,
      "complete": true,
      "jja_mean_c": 24.16
     },
     {
      "year": 2022,
      "tropical_nights": 90,
      "days_35": 25,
      "days_40": 1,
      "days_with_data_may_oct": 180,
      "complete": true,
      "jja_mean_c": 25.76
     },
     {
      "year": 2023,
      "tropical_nights": 109,
      "days_35": 18,
      "days_40": 3,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 25.99
     },
     {
      "year": 2024,
      "tropical_nights": 70,
      "days_35": 11,
      "days_40": 0,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 24.66
     },
     {
      "year": 2025,
      "tropical_nights": 103,
      "days_35": 25,
      "days_40": 5,
      "days_with_data_may_oct": 184,
      "complete": true,
      "jja_mean_c": 26.02
     }
    ],
    "n_complete_years": 29,
    "tropical_nights_last_year": 103,
    "days_35_last_year": 25,
    "days_40_last_year": 5,
    "missing_days_last_year_may_oct": 0,
    "first_decade": "1995-2004",
    "last_decade": "2016-2025",
    "first_period_years": 8,
    "last_period_years": 10,
    "first_period_is_standard": true,
    "last_period_is_standard": true,
    "tropical_nights_mean_first_decade": 48.6,
    "tropical_nights_mean_last_decade": 89.0,
    "days_35_mean_first": 4.8,
    "days_35_mean_last": 13.2,
    "days_40_mean_first": 0.1,
    "days_40_mean_last": 0.9,
    "tropical_nights_trend_per_decade": 19.6,
    "jja_mean_trend_c_per_decade": 0.82,
    "jja_mean_trend_years": 29,
    "retrieved": "2026-11-03"
   }
  },
  "candidates": [
   {
    "indicativo": "5972X",
    "nombre": "SAN FERNANDO",
    "provincia": "CADIZ",
    "lat": 36.46556,
    "lon": -6.20556,
    "alt_m": 28.0,
    "dist_km": 0.7,
    "dz_m": 4,
    "complete_years": 29,
    "first_complete_year": 1997,
    "complete_2025": true,
    "used": true,
    "rejected_because": null
   },
   {
    "indicativo": "5972Y",
    "nombre": "SAN FERNANDO",
    "provincia": "CADIZ",
    "lat": 36.46278,
    "lon": -6.20639,
    "alt_m": 24.0,
    "dist_km": 0.7,
    "dz_m": 0,
    "complete_years": 0,
    "first_complete_year": null,
    "complete_2025": false,
    "used": false,
    "rejected_because": "0 complete years < 20; 2025 incomplete"
   },
   {
    "indicativo": "5973",
    "nombre": "CÁDIZ",
    "provincia": "CADIZ",
    "lat": 36.49972,
    "lon": -6.25778,
    "alt_m": 2.0,
    "dist_km": 6.6,
    "dz_m": -22,
    "complete_years": 26,
    "first_complete_year": 1995,
    "complete_2025": true,
    "used": false,
    "rejected_because": null
   },
   {
    "indicativo": "5910",
    "nombre": "ROTA, BASE NAVAL",
    "provincia": "CADIZ",
    "lat": 36.63889,
    "lon": -6.3325,
    "alt_m": 21.0,
    "dist_km": 22.8,
    "dz_m": -3,
    "complete_years": 31,
    "first_complete_year": 1995,
    "complete_2025": true,
    "used": false,
    "rejected_because": "22.8 km > 15 km"
   }
  ],
  "station": {
   "indicativo": "5972X",
   "nombre": "SAN FERNANDO",
   "provincia": "CADIZ",
   "lat": 36.46556,
   "lon": -6.20556,
   "alt_m": 28.0,
   "dist_km": 0.7,
   "dz_m": 4,
   "complete_years": 29,
   "first_complete_year": 1997,
   "complete_2025": true,
   "used": true,
   "rejected_because": null
  },
  "primary": "aemet",
  "source_kind": "aemet_station",
  "point_source": "OSM node/2678375443 (San Fernando)",
  "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.66,
  "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": 78.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": 97.7,
    "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": 79.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.7,
    "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": 93.7,
    "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": 93.8,
    "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": 97.3,
    "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": 88.3,
    "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": 98.6,
    "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": 99.1,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202035_20250927_02_T1",
    "date": "2025-09-27",
    "platform": "landsat-8",
    "scene_cloud_pct": 4.78,
    "wrs": "202/035",
    "clear_pct": 78.9,
    "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": 95.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": 99.2,
    "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": 86.4,
    "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": 86.5,
    "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": 98.4,
    "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": 81.5,
    "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": 99.1,
    "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.6,
    "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": 99.3,
    "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": 98.9,
    "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": 99.0,
    "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": 97.9,
    "coverage_pct": 100.0
   }
  ],
  "rejected": [
   {
    "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 3%"
   }
  ],
  "n_overpasses": 23,
  "nobs_median": 23,
  "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.248082,
     36.509916
    ],
    [
     -6.159958,
     36.509916
    ],
    [
     -6.159958,
     36.37507
    ],
    [
     -6.248082,
     36.37507
    ]
   ],
   "vmin": 30.0,
   "vmax": 45.0,
   "stops": [
    "#1d3b78",
    "#2f7fd6",
    "#4fd1ff",
    "#b04fff",
    "#ff5aa0",
    "#ff9e6b",
    "#ffe28a"
   ],
   "res_m": 30
  },
  "green": {
   "file": "green.png",
   "crs": "EPSG:3857",
   "coordinates": [
    [
     -6.247852,
     36.509736
    ],
    [
     -6.159997,
     36.509736
    ],
    [
     -6.159997,
     36.375251
    ],
    [
     -6.247852,
     36.375251
    ]
   ],
   "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": "Overpass API"
  },
  "boundary": {
   "name": "© OpenStreetMap contributors",
   "url": "https://www.openstreetmap.org/copyright",
   "licence": "ODbL 1.0",
   "access": "Nominatim",
   "element": "relation/346652",
   "tag_name": "San Fernando"
  },
  "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/11031-SAN%20FERNANDO/A.ES.SDGC.BU.11031.zip"
  },
  "era5_land": {
   "name": "ERA5-Land reanalysis (Copernicus Climate Change Service / ECMWF), ~9 km, via Open-Meteo Historical Weather API",
   "url": "https://open-meteo.com/en/docs/historical-weather-api",
   "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, via Open-Meteo Historical Weather API",
   "url": "https://open-meteo.com/en/docs/historical-weather-api",
   "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)"
  }
 },
 "climate_updated": "2026-11-03T12:43:05+00:00"
}