rich-iannone / splitr

Use the HYSPLIT model from inside R and do more with it
Other
141 stars 60 forks source link

trajectory 'run' column not present in output tibble from trajectory_read() #46

Closed MRPHarris closed 3 years ago

MRPHarris commented 4 years ago

Hi Rich, terrific work on the package, really impressive stuff.

Simple issue, simple fix (I think). When using trajectory_read() to fetch a data frame from a trajectory file(s), the 'run' column is not transferred across.

Steps to reproduce:

  1. Generate some trajectories using hysplit_trajectory().
  2. Observe that the 'run' column exists within the trajectory object/data frame.
  3. Fetch the same trajectories as a data frame from the output folder using trajectory_read().
  4. Observe that the 'run' column is not present within the new data frame.