Private
Public Access
1
0
This commit is contained in:
2024-10-05 18:11:29 +02:00
parent 2ea6584b3f
commit cc070fc50e

View File

@@ -249,8 +249,7 @@ def get_video_data(w, groups=['basic'], mode='water'):
df2 = pd.concat([df2, coordinates], axis=1)
latitude = df2['latitude']
longitude = df2['longitude']
boatspeed = (100*df2['velo']).astype(int)/100.
boatspeed = (100*df2['velo'].fillna(method='ffill')).astype(int)/100.
# bundle data
data = {
'boatspeed': boatspeed.values.tolist(),