[ncl-talk] shape file_to_netcdf

Mary Haley haley at ucar.edu
Thu Oct 4 12:24:01 MDT 2018


ncl_convert2nc  doesn't support the conversion of shapefiles to NetCDF.
Part of the reason is because shapefiles contain ragged arrays, which are
not easily representable in NetCDF format.

Is there a reason you need the file to be in NetCDF format?

On Tue, Oct 2, 2018 at 9:18 PM, Kunal Bali <kunal.bali9 at gmail.com> wrote:

> Dear NCL users,
>
> I am trying to convert the attached .shp file to netcdf using
> *ncl_convert2nc fire_archive_M6_21901.shp*
>
>
> but it's giving an error message
>
> fatal:FileAddVar: an error occurred while adding variable <ACQ_DATE> to
> file <fire_archive_M6_21901>, check to make sure data type is supported by
> the output format
>
> fatal:["Execute.c":8640]:Execute: Error occurred at or near line 531 in
> file /var/folders/7n/9l1fjdyx2956wzlwj8tlnbmr0000gn
> /T/tmp64062-5bb43397.ncl
>
>
> if you have any information on that please share with me
>
> Thank You.
> ---
> Kunal Bali
>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181004/b492b334/attachment.html>


More information about the ncl-talk mailing list