-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add km/h for windspeed #19
base: master
Are you sure you want to change the base?
Conversation
Should this be split into a PR upstream to pyowm to support km_h as a wind
unit and one here to reference that?
…On Thu, Jan 31, 2019, 01:43 Eduardo Elias ***@***.*** wrote:
------------------------------
You can view, comment on, or merge this pull request online at:
#19
Commit Summary
- Add km/h for windspeed
File Changes
- *M* README.md
<https://github.com/calzoneman/i3-weather/pull/19/files#diff-0> (1)
- *M* test_all_specifiers.sh
<https://github.com/calzoneman/i3-weather/pull/19/files#diff-1> (2)
- *M* weather.py
<https://github.com/calzoneman/i3-weather/pull/19/files#diff-2> (1)
Patch Links:
- https://github.com/calzoneman/i3-weather/pull/19.patch
- https://github.com/calzoneman/i3-weather/pull/19.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#19>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAXiiCPaCNvqdkscobJ72D7vMXquCeHzks5vIrq2gaJpZM4ab7XX>
.
|
Makes sense. I will update this PR as soon as I get it accepted at pyowm |
test_all_specifiers.sh
Outdated
@@ -14,5 +14,5 @@ fi | |||
.env/bin/python weather.py \ | |||
--api-key $OWM_KEY \ | |||
--city-id $OWM_CITY_ID \ | |||
--format "{city}, {country}: {text}, {temp_f}°F ({temp_c}°C, {temp_k}K), Relative humidity {humidity}%, Wind: {wind_speed_mph} MPH ({wind_speed_ms} m/s) from {wind_direction}° ({wind_direction_arrow} {wind_direction_fuzzy}), Daylight from {sunrise} to {sunset}, Pressure {pressure} millibars" | |||
--format "{city}, {country}: {text}, {temp_f}°F ({temp_c}°C, {temp_k}K), Relative humidity {humidity}%, Wind: {wind_speed_mph} MPH ({wind_speed_ms} m/s, {wind_spee_kmh} km/h) from {wind_direction}° ({wind_direction_arrow} {wind_direction_fuzzy}), Daylight from {sunrise} to {sunset}, Pressure {pressure} millibars" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo ("spee" -> "speed")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noted.
The change got merged into pyowm. May need to wait until next release (>2.10.0) to get merged |
Do you know when the new pyowm will be released? I hate to leave your PR sitting around if the pyowm dev isn't planning to release for a while. |
Sorry, but I have no idea. :/ |
No description provided.