mscross / pysplit

A package for HYSPLIT air parcel trajectory analysis.
BSD 3-Clause "New" or "Revised" License
144 stars 79 forks source link

'Trajectory' object has no attribute 'month' #70

Closed refrancesco6 closed 3 years ago

refrancesco6 commented 3 years ago

Please, how can i fix that error?

mscross commented 3 years ago

to find the month at time zero, you can import pandas and use pandas.to_datetime(traj.data.DateTime[0]).month where traj is a Trajectory object