You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't have much time in August to investigate the issue but I think OpenSky needed some space in the past and removed some of the data which are used in the examples of the documentation...
d:\miniconda3\lib\site-packages\traffic\core\flight.py in compute_wind(self)
1236 if any(w not in self.data.columns for w in ["heading", "TAS"]):
1237 raise RuntimeError(
-> 1238 "No wind data in trajectory. Consider Flight.query_ehs()"
1239 )
1240
RuntimeError: No wind data in trajectory. Consider Flight.query_ehs()
Just as a reminder for myself (and for information @simonrp84), I will (soon 🤔) make a dataset of one day of fully decoded data over Europe so as to illustrate such examples without being subject to data expiring/disappearing on OpenSky database. It should serve for the turbulence paper as well.
Hi,
I'm trying out the wind field example here and cannot get it to work, as presumably I'm missing a step.
Here's what I do:
The
query_ehs()
line returns lots of warnings like this:WARNING:root:No data on Impala for flight RAM950X.
The
compute_wind
line then gives this error:RuntimeError: No wind data in trajectory. Consider Flight.query_ehs()
I have also tried:
But in this case df is
NoneType
.Any ideas what is wrong here?
(edit) To add, I have emptied my cache directory and the problem persists. This is with the latest version of traffic from github master.
(second edit) The example for
extended()
also doesn't work for me:Results in:
<class 'NoneType'>
The text was updated successfully, but these errors were encountered: