[ncl-talk] Problem adding shapefile

Soumik Basu sbasu at alaska.edu
Thu Dec 5 14:33:35 MST 2019


Hi,

I am trying to add a shapefile to a wrf contour map plot. For some reason I
could not read the .shp file with ncl. I am attaching the code I am using.
I have all of them in the same directory as the NCL code like it said in
the shapefile examples. I downloaded the shapefiles for Canada from gadm.org
website.

Can anybody please tell me what am I doing wrong to read the shapefile.

warning:_NclOpenFile: Can not open file <gadm36_CAN_3.shp>; file format not
supported or file is corrupted
(0) Error: gsn_add_shapefile_polylines: Can't open shapefile
'gadm36_CAN_3.shp'
(0)       No shapefile information will be added.
I can open the shapefile with QGIS so nothing is wrong with it most likely.

Thanks,
Soumik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20191205/8103f528/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: edmonton_temp_shapefile.ncl
Type: application/octet-stream
Size: 5437 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20191205/8103f528/attachment.obj>


More information about the ncl-talk mailing list