pangeo_fish.io.read_trajectories

pangeo_fish.io.read_trajectories#

pangeo_fish.io.read_trajectories(names, root, storage_options=None, format='geoparquet')#

Read trajectories from disk

Parameters:
  • root (str or path-like) – The root directory containing the track files.

  • names (list of str) – The names of the tracks to read.

  • format ({"parquet", "geoparquet"}, default: "geoparquet") – The format of the files.

Returns:

movingpandas.TrajectoryCollection – The read tracks as a collection.