second pass. low
This commit is contained in:
@@ -76,6 +76,8 @@ def _apply_extensions(pt: gpxpy.gpx.GPXTrackPoint, dp: DataPoint) -> None:
|
||||
dp.temperature_c = float(val)
|
||||
elif tag == "speed":
|
||||
dp.speed_kmh = float(val) * 3.6 # m/s → km/h
|
||||
elif tag in ("pwr", "power", "watts"):
|
||||
dp.power_w = int(float(val))
|
||||
|
||||
|
||||
def _strip_ns(tag: str) -> str:
|
||||
|
||||
Reference in New Issue
Block a user