forecast-cli
forecast-cli copied to clipboard
Forecast not properly reporting current temperature.
$ forecast
--- Berlin, Germany ------------------------------------------------------------
19° Partly cloudy until evening.
Tue 18° Drizzle starting in the evening.
Wed 21° Mostly cloudy throughout the day.
Thu 23° Mostly cloudy throughout the day.
Fri 23° Drizzle in the morning.
Sat 24° Partly cloudy throughout the day.
Sun 23° Partly cloudy throughout the day.
Mon 20° Drizzle in the afternoon.
Drizzle tomorrow through Monday, with temperatures rising to 24°C on Saturday.
Now you are prepared.
19° C. Currently it is 15°C though, which forecast correctly reports when using the --hourly-switch:
forecast --hourly
--- Berlin, Germany ------------------------------------------------------------
Today
7pm 15° Partly Cloudy
[...]
Maybe it would be possible to report the current conditions when using forecast sans --hourly-switch?
The day forecast just has kind of an average temperature for the day.
Not sure if forecast API has a current temperature section. But I don't see that as necessary as you know what the temperature is right now - you are in Berlin. You'll have a better idea than forecast could ever have - like you found out. But forecast will be better at predicting the weather - and that's the information I want to show with forecast.
On 06 Oct 2014, at 8:00 PM, jottr [email protected] wrote:
$ forecast
--- Berlin, Germany ------------------------------------------------------------
19° Partly cloudy until evening.Tue 18° Drizzle starting in the evening. Wed 21° Mostly cloudy throughout the day. Thu 23° Mostly cloudy throughout the day. Fri 23° Drizzle in the morning. Sat 24° Partly cloudy throughout the day. Sun 23° Partly cloudy throughout the day. Mon 20° Drizzle in the afternoon.
Drizzle tomorrow through Monday, with temperatures rising to 24°C on Saturday.
Now you are prepared.
19° C. Currently it is 15°C though, which forecast correctly reports when using the --hourly-switch:
forecast --hourly
--- Berlin, Germany ------------------------------------------------------------
Today
7pm 15° Partly Cloudy
[...] Maybe it would be possible to report the current conditions when using forecast?
— Reply to this email directly or view it on GitHub.
I for one would love to use forecast like so: while :; do clear; forecast; sleep 200; done.
Being able to see the current conditions/temperature would make this really useful.
A line like: 19° Partly cloudy until evening. (as in the example above) suggests that this is actually the current temperature and not just the days average.
The forecast API provides a currently field:
currently: A data point (see below) containing the current weather conditions at the requested location.
I agree, because I'm inside, at work, with no windows, when I check the weather. I'm not going outside to check the weather... I need to check it first so I know if I need to bring my coat. When I type forecast I expect to see current conditions as the first line. Then the line with the high and summary for today (which is currently the first line).
That said, it's easy enough to create aliases or extend this tool to behave like I want it to. Everybody is probably going to want something different.