[ncl-talk] Sub: Error
Mary Haley
haley at ucar.edu
Sun Nov 1 21:56:57 MST 2015
It sounds like the CSV file wasn't downloaded properly, or there's
something wrong with your version of NCL.
I've attached the data file, and a modified version of the csv_8.ncl
script, which does some error checking.
Please run this script with this data file, and send email back to ncl-talk
with the results.
--Mary
On Fri, Oct 30, 2015 at 9:01 AM, Dennis Shea <shea at ucar.edu> wrote:
> csv_8_ncl works fine under 6.3.0
>
> =========
> What versions of NCL are you using?
>
> ncl -V
>
> Also
>
> uname -a
>
> =========
>
> %> ncl csv_8.ncl
>
> Copyright (C) 1995-2015 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.3.0
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> (0) =====
> (0) fldstr=MMXT corresponds to field number 22
> (0) =====
> (0) WILLISTON SLOULIN FIELD INTERNATIONAL AIRPORT ND US : 194904 : 64.3
> (1) WILLISTON SLOULIN FIELD INTERNATIONAL AIRPORT ND US : 194905 : 70.9
>
> [snip]
>
> (779) WILLISTON SLOULIN FIELD INTERNATIONAL AIRPORT ND US : 201403 : 37
> (780) WILLISTON SLOULIN FIELD INTERNATIONAL AIRPORT ND US : 201404 : 53.6
> (781) WILLISTON SLOULIN FIELD INTERNATIONAL AIRPORT ND US : 201405 : 68.2
> (782) WILLISTON SLOULIN FIELD INTERNATIONAL AIRPORT ND US : 201406 : 74.4
> (783) WILLISTON SLOULIN FIELD INTERNATIONAL AIRPORT ND US : 201407 : 84.7
>
>
> On Thu, Oct 29, 2015 at 10:18 PM, Adv <advita6 at gmail.com> wrote:
> > Hi Ncl user,
> > I am trying to run this code.
> > https://www.ncl.ucar.edu/Applications/Scripts/csv_8.ncl
> > It prints following error. Could someone help me fix this bug?
> > (0) =====
> > (0) fldstr=MMXT corresponds to field number 22
> > (0) =====
> > warning:toint: A bad value was passed (string); input strings must
> contain
> > numeric digits, replacing with missing value
> > (0) missing : -2147483647 : -999.9
> > (0) =====
> > fatal:CheckArray:Each vector in the caXArray array must have at least 2
> > elements
> > fatal:CoordArraysInitialize:caXArray resource is invalid
> > fatal:Unable to initialize layer-Can't Create
> > fatal:Unable to access object with id:-4
> > fatal:PID #-4 can't be found in NhlSetValues
> > fatal:PID #-4 can't be found in NhlSetValues
> > fatal:Unable to access object with id:-4
> > warning:Unable to add DataItem "(null)" to DataList "xyCoordData"
> > fatal:CompileDataList:DataList has no valid members
> > fatal:Unable to access object with id:-4
> > warning:Unable to add DataItem "(null)" to DataList "xyCoordData"
> > fatal:CompileDataList:DataList has no valid members
> > warning:TransInitialize: Zero X coordinate span: defaulting:[errno=1104]
> >
> > Thank you,
> > Adv
> >
> > _______________________________________________
> > ncl-talk mailing list
> > ncl-talk at ucar.edu
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> >
> _______________________________________________
> 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/20151101/c66e4b6c/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 479615.WILLISTON.csv
Type: text/csv
Size: 106055 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151101/c66e4b6c/attachment-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: csv_8.ncl
Type: application/octet-stream
Size: 5088 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151101/c66e4b6c/attachment-0001.obj
More information about the ncl-talk
mailing list