Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difference between rain: Windy from WU #32

Open
jeffomoreira opened this issue Oct 14, 2024 · 4 comments
Open

Difference between rain: Windy from WU #32

jeffomoreira opened this issue Oct 14, 2024 · 4 comments

Comments

@jeffomoreira
Copy link

jeffomoreira commented Oct 14, 2024

Hey Leo. (re-sending the message)

I know there may be a few discrepancies on sending and converting rain data from WU to Windy.

Today we had a considerable amount of rain here. Wu reports (24h):
precip1

While Windy is showing:
Windy1

Roughly half of the numbers from WU (the smaller letters, 24h, since Windy reports rain differently I guess).

I am just reporting in hope of, maybe, helping to calibrate/adjust the data reported/calculated and sent to Windy.

Thanks.
Jeffo.

@leoherzog
Copy link
Owner

Interesting.

Well, Wunderground may be receiving rainfall rate data as frequently as every 2.5 seconds with their RapidFire system. As I mentioned before, Apps Script can only ask Wunderground for new data as frequently as every minute (without getting into complicated multiple-trigger systems with locking, etc etc). The hack for calculating rain accumulations over the last hour for services that don't provide them (like Wunderground) is to take the history of current rates (as received every minute) over the last hour and total them.

Once you have a full hour of minutely rain rates as they were during those moments, you can add them up and get an approximate total over the hour. So, if your weather station is reporting to Wunderground every 2.5 seconds, and you get a sudden 30 second downburst that starts and stops, Wunderground will record that, but if Apps Script doesn't happen to pull for another 30 seconds and ask for the current rain rate at the right time, it will miss that.

I guess that's what happened here? If this is true, then the opposite could also happen; We could ask Wunderground for the current rate right during the middle of a really short burst, and we might assume that that lasted longer than it did.

Keep an eye on the discrepancy over the next few rainstorms and report back if you do or do not see the rate on Windy be reported as more than Wunderground. That will help confirm these suspicions. If this is indeed what's happening, over longer periods and multiple rain events, these discrepancies should theoretically average out.

@jeffomoreira
Copy link
Author

Hey.

I got your point and it makes sense. I have a hard time with my abstraction logic capability these days, but I understand that the number in WU may be being "diluted" over time, on Windy.

Another thing I might have noticed is that the accumulated rain may have being reset in the middle of the day, on Windy. In that case Windy should only reset at 00h/Midnight...isn't it?. May be another think to check out? The pictures below bring some sense to it: near 10AM you see "24h acc: 8.1mm"and then after 1PM (13:38) "24h acc: 7.3mm". The accumulated values, over the day, should never reduce, only increase, right?

See the pictures:
SameDay near 10AM

Same Day After 1PM

Hope that helps.
Thanks.

@leoherzog
Copy link
Owner

As I look at your graphs, I see what I expect to see. I think that's how all other stations also behave?

Here's mine:
https://www.windy.com/station/pws-f069ecca

@jeffomoreira
Copy link
Author

jeffomoreira commented Oct 16, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants