Can someone explain this hourly forecast to me?
It says 3=3 hs from now, so 0 should mean 0 hs from now, yet as in the example it says 1 hour from now, and there’s a 0. 0 and 1 are giving different numbers. 0 also different than the current wi
So what I need to write to have the next hour, 0,0 or 0,1?
And what is plus days*24 means?
Here is how I think I need do
$wf(temp, 0, 1)$°$wi(tempu)$ > 1 h from now
$wf(temp, 0, 2)$°$wi(tempu)$ > 2 hs from now
$wf(temp, 0, 4)$°$wi(tempu)$ > 4 hs from now
Etc
And
$wf(temp, 1, 0)$°$wi(tempu)$ >1 days aka 24 hs from now
$wf(temp, 2, 0)$°$wi(tempu)$ > 2 days from now
Etc
Please correct me and explain the way to do, thanks.
Syntax
wf(type, day, [hours])
Arguments
**type**: Info type, see examples
**day**: Forecast day index (0 is today)
**hours**: Forecast hours offset (for hourly weather, 3 means 3 **hours** from now plus **days** * 24)
Let say we have these parameters:
Right now the date and time is:
Monday, September 24, 2024 • 15:00
• $wf(cond, 0, 3)$ ➞ today’s weather condition in the next 3 hours (today at 18:00)
• $wf(cond, 1, 3)$ ➞ tomorrow’s weather condition in the next 3 hours from the same hour as right now (Sep 25 at 18:00)
• $wf(cond, 1, 0)$ ➞ tomorrow’s weather condition at the same hour as right now (Sep 25 at 15:00)
Hi, thanks for replying.
So the day part is easy and logical. But with the hours it’s not clear yet. You say in the next 3 hours, and after you say, at 18:00. That is an exact time, while the first is an interval.
And what’s the difference between 0,0 and 0,1?
In any case 0 hours later is now, that somehow means 1 hour later, this is the thing that is not clear to me.