<div dir="ltr"><div class="gmail_default" style="font-size:small">It sounds like the CSV file wasn't downloaded properly, or there's something wrong with your version of NCL.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I've attached the data file, and a modified version of the csv_8.ncl script, which does some error checking.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Please run this script with this data file, and send email back to ncl-talk with the results.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 30, 2015 at 9:01 AM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">csv_8_ncl works fine under 6.3.0<br>
<br>
=========<br>
What versions of NCL are you using?<br>
<br>
ncl -V<br>
<br>
Also<br>
<br>
uname -a<br>
<br>
=========<br>
<br>
%> ncl csv_8.ncl<br>
<br>
Copyright (C) 1995-2015 - All Rights Reserved<br>
University Corporation for Atmospheric Research<br>
NCAR Command Language Version 6.3.0<br>
The use of this software is governed by a License Agreement.<br>
See <a href="http://www.ncl.ucar.edu/" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<br>
<span class="">(0) =====<br>
(0) fldstr=MMXT corresponds to field number 22<br>
(0) =====<br>
</span>(0) WILLISTON SLOULIN FIELD INTERNATIONAL AIRPORT ND US : 194904 : 64.3<br>
(1) WILLISTON SLOULIN FIELD INTERNATIONAL AIRPORT ND US : 194905 : 70.9<br>
<br>
[snip]<br>
<br>
(779) WILLISTON SLOULIN FIELD INTERNATIONAL AIRPORT ND US : 201403 : 37<br>
(780) WILLISTON SLOULIN FIELD INTERNATIONAL AIRPORT ND US : 201404 : 53.6<br>
(781) WILLISTON SLOULIN FIELD INTERNATIONAL AIRPORT ND US : 201405 : 68.2<br>
(782) WILLISTON SLOULIN FIELD INTERNATIONAL AIRPORT ND US : 201406 : 74.4<br>
(783) WILLISTON SLOULIN FIELD INTERNATIONAL AIRPORT ND US : 201407 : 84.7<br>
<div><div class="h5"><br>
<br>
On Thu, Oct 29, 2015 at 10:18 PM, Adv <<a href="mailto:advita6@gmail.com">advita6@gmail.com</a>> wrote:<br>
> Hi Ncl user,<br>
> I am trying to run this code.<br>
> <a href="https://www.ncl.ucar.edu/Applications/Scripts/csv_8.ncl" rel="noreferrer" target="_blank">https://www.ncl.ucar.edu/Applications/Scripts/csv_8.ncl</a><br>
> It prints following error. Could someone help me fix this bug?<br>
> (0) =====<br>
> (0) fldstr=MMXT corresponds to field number 22<br>
> (0) =====<br>
> warning:toint: A bad value was passed (string); input strings must contain<br>
> numeric digits, replacing with missing value<br>
> (0) missing : -2147483647 : -999.9<br>
> (0) =====<br>
> fatal:CheckArray:Each vector in the caXArray array must have at least 2<br>
> elements<br>
> fatal:CoordArraysInitialize:caXArray resource is invalid<br>
> fatal:Unable to initialize layer-Can't Create<br>
> fatal:Unable to access object with id:-4<br>
> fatal:PID #-4 can't be found in NhlSetValues<br>
> fatal:PID #-4 can't be found in NhlSetValues<br>
> fatal:Unable to access object with id:-4<br>
> warning:Unable to add DataItem "(null)" to DataList "xyCoordData"<br>
> fatal:CompileDataList:DataList has no valid members<br>
> fatal:Unable to access object with id:-4<br>
> warning:Unable to add DataItem "(null)" to DataList "xyCoordData"<br>
> fatal:CompileDataList:DataList has no valid members<br>
> warning:TransInitialize: Zero X coordinate span: defaulting:[errno=1104]<br>
><br>
> Thank you,<br>
> Adv<br>
><br>
</div></div>> _______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
><br>
_______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br></div>