diff --git a/lib/nexrad/station.py b/lib/nexrad/station.py index 4673ae9..a09dbe1 100644 --- a/lib/nexrad/station.py +++ b/lib/nexrad/station.py @@ -73,5 +73,5 @@ class Station(): db.execute(sql, ( self.wban, self.call, self.name, self.site_elevation, self.tower_height, - self.coord.lat, self.coord.lon + self.coord.lon, self.coord.lat )) diff --git a/lib/nexrad/storm.py b/lib/nexrad/storm.py index 3fe57d6..f2c07e9 100644 --- a/lib/nexrad/storm.py +++ b/lib/nexrad/storm.py @@ -129,7 +129,7 @@ class StormReport(): print(sql) - st = db.execute(sql, (self.coord_start.lat, - self.coord_start.lon))) + st = db.execute(sql, (self.coord_start.lon, + self.coord_start.lat))) return st.fetchone()