Skip to content
Snippets Groups Projects
Commit 3e2895a4 authored by Raphael's avatar Raphael
Browse files

minor

parent 59e772af
Branches
Tags
No related merge requests found
......@@ -51,7 +51,7 @@ def apply_time_sequence(dat, time, func):
class AISTrajectory(AISPoints):
def __init__(self, df, interpolation_time=None):
df = df.drop_duplicates(subset=['ts_sec'])
df = df.sort_values(by=['ts_sec'])
if interpolation_time and len(df.index) > 4:
float_columns = ['longitude', 'latitude', 'cog', 'heading', 'rot', 'sog', 'diff']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment