{
 "ocl_version": "0.1.0",
 "name": "Penygraig Terrace",
 "slug": "penygraig-terrace",
 "ladder": [
  {
   "window_m": 2.0,
   "max_gradient_pct": 22.640973315640167,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 243.0,
   "end_distance_m": 245.0,
   "start_elevation_m": 165.27706836352212,
   "end_elevation_m": 165.72988782983492,
   "min_gradient_pct": -3.520290299105966
  },
  {
   "window_m": 3.0,
   "max_gradient_pct": 22.688686428201283,
   "diagnostic": true,
   "flags": [],
   "start_distance_m": 255.0,
   "end_distance_m": 258.0,
   "start_elevation_m": 167.6929283276462,
   "end_elevation_m": 168.37358892049224,
   "min_gradient_pct": -3.1635655875694133
  },
  {
   "window_m": 5.0,
   "max_gradient_pct": 22.311708980609524,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 253.0,
   "end_distance_m": 258.0,
   "start_elevation_m": 167.25800347146176,
   "end_elevation_m": 168.37358892049224,
   "min_gradient_pct": -1.4791549884887445
  },
  {
   "window_m": 10.0,
   "max_gradient_pct": 20.86664246906622,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 253.0,
   "end_distance_m": 263.0,
   "start_elevation_m": 167.25800347146176,
   "end_elevation_m": 169.34466771836838,
   "min_gradient_pct": -0.4102140523957587
  },
  {
   "window_m": 20.0,
   "max_gradient_pct": 20.364706722519657,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 238.0,
   "end_distance_m": 258.0,
   "start_elevation_m": 164.3006475759883,
   "end_elevation_m": 168.37358892049224,
   "min_gradient_pct": -0.1938078440932145
  },
  {
   "window_m": 25.0,
   "max_gradient_pct": 20.263845286396986,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 233.0,
   "end_distance_m": 258.0,
   "start_elevation_m": 163.307627598893,
   "end_elevation_m": 168.37358892049224,
   "min_gradient_pct": -0.04089133249954102
  },
  {
   "window_m": 50.0,
   "max_gradient_pct": 19.75238479271934,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 214.0,
   "end_distance_m": 264.0,
   "start_elevation_m": 159.6768005320565,
   "end_elevation_m": 169.55299292841616,
   "min_gradient_pct": 0.049811713811095615
  },
  {
   "window_m": 100.0,
   "max_gradient_pct": 18.151763148263655,
   "diagnostic": false,
   "flags": [],
   "start_distance_m": 167.0,
   "end_distance_m": 267.0,
   "start_elevation_m": 151.91482034544936,
   "end_elevation_m": 170.066583493713,
   "min_gradient_pct": 3.3275906708176137
  }
 ],
 "length_m": 444.5926282922707,
 "start_elevation_m": 136.334931736329,
 "end_elevation_m": 182.69261597509762,
 "endpoint_gain_m": 46.35768423876863,
 "overall_gradient_pct": 10.427002448698621,
 "accumulated_ascent_m": 46.79319715938817,
 "window_maxima": {
  "max_5m": {
   "gradient_pct": 22.311708980609524,
   "start_distance_m": 253.0,
   "end_distance_m": 258.0,
   "midpoint_distance_m": 255.5,
   "start_elevation_m": 167.25800347146176,
   "end_elevation_m": 168.37358892049224,
   "start_xy": [
    305851.6221573316,
    194315.63919073157
   ],
   "end_xy": [
    305847.27715069917,
    194318.1132395112
   ]
  },
  "max_10m": {
   "gradient_pct": 20.86664246906622,
   "start_distance_m": 253.0,
   "end_distance_m": 263.0,
   "midpoint_distance_m": 258.0,
   "start_elevation_m": 167.25800347146176,
   "end_elevation_m": 169.34466771836838,
   "start_xy": [
    305851.6221573316,
    194315.63919073157
   ],
   "end_xy": [
    305842.96719226247,
    194320.6467502719
   ]
  },
  "max_20m": {
   "gradient_pct": 20.364706722519657,
   "start_distance_m": 238.0,
   "end_distance_m": 258.0,
   "midpoint_distance_m": 248.0,
   "start_elevation_m": 164.3006475759883,
   "end_elevation_m": 168.37358892049224,
   "start_xy": [
    305864.65717722895,
    194308.21704439266
   ],
   "end_xy": [
    305847.27715069917,
    194318.1132395112
   ]
  },
  "max_25m": {
   "gradient_pct": 20.263845286396986,
   "start_distance_m": 233.0,
   "end_distance_m": 258.0,
   "midpoint_distance_m": 245.5,
   "start_elevation_m": 163.307627598893,
   "end_elevation_m": 168.37358892049224,
   "start_xy": [
    305869.0021838614,
    194305.74299561302
   ],
   "end_xy": [
    305847.27715069917,
    194318.1132395112
   ]
  },
  "max_50m": {
   "gradient_pct": 19.75238479271934,
   "start_distance_m": 214.0,
   "end_distance_m": 264.0,
   "midpoint_distance_m": 239.0,
   "start_elevation_m": 159.6768005320565,
   "end_elevation_m": 169.55299292841616,
   "start_xy": [
    305885.51320906467,
    194296.34161025038
   ],
   "end_xy": [
    305842.11341288575,
    194321.16738524573
   ]
  },
  "max_100m": {
   "gradient_pct": 18.151763148263655,
   "start_distance_m": 167.0,
   "end_distance_m": 267.0,
   "midpoint_distance_m": 217.0,
   "start_elevation_m": 151.91482034544936,
   "end_elevation_m": 170.066583493713,
   "start_xy": [
    305926.3596878473,
    194273.09155297943
   ],
   "end_xy": [
    305839.5520747557,
    194322.72929016713
   ]
  }
 },
 "window_minima": {
  "min_5m": {
   "gradient_pct": -1.4791549884887445,
   "start_distance_m": 429.0,
   "end_distance_m": 434.0,
   "midpoint_distance_m": 431.5,
   "start_elevation_m": 182.74070881081445,
   "end_elevation_m": 182.66675106139002,
   "start_xy": [
    305719.5701569183,
    194351.21956175248
   ],
   "end_xy": [
    305715.21356075513,
    194348.76597868456
   ]
  },
  "min_10m": {
   "gradient_pct": -0.4102140523957587,
   "start_distance_m": 429.0,
   "end_distance_m": 439.0,
   "midpoint_distance_m": 434.0,
   "start_elevation_m": 182.74070881081445,
   "end_elevation_m": 182.69968740557488,
   "start_xy": [
    305719.5701569183,
    194351.21956175248
   ],
   "end_xy": [
    305710.856964592,
    194346.3123956166
   ]
  },
  "min_20m": {
   "gradient_pct": -0.1938078440932145,
   "start_distance_m": 394.0,
   "end_distance_m": 414.0,
   "midpoint_distance_m": 404.0,
   "start_elevation_m": 182.65259540207845,
   "end_elevation_m": 182.6138338332598,
   "start_xy": [
    305750.06633006036,
    194368.39464322795
   ],
   "end_xy": [
    305732.63994540775,
    194358.58031095625
   ]
  },
  "min_25m": {
   "gradient_pct": -0.04089133249954102,
   "start_distance_m": 384.0,
   "end_distance_m": 409.0,
   "midpoint_distance_m": 396.5,
   "start_elevation_m": 182.64184520448447,
   "end_elevation_m": 182.63162237135958,
   "start_xy": [
    305758.77952238667,
    194373.3018093638
   ],
   "end_xy": [
    305736.99654157093,
    194361.03389402418
   ]
  },
  "min_50m": {
   "gradient_pct": 0.049811713811095615,
   "start_distance_m": 384.0,
   "end_distance_m": 434.0,
   "midpoint_distance_m": 409.0,
   "start_elevation_m": 182.64184520448447,
   "end_elevation_m": 182.66675106139002,
   "start_xy": [
    305758.77952238667,
    194373.3018093638
   ],
   "end_xy": [
    305715.21356075513,
    194348.76597868456
   ]
  },
  "min_100m": {
   "gradient_pct": 3.3275906708176137,
   "start_distance_m": 344.0,
   "end_distance_m": 444.0,
   "midpoint_distance_m": 394.0,
   "start_elevation_m": 179.39545634371265,
   "end_elevation_m": 182.72304701453027,
   "start_xy": [
    305792.5649790058,
    194382.53298934666
   ],
   "end_xy": [
    305706.5003684288,
    194343.8588125487
   ]
  }
 },
 "diagnostic_window_maxima": {
  "max_2m": {
   "gradient_pct": 22.640973315640167,
   "start_distance_m": 243.0,
   "end_distance_m": 245.0,
   "midpoint_distance_m": 244.0,
   "start_elevation_m": 165.27706836352212,
   "end_elevation_m": 165.72988782983492,
   "start_xy": [
    305860.3121705965,
    194310.6910931723
   ],
   "end_xy": [
    305858.5741679435,
    194311.68071268414
   ]
  },
  "max_3m": {
   "gradient_pct": 22.688686428201283,
   "start_distance_m": 255.0,
   "end_distance_m": 258.0,
   "midpoint_distance_m": 256.5,
   "start_elevation_m": 167.6929283276462,
   "end_elevation_m": 168.37358892049224,
   "start_xy": [
    305849.8841546786,
    194316.62881024342
   ],
   "end_xy": [
    305847.27715069917,
    194318.1132395112
   ]
  }
 },
 "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.007,
   "obstruction_max_height_m": 2.98,
   "flagged_windows_m": []
  },
  "review": [],
  "extent": []
 },
 "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_305194_20201224dtm.tif",
   "data/cache/wales/dtm_1m/wg_del_5_306194_20201224dtm.tif"
  ],
  "calculated_at": "2026-08-12T09:11:08+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_305194_20201224dtm.tif",
   "wg_del_5_306194_20201224dtm.tif"
  ],
  "elevation_capture_dates": [
   "24-12-2020"
  ],
  "climb_origin": "discovered",
  "notes": "Coarse pass: max 15.1% over 200 m (Terrain 50), gain 33.8 m over 240 m way. EXTENDED by graph walk: +1 segment(s) at base, +3 at top (stop: base=no_descending_continuation, top=no_ascending_continuation; min_avg=2.0%). Review before adopting. ROAD-REVIEW: way 827474746: unnamed service way; way 827474746: service way, surface untagged ADOPTED (notable slice 2026-08-11): clean-steep."
 },
 "area": {
  "place": "Ynysybwl",
  "county": "Rhondda Cynon Taf - Rhondda Cynon Taf"
 },
 "reported_claims": [],
 "confidence": "A",
 "shape": {
  "ascent_concentration": 0.428,
  "concentration_window_frac": 0.25,
  "longest_pitch_10pct_m": 179.0,
  "shape_class": "sustained"
 }
}