Station precipitation value rounding issue? #494
Unanswered
maplegilbs
asked this question in
Q&A
Replies: 2 comments 3 replies
-
I agree the observation history hourly precipitation data seems to be off. I consistently see only the following 4 values for precipitationLastHour, precipitationLast3Hours, and precipitationLast6Hours, regardless of station:
That is, no values other than empty/null, 0, 0.01, or 0.02 seem to appear in those three fields, regardless of station. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Just FYI to anybody looking for this fix, I have been told the ticket is slated for Feb/Mar 2022 to be addressed |
Beta Was this translation helpful? Give feedback.
3 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.
-
We had a very rainy halloween here in Vermont, and when I checked on my program fetching station observation data from around VT I realized values were off from the 3-day history from the website.
I can only comment on stations in VT, but it appears the observations endpoint for individual stations is not reporting hourly rainfall correctly.
This is referring to the stationId/observations endpoint and specifically the value at
features.'observation number'.properties.precipitationLastHour.value though I would imagine it is affecting all precipitation values.
I suspect the error is a rounding issue combined with the fact rainfall is reported in meters. If I had to guess, these precipitationLastHour values are being rounded at the thousandths place and then reported at the hundreths. I.e .005 M of rainfall will be rounded to .01 and reported... as such any values of less than .20 inches (~.005M) will be rounded down and not be reported. My reasoning for this is comparing the datasets below. Note the only times the API data reported rainfall was 14:54 & 13:54 (UTC) which corresponds with the data from the 3-day history at 10:54 & 09:54 (EST) both of which were the only totals from these datasets >= .20 inches (.005M).
Hopefully this is helpful in resolving the issue. Let me know if I can provide any more assistance.
For example at the KBTV station
https://api.weather.gov/stations/KBTV/observations
Here is a sorted print of the observations for precipitationLastHour from 10/31/2021

And here is from the 3-day history of the same site: https://w1.weather.gov/data/obhistory/KBTV.html

Anybody have thoughts on how to resolve - @StephenClouse - sorry to bug, sure you are plenty busy.
Greatly appreciated,
Scott
Beta Was this translation helpful? Give feedback.
All reactions