<div dir="ltr"><div class="gmail_default" style="font-size:small">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.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Is there a reason you need the file to be in NetCDF format?  </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 2, 2018 at 9:18 PM, Kunal Bali <span dir="ltr"><<a href="mailto:kunal.bali9@gmail.com" target="_blank">kunal.bali9@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Dear NCL users,<div><br></div><div>I am trying to convert the attached .shp file to netcdf using </div><div><span style="font-family:Menlo"><b><font color="#ff0000">ncl_convert2nc</font><font color="#000000"> </font><font color="#0000ff">fire_archive_M6_21901.shp</font></b></span></div><div><p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">but it's giving an error message</span></p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">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</span></p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">
</span></p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">fatal:["Execute.c":8640]:<wbr>Execute: Error occurred at or near line 531 in file /var/folders/7n/<wbr>9l1fjdyx2956wzlwj8tlnbmr0000gn<wbr>/T/tmp64062-5bb43397.ncl</span></p><div><div dir="ltr" class="m_-7294554214751855514gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div><br></div><div>if you have any information on that please share with me</div><div><br></div><div>Thank You.</div><div>---<br></div><div><font size="2"><span>Kunal Bali<br></span></font></div><div><br></div><div><b><br></b></div><div><br></div><div><p style="margin:0px;border-collapse:collapse;font-family:Tahoma,Verdana;font-size:12px"><font color="#1F497D"><br></font></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>