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
ECMWF grib files are recommended, but they are extremely expensive for real time data or forecasts.
I have tried with GFS and windfield = otop.wind.read_grib(fgrib) seems to work fine and creates a pandas dataframe with realistic values. However flight = optimizer.trajectory(objective="fuel") fails with the following error:
File "/.../wind.py", line 57, in
eval(f, {}, {"x0": x, "x1": y, "x2": h}) * c
File "", line 1, in
NameError: name 'x' is not defined
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
ECMWF grib files are recommended, but they are extremely expensive for real time data or forecasts.
I have tried with GFS and
windfield = otop.wind.read_grib(fgrib)seems to work fine and creates a pandas dataframe with realistic values. Howeverflight = optimizer.trajectory(objective="fuel")fails with the following error:File "/.../wind.py", line 57, in
eval(f, {}, {"x0": x, "x1": y, "x2": h}) * c
File "", line 1, in
NameError: name 'x' is not defined
Any idea about what may be wrong?
Beta Was this translation helpful? Give feedback.
All reactions