Yes there is a problem. For clientraw it seems correct during the day, but not just after midnight, and when using the adapted script. WDapi fails also.
I think that “Rain last hour” is a nice-to-have but non-essential value. It is not available in some other w34-versions. It was inserted as it was available from a Meteobridge-tag. Maybe we should drop that value.
If users want that value, we first have to define what it should contain: Assume it is now 10:15.
Do we want a “last-hour” => from 1 minute ago to 60 minutes ago: 09:15 => 10:14, that is how I try to calculate it from clientraw’s 60 minutes fields.
Or “previous-hour” : 09:00 => 10:00, what i expected from the Wd-api
That value should also not be reset at 24:00 hours.
Maybe some active WD and HWS-user could ask Brian to check this out and how we can have a real “last-hour”
No problem to use another clientraw file for that, as long as the user it is uploading, but is would be nice to have the same value for clientraw and for Wdapi.
I would expect that the last hour would be the previous 59 minutes from the current time. My screen grabs were from 1900 hrs (not close to midnight), and the value shown in w34 was 0.95" out of the total days rain amount of 0.96". My vote is if the value is going to be shown then it should be correct, otherwise remove it.