diff --git a/trunk/metpy/readers/mesonet.py b/trunk/metpy/readers/mesonet.py
index <HASH>..<HASH> 100644
--- a/trunk/metpy/readers/mesonet.py
+++ b/trunk/metpy/readers/mesonet.py
@@ -394,7 +394,7 @@ if __name__ == '__main__':
         #Optionally plot a counties shapefile
         mapfile = os.path.join(os.environ['HOME'], 'mapdata', 'c_03oc08.shp')
         if os.path.exists(mapfile):
-            m.readshapefile(mapfile, 'counties', zorder=0)
+            m.readshapefile(os.path.splitext(mapfile)[0], 'counties', zorder=0)
 
         plt.title(data['datetime'][0].strftime('%H%MZ %d %b %Y'))
     else:
Need to remove the .shp extension when trying to load a shapefile with basemap.

git-svn-id: <URL>