Either I have somehow pulled the data incorrectly, or there is an issue with the GPS location data.
After loading the data with the following code:
paths_raw=[]
for file in file_names:
track = np.load(file)
points=[(x[-1],x[-2]) for x in track['x']] # (longtitude,latitude)
points=np.asarray(points)
paths_raw.append(points)
where file_names are paths to these files
GFW_training_data/data/tracks/33272339789416.npz
GFW_training_data/data/tracks/278417339378522.npz
GFW_training_data/data/tracks/43454304520674.npz
GFW_training_data/data/tracks/238534759947303.npz
GFW_training_data/data/tracks/54820430995875.npz
GFW_training_data/data/tracks/71554660259352.npz
GFW_training_data/data/tracks/232400805249883.npz
GFW_training_data/data/tracks/148554964687863.npz
GFW_training_data/data/tracks/280574352919673.npz
GFW_training_data/data/tracks/187372144064677.npz
The data with basemap looks like

Not all contains "jumping" coordinates, but e.g. GFW_training_data/data/tracks/71554660259352.npz looks like

How do you suggest to clean this data?
Would you share your code for doing this, or update the data to a clean state?
Either I have somehow pulled the data incorrectly, or there is an issue with the GPS location data.
After loading the data with the following code:
where file_names are paths to these files
The data with basemap looks like

Not all contains "jumping" coordinates, but e.g.

GFW_training_data/data/tracks/71554660259352.npzlooks likeHow do you suggest to clean this data?
Would you share your code for doing this, or update the data to a clean state?