[ncl-talk] Sub: Error

Dennis Shea shea at ucar.edu
Fri Oct 30 12:10:49 MDT 2015


Please *always* respond to ncl-talk at ucar.edu [cc'd here]. Not to an
individual person.

---
What does the following return?

uname -a

---
I can run csv_{7/8).ncl on 3 different systems with no problem: data
and plots are fine!

===

Not sure of your issue.  There are no line numbers associated with the
error messages.
NCL usually provides that information.

===

The 'caXArray' are graphics related.

I suggest you put print statements to isolate any errors

print("debug 1")

print("before sdat")

print("before yyyymm")



On Fri, Oct 30, 2015 at 11:07 AM, Adv <advita6 at gmail.com> wrote:
> Hi ,
> Ncl version is 6.3.0
> This script also gives same kind of error.
>
> https://www.ncl.ucar.edu/Applications/Scripts/csv_7.ncl
>
> Could someone help me to fix this?
>
> Thank you
> Adv
>
> On Fri, Oct 30, 2015 at 10: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
>> >
>
>


More information about the ncl-talk mailing list