7 Commits

Author SHA1 Message Date
James Lu
31c97a646b NuWeather: update temperature colour scheme 2023-02-12 16:08:31 -08:00
James Lu
3ca6f3c973 NuWeather: minor cleanup 2022-06-19 15:21:28 -07:00
James Lu
753619c513 NuWeather: refactor formatter config reading & test setup 2022-06-19 11:45:47 -07:00
James Lu
96ecf283fe NuWeather: use more precise mi/km conversion 2022-05-25 15:10:21 -07:00
James Lu
58e85f3532 NuWeather: add WWIS backend
Closes #94.

WWIS uses a predetermined list of locations and doesn't provide a search facility of its own - instead we geocode the input location and find the closest city with data using a Haversine algorithm
2022-05-24 21:16:01 -07:00
James Lu
05b15b0111 NuWeather: implement configurable unit display for distance and speed
This is implemented as two new options using simple templates: plugins.nuweather.units.distance and plugins.nuweather.units.speed

Closes #101.
Closes #97.
2022-05-24 13:29:47 -07:00
James Lu
cb49620a2d NuWeather: split formatting another module; implement format_temp with only c input 2022-05-24 12:56:08 -07:00