weathercom shows no data if set to imperial
See original GitHub issueI live in the US and if I give the location code, the temp shows as C instead of F. If I add “units=imperial” then no data shows at all.
Debug log shows the data but nothing shows in i3pystatus bar.
Here is that part of my config:
backend=weathercom.Weathercom(
location_code='USNC0314:1:US',
units='imperial'
update_error='<span color="#ff0000">|</span>',
log_level=logging.DEBUG
)
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Frequently Asked Questions
How do I get more data if I don't want to use Facebook to log in? How do I view the radar map?...
Read more >Сurrent weather and forecast - OpenWeatherMap
Historical weather data for 40 years back for any coordinate. ... Interactive maps show precipitation, clouds, pressure, wind around your location.
Read more >Feature availability and data sources in the Weather app
Learn more about regional availability and data sources for features in the Weather app. The Weather app includes a number of features that ......
Read more >Yahoo.com - weather.com alternative
As far as I can test, Yahoo always returns Imperial values (I did not see a way to force Metric in the parse)...
Read more >Switching between temperature units
To get data in API for both current weather and forecast in Fahrenheit just add units=imperial parameter into your API call like in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Well, did a fresh git clone and copied files over and it now works.
Thanks!
USNC0314:1:US
works for me.Like I said earlier, Weather.com changed the structure of their JSON weather data a couple weeks ago, so I added bfdff2e to fix this. If you are not running from a recently-updated git clone of i3pystatus, it’s probably not going to work as expected.