trajectory reader