<div dir="ltr"><div>Hi,</div><div><br></div><div>I can't find anywhere in the source code where such an error message would arise. Is that a literal copy/paste of the error?</div><div><br></div><div>Rick</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 24, 2021 at 10:03 AM Micah Sklut via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi NCL Talk, <div><br></div><div>I'm using write_table to output a large amount of data to file. </div><div>Here's the output statement: </div><div><br></div>alist = [/latPoints,lonPoints,hsString,perString,dirString,winduString,windvString,phs1String,phs2String,phs3String,phs4String,phs5String,phswindString,pdir1String,pdir2String,pdir3String,pdir4String,pdir5String,pdirwindString,ptp1String,ptp2String,ptp3String,ptp4String,ptp5String,ptpwindString/]<br><br>write_table("outf_data.txt","w",alist,"%6.3f,%6.3f,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s");<div><br></div><div>I'm getting the following message:</div><div><br></div>*** buffer overflow detected ***: ncl terminated<br>Aborted<div><br></div><div>When I reduce the string lengths of the variables, then I don't get this error, so I"m guessing I"m running into an NCL string length maximum? </div><div><br></div><div>Any suggestions on how to get around this problem? </div><div><br></div><div>Thank you. <br><div><br><div>-- <br><div dir="ltr">Micah Sklut<br><br></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>