Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Missing (undefined) parameter for wind

Daniel Dec 14, 2016 05:43PM UTC

Since few hours, the second parameter for wind is "undefined".
Normaly this paramter has two values: 'speed' and 'deg'. But now i get only "speed" - "deg" is not there (undefined). This crashes my Program with a KeyError.
Is it possible, if the parameter is gone, to replace the "deg" with 0 and not undefined?

Up 0 rated Down
Daniel Dec 15, 2016 03:46AM UTC
EDIT: Fixed it with an exception if Parameter is "None" ;-)
Up 0 rated Down
Maxim Gushcho Dec 15, 2016 11:17AM UTC OpenWeatherMap Agent

Unfortunetly, it is no possible.
You have to make all changes on your end.
Thanks for understanding.

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found