Private
Public Access
1
0

Updated C2 import function to add zero drag factor

This commit is contained in:
sanderroosendaal
2016-11-06 16:57:35 +01:00
parent a32fdcf636
commit d1a8bacc9a

View File

@@ -369,6 +369,7 @@ def add_workout_from_strokedata(user,importid,data,strokedata,source='c2'):
' longitude':loncoord,
' latitude':latcoord,
' Stroke500mPace (sec/500m)':pace,
' DragFactor':np.zeros(nr_rows),
' Power (watts)':power,
' DriveLength (meters)':np.zeros(nr_rows),
' StrokeDistance (meters)':strokelength,