Hi Erica,
What ncl version are you running? (type "ncl -V") According to the
ncl_convert2nc documentation:
http://www.ncl.ucar.edu/Document/Tools/ncl_convert2nc.shtml
shapefile support started in 5.1.1, but was not available on all
systems.. Adam
On 11/16/2010 01:10 PM, Erica Bickford wrote:
> HI There,
>
> I'm attempting to use ncl_convert2nc to convert some ESRI shapefiles (.shp) to netcdfs, however I get the following error saying .shp is not supported:
>
> fatal:An internal error has occurred. The file format requested does not appear to be supported, could not open (./FAF_2005_Jan_day_upmw_diesel.shp)
> fatal:_NclIGetFileVarNames: file does not exist
> fatal:Execute: Error occurred at or near line 227 in file /tmp/tmp85899.ncl
>
> Yet, from what I can glean from the ncl_talk archives and release notes, shapefiles should be supported as of version 5.2.0--which is the version I'm using.
>
> Does anyone have an explanation or solution for this? Is there a way to convert a .shp to .grb for use with ncl_convert2nc?
>
> I've already been through this with ArcGIS--which *should* convert tables to netcdf, but doesn't work in practice.... I've read that gdal is a good/the only way to convert between these file types, but it'd be great not to have to install and learn another software package....
>
> Thanks,
>
> Erica
> UW-Madison
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- __________________________________________________ Adam Phillips asphilli@ucar.edu National Center for Atmospheric Research tel: (303) 497-1726 Climate and Global Dynamics Division fax: (303) 497-1333 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Tue Nov 16 14:02:06 2010
This archive was generated by hypermail 2.1.8 : Wed Nov 17 2010 - 13:14:26 MST