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

Forecast not properly reporting current temperature. #1

Open
jottr opened this issue Oct 6, 2014 · 3 comments
Open

Forecast not properly reporting current temperature. #1

jottr opened this issue Oct 6, 2014 · 3 comments

Comments

@jottr
Copy link

jottr commented Oct 6, 2014

$ 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?

@joergd
Copy link
Owner

joergd commented Oct 6, 2014

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.

@jottr
Copy link
Author

jottr commented Oct 6, 2014

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.

@katylava
Copy link

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.

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