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

Add km/h for windspeed #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

camponez
Copy link

No description provided.

@calzoneman
Copy link
Owner

calzoneman commented Jan 31, 2019 via email

@camponez
Copy link
Author

Should this be split into a PR upstream to pyowm to support km_h as a wind unit and one here to reference that?

Makes sense. I will update this PR as soon as I get it accepted at pyowm

@@ -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"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo ("spee" -> "speed")

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noted.

@camponez
Copy link
Author

camponez commented Feb 2, 2019

The change got merged into pyowm.

May need to wait until next release (>2.10.0) to get merged

@calzoneman
Copy link
Owner

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.

@camponez
Copy link
Author

camponez commented Feb 9, 2019

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. :/

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

Successfully merging this pull request may close these issues.

2 participants