{
 "version": "0.1.0",
 "generated": "2026-11-03T13:24:38+00:00",
 "town": {
  "slug": "navalvillar-de-pela",
  "name": "Navalvillar de Pela",
  "name_official": "Navalvillar de Pela",
  "ine_code": "06091",
  "province": "Badajoz",
  "region": "Extremadura",
  "population": 4303,
  "population_year": "2025"
 },
 "map": {
  "bounds_core": [
   -5.47904,
   39.08263,
   -5.45641,
   39.10153
  ],
  "bounds_aoi": [
   -5.49005,
   39.07412,
   -5.4455,
   39.11015
  ]
 },
 "numbers": {
  "core_area_km2": 1.22,
  "core_cells": 54,
  "lst_core_median_c": 46.7,
  "lst_core_p95_c": 47.5,
  "lst_core_max150_c": 47.9,
  "lst_hot_threshold_c": 47.3,
  "hot_threshold_pct": 85,
  "n_eligible_cells": 1068,
  "green_core_pct": 3.0,
  "built_minus_leafy_c": 7.6,
  "built_minus_vegetated_c": 6.1,
  "leafy_ndvi": 0.5,
  "lst_aoi_median_c": 46.3,
  "lst_dates": [
   "2025-06-07",
   "2026-09-14"
  ],
  "ndvi_dates": [
   "2025-07-09",
   "2026-09-14"
  ],
  "n_schools_core": 3,
  "n_health_core": 1,
  "main_square": {
   "name": "Plaza de España",
   "osm_id": "way/616351650",
   "method": "square nearest the town hall (Ayuntamiento de Navalvillar de Pela)"
  }
 },
 "sanity": {
  "clear_overpasses": 22,
  "landsat_scenes": 22,
  "landsat_rejected": 4,
  "sentinel2_images": 32,
  "built_minus_leafy_c": 7.6,
  "n_leafy_cells": 1643,
  "leafy_ndvi": 0.5,
  "built_minus_vegetated_c": 6.1,
  "n_vegetated_cells": 3945,
  "hotspot_anomalies_c": [
   0.8,
   0.8,
   0.6,
   0.6,
   0.6
  ],
  "hotspots_found": 5,
  "unnamed_hotspots": [],
  "problems": [],
  "pass": true
 },
 "layers": {
  "lst": {
   "file": "lst.png",
   "crs": "EPSG:3857",
   "coordinates": [
    [
     -5.493613,
     39.112919
    ],
    [
     -5.441601,
     39.112919
    ],
    [
     -5.441601,
     39.071296
    ],
    [
     -5.493613,
     39.071296
    ]
   ],
   "vmin": 36.0,
   "vmax": 49.0,
   "stops": [
    "#1d3b78",
    "#2f7fd6",
    "#4fd1ff",
    "#b04fff",
    "#ff5aa0",
    "#ff9e6b",
    "#ffe28a"
   ],
   "res_m": 30
  },
  "green": {
   "file": "green.png",
   "crs": "EPSG:3857",
   "coordinates": [
    [
     -5.493613,
     39.112919
    ],
    [
     -5.44196,
     39.112919
    ],
    [
     -5.44196,
     39.071296
    ],
    [
     -5.493613,
     39.071296
    ]
   ],
   "threshold": 0.3,
   "res_m": 10
  }
 },
 "lst": {
  "scenes": [
   {
    "id": "LC08_L2SP_202033_20250607_02_T1",
    "date": "2025-06-07",
    "platform": "landsat-8",
    "scene_cloud_pct": 0.06,
    "wrs": "202/033",
    "clear_pct": 100.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202033_20250615_02_T1",
    "date": "2025-06-15",
    "platform": "landsat-9",
    "scene_cloud_pct": 3.65,
    "wrs": "202/033",
    "clear_pct": 100.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202033_20250701_02_T1",
    "date": "2025-07-01",
    "platform": "landsat-9",
    "scene_cloud_pct": 0.03,
    "wrs": "202/033",
    "clear_pct": 100.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202033_20250709_02_T1",
    "date": "2025-07-09",
    "platform": "landsat-8",
    "scene_cloud_pct": 0.02,
    "wrs": "202/033",
    "clear_pct": 100.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202033_20250717_02_T1",
    "date": "2025-07-17",
    "platform": "landsat-9",
    "scene_cloud_pct": 0.15,
    "wrs": "202/033",
    "clear_pct": 100.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202033_20250725_02_T1",
    "date": "2025-07-25",
    "platform": "landsat-8",
    "scene_cloud_pct": 0.93,
    "wrs": "202/033",
    "clear_pct": 100.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202033_20250802_02_T1",
    "date": "2025-08-02",
    "platform": "landsat-9",
    "scene_cloud_pct": 0.03,
    "wrs": "202/033",
    "clear_pct": 100.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202033_20250810_02_T1",
    "date": "2025-08-10",
    "platform": "landsat-8",
    "scene_cloud_pct": 0.0,
    "wrs": "202/033",
    "clear_pct": 100.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202033_20250826_02_T1",
    "date": "2025-08-26",
    "platform": "landsat-8",
    "scene_cloud_pct": 10.34,
    "wrs": "202/033",
    "clear_pct": 98.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202033_20250903_02_T1",
    "date": "2025-09-03",
    "platform": "landsat-9",
    "scene_cloud_pct": 0.0,
    "wrs": "202/033",
    "clear_pct": 98.5,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202033_20250911_02_T1",
    "date": "2025-09-11",
    "platform": "landsat-8",
    "scene_cloud_pct": 0.0,
    "wrs": "202/033",
    "clear_pct": 98.2,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202033_20260610_02_T1",
    "date": "2026-06-10",
    "platform": "landsat-8",
    "scene_cloud_pct": 0.05,
    "wrs": "202/033",
    "clear_pct": 98.6,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202033_20260704_02_T1",
    "date": "2026-07-04",
    "platform": "landsat-9",
    "scene_cloud_pct": 0.0,
    "wrs": "202/033",
    "clear_pct": 100.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202033_20260712_02_T1",
    "date": "2026-07-12",
    "platform": "landsat-8",
    "scene_cloud_pct": 18.11,
    "wrs": "202/033",
    "clear_pct": 95.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202033_20260720_02_T1",
    "date": "2026-07-20",
    "platform": "landsat-9",
    "scene_cloud_pct": 3.59,
    "wrs": "202/033",
    "clear_pct": 100.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202033_20260728_02_T1",
    "date": "2026-07-28",
    "platform": "landsat-8",
    "scene_cloud_pct": 2.15,
    "wrs": "202/033",
    "clear_pct": 100.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202033_20260805_02_T1",
    "date": "2026-08-05",
    "platform": "landsat-9",
    "scene_cloud_pct": 0.05,
    "wrs": "202/033",
    "clear_pct": 98.4,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202033_20260813_02_T1",
    "date": "2026-08-13",
    "platform": "landsat-8",
    "scene_cloud_pct": 0.0,
    "wrs": "202/033",
    "clear_pct": 100.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202033_20260821_02_T1",
    "date": "2026-08-21",
    "platform": "landsat-9",
    "scene_cloud_pct": 7.34,
    "wrs": "202/033",
    "clear_pct": 98.1,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202033_20260829_02_T1",
    "date": "2026-08-29",
    "platform": "landsat-8",
    "scene_cloud_pct": 0.0,
    "wrs": "202/033",
    "clear_pct": 98.4,
    "coverage_pct": 100.0
   },
   {
    "id": "LC09_L2SP_202033_20260906_02_T1",
    "date": "2026-09-06",
    "platform": "landsat-9",
    "scene_cloud_pct": 0.07,
    "wrs": "202/033",
    "clear_pct": 100.0,
    "coverage_pct": 100.0
   },
   {
    "id": "LC08_L2SP_202033_20260914_02_T1",
    "date": "2026-09-14",
    "platform": "landsat-8",
    "scene_cloud_pct": 0.0,
    "wrs": "202/033",
    "clear_pct": 100.0,
    "coverage_pct": 100.0
   }
  ],
  "rejected": [
   {
    "id": "LC09_L2SP_202033_20260922_02_T1",
    "date": "2026-09-22",
    "platform": "landsat-9",
    "scene_cloud_pct": 1.48,
    "wrs": "202/033",
    "reason": "clear fraction 0%"
   },
   {
    "id": "LC08_L2SP_202033_20260626_02_T1",
    "date": "2026-06-26",
    "platform": "landsat-8",
    "scene_cloud_pct": 20.32,
    "wrs": "202/033",
    "reason": "clear fraction 34%"
   },
   {
    "id": "LC09_L2SP_202033_20260618_02_T1",
    "date": "2026-06-18",
    "platform": "landsat-9",
    "scene_cloud_pct": 3.9,
    "wrs": "202/033",
    "reason": "clear fraction 7%"
   },
   {
    "id": "LC09_L2SP_202033_20260602_02_T1",
    "date": "2026-06-02",
    "platform": "landsat-9",
    "scene_cloud_pct": 5.49,
    "wrs": "202/033",
    "reason": "clear fraction 21%"
   }
  ],
  "n_overpasses": 22
 },
 "ndvi": {
  "scenes": [
   {
    "id": "S2C_MSIL2A_20250709T110641_R137_T30STJ_20250709T150614",
    "date": "2025-07-09",
    "tile": "30STJ",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2C_MSIL2A_20250709T110641_R137_T29SQD_20250709T150614",
    "date": "2025-07-09",
    "tile": "29SQD",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2B_MSIL2A_20250714T110619_R137_T30STJ_20250714T133425",
    "date": "2025-07-14",
    "tile": "30STJ",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2B_MSIL2A_20250714T110619_R137_T29SQD_20250714T133425",
    "date": "2025-07-14",
    "tile": "29SQD",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2A_MSIL2A_20250721T110711_R137_T30STJ_20250721T174012",
    "date": "2025-07-21",
    "tile": "30STJ",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2A_MSIL2A_20250721T110711_R137_T29SQD_20250721T174012",
    "date": "2025-07-21",
    "tile": "29SQD",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2C_MSIL2A_20250729T110641_R137_T30STJ_20250729T152017",
    "date": "2025-07-29",
    "tile": "30STJ",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2C_MSIL2A_20250729T110641_R137_T29SQD_20250729T152017",
    "date": "2025-07-29",
    "tile": "29SQD",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2A_MSIL2A_20250810T110701_R137_T30STJ_20250810T154815",
    "date": "2025-08-10",
    "tile": "30STJ",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2A_MSIL2A_20250810T110701_R137_T29SQD_20250810T154815",
    "date": "2025-08-10",
    "tile": "29SQD",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2A_MSIL2A_20250820T110651_R137_T30STJ_20250820T162816",
    "date": "2025-08-20",
    "tile": "30STJ",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2A_MSIL2A_20250820T110651_R137_T29SQD_20250820T162816",
    "date": "2025-08-20",
    "tile": "29SQD",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2C_MSIL2A_20250917T110731_R137_T30STJ_20250917T164616",
    "date": "2025-09-17",
    "tile": "30STJ",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2C_MSIL2A_20250917T110731_R137_T29SQD_20250917T164616",
    "date": "2025-09-17",
    "tile": "29SQD",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2B_MSIL2A_20250922T110659_R137_T30STJ_20250923T075628",
    "date": "2025-09-22",
    "tile": "30STJ",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2B_MSIL2A_20250922T110659_R137_T29SQD_20250923T075628",
    "date": "2025-09-22",
    "tile": "29SQD",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2B_MSIL2A_20260609T110619_R137_T30STJ_20260609T135652",
    "date": "2026-06-09",
    "tile": "30STJ",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2B_MSIL2A_20260609T110619_R137_T29SQD_20260609T135652",
    "date": "2026-06-09",
    "tile": "29SQD",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2C_MSIL2A_20260724T110621_R137_T30STJ_20260724T144105",
    "date": "2026-07-24",
    "tile": "30STJ",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2C_MSIL2A_20260724T110621_R137_T29SQD_20260724T144105",
    "date": "2026-07-24",
    "tile": "29SQD",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2A_MSIL2A_20260726T110711_R137_T29SQD_20260726T210116",
    "date": "2026-07-26",
    "tile": "29SQD",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2B_MSIL2A_20260729T110619_R137_T30STJ_20260729T133901",
    "date": "2026-07-29",
    "tile": "30STJ",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2B_MSIL2A_20260729T110619_R137_T29SQD_20260729T133901",
    "date": "2026-07-29",
    "tile": "29SQD",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2C_MSIL2A_20260813T110621_R137_T30STJ_20260813T144414",
    "date": "2026-08-13",
    "tile": "30STJ",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2C_MSIL2A_20260813T110621_R137_T29SQD_20260813T144414",
    "date": "2026-08-13",
    "tile": "29SQD",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2C_MSIL2A_20260902T110621_R137_T30STJ_20260902T144815",
    "date": "2026-09-02",
    "tile": "30STJ",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2C_MSIL2A_20260902T110621_R137_T29SQD_20260902T144815",
    "date": "2026-09-02",
    "tile": "29SQD",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2B_MSIL2A_20260907T110619_R137_T30STJ_20260907T133622",
    "date": "2026-09-07",
    "tile": "30STJ",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2C_MSIL2A_20260912T110631_R137_T30STJ_20260912T145321",
    "date": "2026-09-12",
    "tile": "30STJ",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2C_MSIL2A_20260912T110631_R137_T29SQD_20260912T145321",
    "date": "2026-09-12",
    "tile": "29SQD",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2A_MSIL2A_20260914T110651_R137_T30STJ_20260914T193711",
    "date": "2026-09-14",
    "tile": "30STJ",
    "scene_cloud_pct": 0.0
   },
   {
    "id": "S2A_MSIL2A_20260914T110651_R137_T29SQD_20260914T193711",
    "date": "2026-09-14",
    "tile": "29SQD",
    "scene_cloud_pct": 0.0
   }
  ],
  "n": 32
 },
 "method": {
  "cell_m": 150,
  "core_building_cover_min": 0.1,
  "hotspot_building_cover_min": 0.15,
  "hotspot_industrial_max": 0.5,
  "nearby_m": {
   "school": 300,
   "health": 400,
   "care": 400,
   "market": 400,
   "public": 600,
   "townhall": 600,
   "square": 250,
   "water": 200
  },
  "doc": "Small-town heat profile: hottest built-up spots of the urban core on a 150 m grid.\n\n    python smalltowns/pipeline/build_town.py --town algorfa\n    python smalltowns/pipeline/build_town.py --all [--jobs 2]\n\nCensus sections are too few in a 3,000-20,000 town to rank, so instead:\n 1. urban core   = Cadastre (INSPIRE) building footprints rasterised to a 150 m grid; cells with >= 12 % building\n                   cover, closed and hole-filled, connected component at (or nearest to) the town point;\n 2. surface heat = Landsat 8/9 summer median LST (2025 + 2026, cities/pipeline/satellite.py) on 30 m, averaged to\n                   150 m; vegetation = Sentinel-2 summer median NDVI;\n 3. hotspots     = built-up core cells (>= 15 % building cover, < 50 % industrial footprint) at or above the 85th\n                   percentile of the core, grown from the hottest cell into its hot neighbours (<= 6 cells, within\n                   1 C of the peak), 3-5 of them at least 300 m apart; relaxed to the 75th/65th percentile when fewer\n                   than 3 are found;\n 4. names        = nearest named OSM square in or within 75 m of the hotspot; else a named landmark (church, town\n                   hall, market, park); else the longest named street inside it; never invented;\n 5. nearby       = schools, health centres, care homes, market, main square and public buildings from OSM;\n 6. measures     = 3 low-cost first measures per hotspot chosen by rules from what is actually there.\n\nOutputs smalltowns/data/<slug>/: stats.json, hotspots.geojson, core.geojson, pois.geojson, lst.png/.pgw, green.png/.pgw"
 },
 "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)"
  },
  "buildings": {
   "name": "Dirección General del Catastro, INSPIRE Buildings (BU)",
   "url": "https://www.catastro.hacienda.gob.es/webinspire/index.html",
   "licence": "Free reuse with attribution ('Dirección General del Catastro')",
   "file": "https://www.catastro.hacienda.gob.es/INSPIRE/Buildings/06/06091-NAVALVILLAR%20DE%20PELA/A.ES.SDGC.BU.06091.zip",
   "cadastre_code": "06091",
   "cadastre_name": "NAVALVILLAR DE PELA"
  },
  "osm": {
   "name": "© OpenStreetMap contributors",
   "url": "https://www.openstreetmap.org/copyright",
   "licence": "ODbL 1.0",
   "access": "OpenStreetMap API 0.6 /map (bbox tiles)"
  }
 },
 "build_seconds": 1,
 "climate": null
}