Private
Public Access
1
0

Merge branch 'release/v22.1.37'

This commit is contained in:
2024-10-05 18:13:55 +02:00

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(),