Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Commit

Permalink
Update basemap.py
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbailey committed Oct 10, 2015
1 parent 474350c commit 4ac75cd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions basemap.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from mpl_toolkits.basemap import Basemap
from matplotlib import pyplot
import numpy as np
'''
import CoreLocation
manager = CoreLocation.CLLocationManager.alloc().init()
Expand All @@ -12,9 +13,10 @@
else:
coord = loc.coordinate()
lat, lon = coord.latitude, coord.longitude

//def convert_to_decimal(degrees, arcminutes, arcseconds):
// return float(degrees + arcminutes/60. + arcseconds/3600.)
'''
#def convert_to_decimal(degrees, arcminutes, arcseconds):
# return float(degrees + arcminutes/60. + arcseconds/3600.)
lat, lon = 0,0

m = Basemap(projection='merc',llcrnrlat=-80,urcrnrlat=80,llcrnrlon=-180,urcrnrlon=180,lat_ts=20,resolution='c')

Expand Down

0 comments on commit 4ac75cd

Please sign in to comment.