Private
Public Access
1
0

bug in metar

This commit is contained in:
Sander Roosendaal
2017-10-17 18:14:13 +02:00
parent f83a493a93
commit 99e7ecba43
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ def get_weather_data(long,lat,unixtime):
def get_metar_data(airportcode,unixtime):
timestamp = arrow.get(unixtime).isoformat()
print timestamp
url = "https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&startTime="
url += str(unixtime-3600)
url += "&endTime="