{
 "ocl_version": "0.1.0",
 "name": "Maesyffynnon Terrace",
 "slug": "maesyffynnon-terrace",
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 24.08491523151639,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 342.0,
   "end_distance_m": 344.0,
   "start_elevation_m": 166.92023241051086,
   "end_elevation_m": 167.4019307151412,
   "min_gradient_pct": -1.6220836415470785
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 23.63756776778511,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 341.0,
   "end_distance_m": 344.0,
   "start_elevation_m": 166.69280368210764,
   "end_elevation_m": 167.4019307151412,
   "min_gradient_pct": -1.8100316386001698
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 22.888524706888802,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 340.0,
   "end_distance_m": 345.0,
   "start_elevation_m": 166.45693605633727,
   "end_elevation_m": 167.6013622916817,
   "min_gradient_pct": -0.914418081475219
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 22.659847304960294,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 334.0,
   "end_distance_m": 344.0,
   "start_elevation_m": 165.13594598464516,
   "end_elevation_m": 167.4019307151412,
   "min_gradient_pct": 0.5239499225612576
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 22.04998104541872,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 331.0,
   "end_distance_m": 351.0,
   "start_elevation_m": 164.5296690680319,
   "end_elevation_m": 168.93966527711564,
   "min_gradient_pct": 1.2009889790928696
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 21.828668769549495,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 326.0,
   "end_distance_m": 351.0,
   "start_elevation_m": 163.48249808472826,
   "end_elevation_m": 168.93966527711564,
   "min_gradient_pct": 1.3738097565469616
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 21.035748002606283,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 308.0,
   "end_distance_m": 358.0,
   "start_elevation_m": 159.79917706897876,
   "end_elevation_m": 170.3170510702819,
   "min_gradient_pct": 2.79873361466025
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 19.01358592827566,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 263.0,
   "end_distance_m": 363.0,
   "start_elevation_m": 152.2277006375867,
   "end_elevation_m": 171.24128656586237,
   "min_gradient_pct": 5.174548813057612
  }
 ],
 "length_m": 363.6991513082756,
 "start_elevation_m": 133.0631264495859,
 "end_elevation_m": 171.3639220622568,
 "endpoint_gain_m": 38.300795612670896,
 "overall_gradient_pct": 10.5309004639955,
 "accumulated_ascent_m": 38.38110988042851,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 22.888524706888802,
   "start_distance_m": 340.0,
   "end_distance_m": 345.0,
   "midpoint_distance_m": 342.5,
   "start_elevation_m": 166.45693605633727,
   "end_elevation_m": 167.6013622916817,
   "start_xy": [
    300203.196883115,
    192231.62378444374
   ],
   "end_xy": [
    300203.20854151866,
    192236.6237708519
   ]
  },
  "max_10m": {
   "gradient_pct": 22.659847304960294,
   "start_distance_m": 334.0,
   "end_distance_m": 344.0,
   "midpoint_distance_m": 339.0,
   "start_elevation_m": 165.13594598464516,
   "end_elevation_m": 167.4019307151412,
   "start_xy": [
    300203.1828930305,
    192225.62380075397
   ],
   "end_xy": [
    300203.2062098379,
    192235.62377357026
   ]
  },
  "max_20m": {
   "gradient_pct": 22.04998104541872,
   "start_distance_m": 331.0,
   "end_distance_m": 351.0,
   "midpoint_distance_m": 341.0,
   "start_elevation_m": 164.5296690680319,
   "end_elevation_m": 168.93966527711564,
   "start_xy": [
    300203.1758979883,
    192222.6238089091
   ],
   "end_xy": [
    300203.22253160307,
    192242.62375454168
   ]
  },
  "max_25m": {
   "gradient_pct": 21.828668769549495,
   "start_distance_m": 326.0,
   "end_distance_m": 351.0,
   "midpoint_distance_m": 338.5,
   "start_elevation_m": 163.48249808472826,
   "end_elevation_m": 168.93966527711564,
   "start_xy": [
    300203.16423958464,
    192217.62382250096
   ],
   "end_xy": [
    300203.22253160307,
    192242.62375454168
   ]
  },
  "max_50m": {
   "gradient_pct": 21.035748002606283,
   "start_distance_m": 308.0,
   "end_distance_m": 358.0,
   "midpoint_distance_m": 333.0,
   "start_elevation_m": 159.79917706897876,
   "end_elevation_m": 170.3170510702819,
   "start_xy": [
    300203.12226933136,
    192199.62387143163
   ],
   "end_xy": [
    300203.8408968306,
    192249.46378408145
   ]
  },
  "max_100m": {
   "gradient_pct": 19.01358592827566,
   "start_distance_m": 263.0,
   "end_distance_m": 363.0,
   "midpoint_distance_m": 313.0,
   "start_elevation_m": 152.2277006375867,
   "end_elevation_m": 171.24128656586237,
   "start_xy": [
    300204.6410052473,
    192154.6555150778
   ],
   "end_xy": [
    300206.3124079531,
    192253.8102346761
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -0.914418081475219,
   "start_distance_m": 191.0,
   "end_distance_m": 196.0,
   "midpoint_distance_m": 193.5,
   "start_elevation_m": 145.3253610781595,
   "end_elevation_m": 145.27964017408573,
   "start_xy": [
    300202.9757894758,
    192084.21457890072
   ],
   "end_xy": [
    300204.4298927347,
    192087.66917542022
   ]
  },
  "min_10m": {
   "gradient_pct": 0.5239499225612576,
   "start_distance_m": 186.0,
   "end_distance_m": 196.0,
   "midpoint_distance_m": 191.0,
   "start_elevation_m": 145.2272451818296,
   "end_elevation_m": 145.27964017408573,
   "start_xy": [
    300198.013977145,
    192084.83135957023
   ],
   "end_xy": [
    300204.4298927347,
    192087.66917542022
   ]
  },
  "min_20m": {
   "gradient_pct": 1.2009889790928696,
   "start_distance_m": 176.0,
   "end_distance_m": 196.0,
   "midpoint_distance_m": 186.0,
   "start_elevation_m": 145.03944237826715,
   "end_elevation_m": 145.27964017408573,
   "start_xy": [
    300188.09035248344,
    192086.06492090927
   ],
   "end_xy": [
    300204.4298927347,
    192087.66917542022
   ]
  },
  "min_25m": {
   "gradient_pct": 1.3738097565469616,
   "start_distance_m": 171.0,
   "end_distance_m": 196.0,
   "midpoint_distance_m": 183.5,
   "start_elevation_m": 144.936187734949,
   "end_elevation_m": 145.27964017408573,
   "start_xy": [
    300183.1285401527,
    192086.68170157878
   ],
   "end_xy": [
    300204.4298927347,
    192087.66917542022
   ]
  },
  "min_50m": {
   "gradient_pct": 2.79873361466025,
   "start_distance_m": 147.0,
   "end_distance_m": 197.0,
   "midpoint_distance_m": 172.0,
   "start_elevation_m": 143.91281468711196,
   "end_elevation_m": 145.3121814944421,
   "start_xy": [
    300159.31184096506,
    192089.6422487925
   ],
   "end_xy": [
    300204.45468874625,
    192088.66886795184
   ]
  },
  "min_100m": {
   "gradient_pct": 5.174548813057612,
   "start_distance_m": 97.0,
   "end_distance_m": 197.0,
   "midpoint_distance_m": 147.0,
   "start_elevation_m": 140.13763268138447,
   "end_elevation_m": 145.3121814944421,
   "start_xy": [
    300109.6937176574,
    192095.8100554877
   ],
   "end_xy": [
    300204.45468874625,
    192088.66886795184
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 24.08491523151639,
   "start_distance_m": 342.0,
   "end_distance_m": 344.0,
   "midpoint_distance_m": 343.0,
   "start_elevation_m": 166.92023241051086,
   "end_elevation_m": 167.4019307151412,
   "start_xy": [
    300203.20154647646,
    192233.623779007
   ],
   "end_xy": [
    300203.2062098379,
    192235.62377357026
   ]
  },
  "max_3m": {
   "gradient_pct": 23.63756776778511,
   "start_distance_m": 341.0,
   "end_distance_m": 344.0,
   "midpoint_distance_m": 342.5,
   "start_elevation_m": 166.69280368210764,
   "end_elevation_m": 167.4019307151412,
   "start_xy": [
    300203.1992147957,
    192232.6237817254
   ],
   "end_xy": [
    300203.2062098379,
    192235.62377357026
   ]
  }
 },
 "diagnostic_note": "Windows <=3 m are at raster-noise scale (1-sigma raster noise alone is roughly +/-7 pp at 2 m and +/-5 pp at 3 m on a 1 m DTM). Diagnostic use only: never a headline or ranking value.",
 "quality_summary": {
  "overhead_obstruction": {
   "obstruction_threshold_m": 2.0,
   "obstructed_fraction": 0.0,
   "obstruction_max_height_m": 1.29,
   "flagged_windows_m": []
  },
  "review": [],
  "extent": [
   "may_continue_beyond_end"
  ]
 },
 "provenance": {
  "analysis_version": "0.1.0",
  "sample_interval_m": 1.0,
  "interpolation": "bilinear",
  "smoothing": "none",
  "gradient_windows_m": [
   5.0,
   10.0,
   20.0,
   25.0,
   50.0,
   100.0
  ],
  "diagnostic_windows_m": [
   2.0,
   3.0
  ],
  "elevation_crs": "EPSG:27700",
  "elevation_resolution_m": 1.0,
  "elevation_tiles": [
   "data/cache/wales/dtm_1m/wg_del_5_300192_20201224dtm.tif"
  ],
  "calculated_at": "2026-08-12T09:10:52+00:00",
  "road_source": "OpenStreetMap (local PBF extract)",
  "road_attribution": "\u00a9 OpenStreetMap contributors, ODbL",
  "osm_pbf_path": "data/cache/pbf/wales-2026-08-11.osm.pbf",
  "osm_snapshot": "2026-08-10T20:21:40Z",
  "elevation_provider": "Welsh Government",
  "elevation_dataset": "Welsh Government LiDAR 1m DTM (2020-2023)",
  "elevation_licence": "Open Government Licence v3 \u2014 \u00a9 Crown copyright Welsh Government",
  "elevation_catalogue_layer": "geonode:welsh_government_lidar_tile_catalogue_2020_2023",
  "elevation_tile_ids": [
   "wg_del_5_300192_20201224dtm.tif"
  ],
  "elevation_capture_dates": [
   "24-12-2020"
  ],
  "climb_origin": "discovered",
  "notes": "Coarse pass: max 13.0% over 200 m (Terrain 50), gain 26.0 m over 171 m way. EXTENDED by graph walk: +3 segment(s) at base, +0 at top (stop: base=no_descending_continuation, top=no_ascending_continuation; min_avg=2.0%). Review before adopting. ADOPTED (notable slice 2026-08-11): clean-steep."
 },
 "area": {
  "place": "Tonypandy",
  "county": "Rhondda Cynon Taf - Rhondda Cynon Taf"
 },
 "reported_claims": [],
 "confidence": "A",
 "shape": {
  "ascent_concentration": 0.46,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 107.0,
  "shape_class": "stepped"
 }
}