mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-01 22:42:22 +02:00
Update locationdata.py
This commit is contained in:
@@ -234,6 +234,7 @@ def get_NOAAweather(lat=0, lon=0, unit=0):
|
||||
# get weather data from NOAA units for metric unit = 1 is metric
|
||||
if use_metric:
|
||||
unit = 1
|
||||
logger.debug("Location: new API metric units not implemented yet")
|
||||
|
||||
weather_url = "https://forecast.weather.gov/MapClick.php?FcstType=text&lat=" + str(lat) + "&lon=" + str(lon)
|
||||
weather_api = "https://api.weather.gov/points/" + str(lat) + "," + str(lon)
|
||||
|
||||
Reference in New Issue
Block a user