Shapefile Example Not Working

From: Illston, Bradley G. <illston_at_nyahnyahspammersnyahnyah>
Date: Mon Apr 19 2010 - 17:15:41 MDT

Greetings,

I have been trying to get shapefiles to load into NCL and have been unsuccessful. I decided to just try and duplicate on of the examples you have on the website.

http://www.ncl.ucar.edu/Applications/Scripts/shapefiles_3.ncl

I am using that script unaltered and I have downloaded/gunzip/untarred the shapefile data from the given website. When I run the script, I get the following output:

Copyright (C) 1995-2009 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 5.1.1
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.
fatal:An internal error has occurred. The file format requested does not appear to be supported, could not open (sa_str.shp)
fatal:Either file (f) isn't defined or variable (segments) is not a variable in the file
fatal:Execute: Error occurred at or near line 37 in file ncl_Shapefile.ncl

As you can see, I am running NCL v5.1.1, which chould support shapefiles. I am running the following system:

"Linux {server name} 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:56:28 EST 2006 x86_64 x86_64 x86_64 GNU/Linux"

Can you provide any guidance on how to open a basic shapefile and overlay that onto my plotted data?

Thanks,
Brad Illston
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Apr 19 17:16:03 2010

This archive was generated by hypermail 2.1.8 : Fri Apr 23 2010 - 14:40:07 MDT