[ncl-install] the error message from phillip

Mary Haley haley at ucar.edu
Mon Nov 16 16:25:31 MST 2009


Phillip,

It looks like the problem is that you are mixing versions of NCL on  
your system.

The actual "ncl" executable you're running is at V5.1.0, but you have  
NCARG_ROOT
set to /home/naishi/NCL5.1.1_VERSION.

I think you just need to make sure /home/naishi/NCL5.1.1_VERSION/bin  
is on your
search path *before* /usr/local/bin, and you should be set.

Look in your home directory to see which file you are setting your  
"path" in:

     cd
     grep -i path .*

If you see something that looks like this:

     set path=(/some/path  /some/other/path /another/path)

or like this:

export PATH=/some/path:/some/other/path:/another/path

then add /home/naishi/NCL5.1.1_VERSION/bin to the front of it:

     set path=(/home/naishi/NCL5.1.1_VERSION/bin /some/path  /some/ 
other/path /another/path)


Logout and log back in, and type:

   ncl -V
   which ncl

to see if it gets V5.1.1 of NCL this time.

--Mary


On Nov 16, 2009, at 12: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