Skip to content

Issues with loading data or Issues with the data #4

Description

@philipjhj

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
bad_gps_data

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

How do you suggest to clean this data?

Would you share your code for doing this, or update the data to a clean state?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions