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
If you need to access forecaster's will_have_storm(), will_have_hurricane(), etc., which one_call doesn't give access to (as far as I could find) but don't care about the frequency, "3h" instead of "daily" does the trick.
Weirdly enough, this won't work even with a new API key:
forecast = mgr.forecast_at_place('Roma', 'daily').forecast # Invalid API key
but this does work: forecast = mgr.forecast_at_place('Roma', '3h').forecast
Not sure if this is a problem in pyowm or on the openweathermaps side, but this workaround helped me (pyowm==3.2.0).
If you need to access forecaster's
will_have_storm()
,will_have_hurricane()
, etc., which one_call doesn't give access to (as far as I could find) but don't care about the frequency, "3h" instead of "daily" does the trick.Weirdly enough, this won't work even with a new API key:
forecast = mgr.forecast_at_place('Roma', 'daily').forecast # Invalid API key
but this does work:
forecast = mgr.forecast_at_place('Roma', '3h').forecast
Not sure if this is a problem in pyowm or on the openweathermaps side, but this workaround helped me (pyowm==3.2.0).
Originally posted by @ividal in #316 (comment)
The text was updated successfully, but these errors were encountered: