[ncl-install] the error message from phillip

guangshan chen gchen9 at gmail.com
Mon Nov 16 12:15:56 MST 2009


Hi Phillip,

The error for you is that ncl read one missing value from the data file. This is because that there is a blank line in my data file. (if you ask the same help from me).

Here is the solution:
using vi to edit you data file, and delete the last line. Both the scripts that I sent 
to you should work.

Guangshan



On Nov 16, 2009, at 1:02 PM, Phillip Lin wrote:

> Hi Mary,
> Based on your last email, I checked all the questions you asked me as
> follows, please have a check!
> 
> 
>> Phillip,
>> 
>> The script works just fine for me when I use either 5.1.0, 5.1.1, or
>> the most recent, unreleased version.
>> I also don't get any error messages.
>> 
>> Can you forward me the output from *all* of the following:
>> 
>>    ncl -V
> 
> -----------------------------
> 5.1.0
> -----------------------------
>>    which ncl
> -------------------------
> /usr/local/bin/ncl
> -------------------------
> 
> 
>>    printenv NCARG_ROOT
> -----------------------------
> 
> /home/naishi/NCL5.1.1_VERSION
> 
> -----------------------------
>>     env | grep NCL
> -----------------------------
> MANPATH=/opt/intel/Compiler/11.0/083/man:/opt/intel/Compiler/11.0/083/mkl/man/en_US:/opt/intel/Compiler/11.0/083/man:/opt/intel/Compiler/11.0/083/mkl/man/en_US:/opt/sourcenav/man:/home/naishi/NCL4.3.0/man
> PATH=./:/opt/intel/Compiler/11.0/083/bin/intel64:/opt/intel/Compiler/11.0/083/bin/intel64:/opt/sourcenav/bin:/home/naishi/NCL4.3.0/man:/home/naishi/NCL4.3.0/bin:./:/opt/intel/Compiler/11.0/083/bin/intel64:/opt/intel/Compiler/11.0/083/bin/intel64:/opt/sourcenav/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/home/naishi/bin
> PWD=/home/naishi/NCL5.1.1_VERSION
> NCARG_ROOT=/home/naishi/NCL5.1.1_VERSION
> NCLPROCEDURE=/home/naishi/NCL_SCRIPTS/procedures
> INCLUDE=/opt/intel/Compiler/11.0/083/ipp/em64t/include:/opt/intel/Compiler/11.0/083/mkl/include:/opt/intel/Compiler/11.0/083/ipp/em64t/include:/opt/intel/Compiler/11.0/083/mkl/include:/opt/intel/Compiler/11.0/083/ipp/em64t/include:/opt/intel/Compiler/11.0/083/mkl/include:/opt/intel/Compiler/11.0/083/ipp/em64t/include:/opt/intel/Compiler/11.0/083/mkl/include
> NCL_DEF_LIB_DIR=/home/naishi/NCL_SCRIPTS/shareobjects
> 
> --------------------------------------------------------
> 
>> and then the output from when you run your script. I want to see
>> *all* the warnings and errors you're getting.
> 
> --------------------------------------------------------------------
> Copyright (C) 1995-2009 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 5.1.0
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> warning:Could not open default library path
> (/home/naishi/NCL_SCRIPTS/shareobjects), no libraries loaded.
> warning:A bad value was passed to stringtofloat, input strings must
> contain numeric digits, replacing with missing value
> warning:A bad value was passed to stringtofloat, input strings must
> contain numeric digits, replacing with missing value
> warning:A bad value was passed to stringtofloat, input strings must
> contain numeric digits, replacing with missing value
> 
> 
> Variable: x
> Type: float
> Total Size: 32 bytes
>            8 values
> Number of Dimensions: 1
> Dimensions and sizes:   [8]
> Coordinates:
> Number Of Attributes: 1
>  _FillValue :  -999
> (0)      1
> (1)      2
> (2)      3
> (3)      4
> (4)      5
> (5)      6
> (6)      7
> (7)     -999
> 
> 
> Variable: y1
> Type: float
> Total Size: 32 bytes
>            8 values
> Number of Dimensions: 1
> Dimensions and sizes:   [8]
> Coordinates:
> Number Of Attributes: 1
>  _FillValue :  -999
> (0)      6
> (1)      8
> (2)     10
> (3)     12
> (4)     14
> (5)     16
> (6)     18
> (7)     -999
> 
> 
> Variable: y2
> Type: float
> Total Size: 32 bytes
>            8 values
> Number of Dimensions: 1
> Dimensions and sizes:   [8]
> Coordinates:
> Number Of Attributes: 1
>  _FillValue :  -999
> (0)      8
> (1)      8
> (2)      8
> (3)      8
> (4)      8
> (5)      8
> (6)      8
> (7)     -999
> (0)     fill_bw_xy: Error: The X array cannot contain any missing values
> --------------------------------------------------------------------------
> 
> The information above are the answers you ask me to give, please help find
> the reason why my plotting doesn't show the color there!
> 
> I am waiting for your response! Thanks indeed!
> Phillip
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install



More information about the ncl-install mailing list