Basemap no longer works for me

I installed basemap 0.7 and 0.7.2 both gave the same error across projections that worked in basemap 0.6.
I am running matplotlib 0.84, basemap 0.72, OS X 10.3.9, python 2.3. Does basemap 0.7.2 require 2.4 ?

--Jim

The error:

In [8]: m = Basemap(llcrnrlon=-119,llcrnrlat=22,urcrnrlon=-64,urcrnrlat=49,projection='lcc',lat_1=33,lat_2=45,lon_0=-95)

···

---------------------------------------------------------------------------
exceptions.IndexError Traceback (most recent call last)

/Volumes/IBM1/python/matplotlibWork/<console>

/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/matplotlib/toolkits/basemap/basemap.py in __init__(self, llcrnrlon, llcrnrlat, urcrnrlon, urcrnrlat, projection, resolution, area_thresh, rsphere, lat_ts, lat_1, lat_2, lat_0, lon_0, lon_1, lon_2, suppress_ticks, ax)
     389 linesplit = line.split()
     390 if line.startswith('>'):
--> 391 west,east,south,north = float(linesplit[7]),float(linesplit[8]),float(linesplit[9]),float(linesplit[10])
     392 useit = self.latmax>=south and self.latmin<=north
     393 if useit: cntrysegind.append(len(cntrylons))

IndexError: list index out of range

James Boyle wrote:

I installed basemap 0.7 and 0.7.2 both gave the same error across projections that worked in basemap 0.6.
I am running matplotlib 0.84, basemap 0.72, OS X 10.3.9, python 2.3. Does basemap 0.7.2 require 2.4 ?

--Jim

Jim: The format of the data files has changed - install the basemap-data package and all will be well.

-Jeff

···

--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/CDC R/CDC1 Email : Jeffrey.S.Whitaker@...259...
325 Broadway Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg