mscross / pysplit

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

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

Closed refrancesco6 closed 4 years ago

refrancesco6 commented 4 years ago

Please, how can i fix that error?

mscross commented 4 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