mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-05 17:32:02 +02:00
Update locationdata.py
didnt like this
This commit is contained in:
@@ -812,11 +812,8 @@ def checkUSGSEarthQuake(lat=0, lon=0):
|
||||
if quake_count == 0:
|
||||
return NO_ALERTS
|
||||
else:
|
||||
if use_metric:
|
||||
return f"{quake_count} 🫨quakes in last {history} days within {radius} km. Largest: {largest_mag}M\n{description_text}"
|
||||
else:
|
||||
radius = round(radius * 0.621371)
|
||||
return f"{quake_count} 🫨quakes in last {history} days within {radius} mi. Largest: {largest_mag}M\n{description_text}"
|
||||
return f"{quake_count} 🫨quakes in last {history} days within {radius} km. Largest: {largest_mag}M\n{description_text}"
|
||||
|
||||
|
||||
howfarDB = {}
|
||||
def distance(lat=0,lon=0,nodeID=0, reset=False):
|
||||
|
||||
Reference in New Issue
Block a user