How to understand english/metric fields for snow and qpf in hourly forecast?

  • 1
  • Question
  • Updated 3 years ago
Hourly forecast contains english/metric fields for snow and qpf. Are they in inches/millimeters or inches/centimeters or something else?
Photo of popov895

popov895

  • 3 Posts
  • 0 Reply Likes
  • :|

Posted 3 years ago

  • 1
Photo of popov895

popov895

  • 3 Posts
  • 0 Reply Likes
I believe, it must be the same, as for daily forecast:
  • snow.english - in inches
  • snow.metric - in centimeters
  • qpf.english - in inches
  • qpf.metric - in millimeters
But, here are examples:
"qpf":{
    "english":"0.02",
    "metric":"1"
},
"snow":{
    "english":"0.2",
    "metric":"5"
}
"qpf":{
    "english":"0.01",
    "metric":"0"
},
"snow":{
    "english":"0.1",
    "metric":"3"
}
"qpf":{
    "english":"0.02",
    "metric":"1"
},
"snow":{
    "english":"0.0",
    "metric":"0"
}
If we assume that snow.english and qpf.english are in inches, then:
0.2 in = 5 mm and 0.1 in = 2.5 (3) mm
but
0.02 in != 1 mm and 0.01 in != 0 mm.
I guess, that snow.metric is in millimeters and qpf.metric is in...I don't know. It seems, that WUnerground API returns wrong data for snow and qpf in hourly forecast.
(Edited)
Photo of Mike Brewer

Mike Brewer

  • 24 Posts
  • 22 Reply Likes
I'd like to know the answer to this too.  Surely this should be in the documentation?  Particularly for an API that charges $300 per month for a pretty low quota (5000 calls per day).
Photo of Ravi Yadav

Ravi Yadav

  • 82 Posts
  • 9 Reply Likes
The snow and qpf measurements are in inches (English) and mm (Metric). The values are originally measured in metric units and converted and rounded off for English units. 
Refer: http://api.wunderground.com/api/APIKey/hourly/q/CO/Breckenridge.json

Let us know if you see any deviations or bugs. I will forward that to the API team.