Values of heatindex and windchill

  • 1
  • Question
  • Updated 1 year ago
Hi,
when I use hourly10day, I've some strange values:
heat index has sometimes values above zero, other time values like from -3309 to -3315, from -6654 to -6656 and -9998. From doc, seeems that null or N/A is -9999 or -999. What do these values mean? What is the correct range?
For windchill I've ony -9998. Is this for N/A or NULL?
best regars
Tonio
Photo of apolia

apolia

  • 2 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 122 Reply Likes
When you see the ones that aren't -999, where do you see them? What URL? -9999 just means bad data on our backend, so it should be the same as NULL, or no value.
Photo of apolia

apolia

  • 2 Posts
  • 0 Reply Likes
Hi, I can see, eg here:
http://api.wunderground.com/api/key/h...
best regards
Tonio
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 122 Reply Likes
Wow, I'm so sorry, those are awful. This is the data check to use in your code, and when we fix these files in the coming months, we'll address this on the backend as well. For now...

if val > -100 then show it, otherwise leave it blank
Photo of timborama

timborama

  • 1 Post
  • 0 Reply Likes
Are these fixed yet? All I'm seeing is heatindex values of -9998.
(1) what should these values be?
(2) what are the units?
Photo of WunderWilliam

WunderWilliam

  • 267 Posts
  • 18 Reply Likes
Those should still be treated as null results.
Photo of exovoid

exovoid

  • 6 Posts
  • 0 Reply Likes
If I look at this city for example:
http://french.wunderground.com/weathe...

I have windchill values in the chart below. However with our API calls we always get NA for conditions and -9998 for hourly10days.

Why is there on your site som data that is not available on the API we pay for?
Photo of Ron Jamerson

Ron Jamerson

  • 1 Post
  • 0 Reply Likes
So here we are, 4 years later, and it appears we still get heat index and wind chill values of -9999 on the hourly calls:
http://api.wunderground.com/api/YOUR_KEY_HERE/hourly10day/q/CA/San_Francisco.json 
"windchill": {"english": "-9999", "metric": "-9999"},
"heatindex": {"english": "-9999", "metric": "-9999"},

Having a service return "-9999" is absolutely absurd and shows a lack of maturity in creating apis. If a value is meaningless, there is a way to represent that and it's not some arbitrary large repeating negative number. It's simply "" or <element /> or don't return it. But why would heatindex and windchill ever be meaningless?

Sorry, no excuse for that sloppyness.
(Edited)