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

What exacly is "rain" #45

Closed
andreaskoerber opened this issue May 20, 2023 · 7 comments
Closed

What exacly is "rain" #45

andreaskoerber opened this issue May 20, 2023 · 7 comments

Comments

@andreaskoerber
Copy link

andreaskoerber commented May 20, 2023

I understand that the data point "rain" now delivers a "current" value.
But since it does so in mm, there needs to be a timeframe specified. So what exaclty is given as "rain"? ist it the current amount of rain in mm, extrapolated to a day / an hour?
Is it a measured value - or a prognostic one (e.g. extrapolated to "within the current/next hour/day" or so?

@backfisch88
Copy link
Collaborator

backfisch88 commented May 20, 2023

There is only live data in this Adapter and some historic like last hour and yesterday

"rain" shows the current status of this hour

"rain_lasthour" the last hour and so on

the unit is milimetres per square metre over the time parameter in the data point (current hour / day / yesterday / last hour)

@andreaskoerber
Copy link
Author

Thanks! So "rain" ist mm/m² within the actual hour "so far", i.e. since the last full hour?

@backfisch88
Copy link
Collaborator

backfisch88 commented May 20, 2023

I think it's during the last 60 minutes

just look at this Station for example... there only stands "1 hour"
https://weathermap.netatmo.com//?zoom=8.397804940368959&type=rain&param=hourly&stationid=70%3Aee%3A50%3A58%3A96%3Aee&maplayer=Dark&lang=en

@andreaskoerber
Copy link
Author

Ok, thnks.
What, then, ist "rain_lastHour"?
a. the sum of now-120 min: now-60 mint - calculated anew each (full) minute?
b. the value of 60 minutes UP to the last full hour? - calculated anew each full our?

If it is the latter and "rain" ist sum of all minuted from (now-60min) to now, then one may not add "rain_lastHour" and "rain" etc., because they overlap and revent rain would be overweighted.

Where can I fond the exact definitions of the values the service provides?

@backfisch88
Copy link
Collaborator

I think A
so now -120 min to now -60 Min

dont know exactly cause the Adapter only parse the data from Netatmo

@andreaskoerber
Copy link
Author

That's why I asked, whether there is some more exact info available. I don't find it there, either.

@backfisch88
Copy link
Collaborator

backfisch88 commented May 20, 2023

I interpret "rain" as rain of the last 60 minutes
and "rain_lasthour" as rain of the 60 minutes BEFORE "rain".

@Bart1909 Bart1909 closed this as completed Jun 4, 2024
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

3 participants