mscross / pysplit

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

No results when running basic_plotting_example.py #65

Closed m-rodriguezc closed 4 years ago

m-rodriguezc commented 4 years ago

Hello! I am new in python but found the pysplit package that could help me a lot in my research. I am a Linux user and was trying to run some examples. I successfully got the trajectory files after running the bulk_trajgen_example.py. However when I want to plot a map using the basic_plotting_example.py: $ python basic_plotting_example.py I get the following error: "mypath/pysplit/hyfile_handler.py:373: FutureWarning: The pandas.datetime class is deprecated and will be removed from pandas in a future version. Import from datetime module instead. times.append(pd.datetime(*[int(x) for x in i]))"

Any idea on what can be the issue?

zhx215 commented 4 years ago

Hi,

I am not familiar with this error message. Packages like pandas that pysplit is dependent on is being updated, so some old codes might be out of date. However, I think it is just a warning message and I don't think it is because you used datetime in pandas. If nothing shows up, I would think of if adding a line of "%matplotlib inline" at the beginning would solve.

Zhengyu

mscross commented 4 years ago

Fixed by #66