API returns bad values (-999) for humidity and precipitation.

  • 3
  • Problem
  • Updated 6 years ago
Seeing bad values from the API:
/conditions/q/41.167041,-73.204834.json

Relative humidity returns -999%
Precipitation returns -999.00

I'd rather that the API return null values, or included error messages, so that they could be dealt with accordingly.
Photo of wizdumb

wizdumb

  • 6 Posts
  • 0 Reply Likes
  • frustrated

Posted 6 years ago

  • 3
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 123 Reply Likes
I agree! When we get to work on the next round of development we're going to make them all NULL. For now you'll have to deal with them, and a -999 or -9999 anywhere means the data is bad.
Photo of wizdumb

wizdumb

  • 6 Posts
  • 0 Reply Likes
Thanks Brendan. Is this in the documentation somewhere?