WindSpeed discrepancy between UI & JSON #353
Unanswered
mcarroll316
asked this question in
Q&A
Replies: 1 comment
-
The wind values in the JSON are in meters per second, not knots, as noted by the "uom" property. I think you will find with this information that all the numbers do actually agree with each other. The "sourceUnit" property that is confusing you is a bug we are fixing in our next release. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm curious to know the calculation used to display the Surface Wind (mph) in the UI.
One example is as such:
The UI may show "11" as the Wind Speed (mph), but the corresponding value in the json is 4.1155 (unit = kts). I have ensured I've accounted for time values and am looking at the correct corresponding key/values.
Converting the knots to mph would be 4.7, not the 11 I see on the site. In comparing the "11" with some other weather sites, it would be appear that that would be most accurate. So, I'm curious as what the json value truly represents and/or if it's perhaps inaccurate.
JSON Source
https://api.weather.gov/gridpoints/MTR/89,126
Michael
Beta Was this translation helpful? Give feedback.
All reactions