wttr.in/lib
Jason Dusek c7cb67f841
Ensure M enables metric
It seems reasonable, per the documentation (under the section, "Weather Units"), that `?M` would enable metric ("metric (SI), but show wind speed in m/s") all by itself.

> By default the USCS units are used for the queries from the USA and the metric system for the rest of the world. You can override this behavior...
> ...
> `curl wttr.in/Amsterdam?M`  # metric (SI), but show wind speed in m/s

In the USA, we have to pass `?m&M` (`https://wttr.in/?m&M`) to get metric and meters/second. If we just pass `?M`, we get USCS units for everything else and windspeed in meters/second.
2022-05-15 11:30:56 -05:00
..
datasource Add AQI sites to the datasources list (#49) 2021-10-31 13:20:10 +01:00
fmt Improve support for inverted mode for PNG 2021-04-05 14:02:08 +02:00
view Make v2d use WEATHER_SYMBOL_WI_DAY 2022-01-06 04:31:29 +07:00
airports.py added lib/airports.py 2020-02-16 19:41:40 +01:00
buttons.py updated twitter button 2020-03-31 21:05:59 +02:00
cache.py cache signature location handling fixed (#460, #466) 2020-06-09 08:25:11 +02:00
constants.py Add mg_MG 2021-10-28 21:44:29 +03:00
extract_emoji.py added lib/extract_emoji.py 2020-04-03 20:27:00 +02:00
fields.py README: Document Prometheus format output 2020-06-13 11:32:45 +02:00
globals.py Add httpx to plain-text agents (#707) 2022-03-26 19:32:19 +01:00
limits.py added lib/limits.py (from cheat.sh) 2018-10-05 20:37:46 +02:00
location.py Fix minor errors 2021-10-31 21:56:50 +01:00
metno.py initial metno implementation 2020-10-08 16:24:19 -07:00
parse_query.py Ensure M enables metric 2022-05-15 11:30:56 -05:00
translations.py add Marathi messages 2021-12-25 19:54:01 +09:00
translations_v2.py add Marathi translator name, v2 words, locale 2021-12-25 20:29:04 +09:00
weather_data.py initial v2 format implementation (fixes #332) 2019-08-25 20:39:22 +02:00
wttr_srv.py Fix minor errors 2021-10-31 21:56:50 +01:00