testing on video analysis creation and view
This commit is contained in:
@@ -190,10 +190,6 @@ def get_video_data(w,groups=['basic'],mode='water'):
|
||||
latitude = coordinates['latitude']
|
||||
longitude = coordinates['longitude']
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# bundle data
|
||||
data = {
|
||||
'boatspeed':boatspeed.values.tolist(),
|
||||
@@ -201,13 +197,6 @@ def get_video_data(w,groups=['basic'],mode='water'):
|
||||
'longitude':longitude.values.tolist(),
|
||||
}
|
||||
|
||||
# metrics = {
|
||||
# 'boatspeed': {
|
||||
# 'unit': 'm/s',
|
||||
# 'metric': 'boatspeed',
|
||||
# 'name': 'Boat Speed'
|
||||
# },
|
||||
# }
|
||||
|
||||
metrics = {}
|
||||
|
||||
@@ -236,7 +225,7 @@ def get_video_data(w,groups=['basic'],mode='water'):
|
||||
metrics = collections.OrderedDict(sorted(metrics.items()))
|
||||
|
||||
maxtime = coordinates['time'].max()
|
||||
|
||||
|
||||
|
||||
return data, metrics, maxtime
|
||||
|
||||
|
||||
Reference in New Issue
Block a user