Re: str_lower problem in NCL script!

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 15 Oct 2009 01:06:14 -0600 (MDT)

Hi Raza,

The str_lower and other str functions were added in version 5.1.1 of
NCL, which is the latest version. You would need to download this
version if you are using the latest version of WRFUserARW.ncl.

It sounds like you might be mixing versions of NCL on your system.
For example, you are running an older version of NCL, but your
NCARG_ROOT might be pointing to a newer directory. You can see what
version you have by typing:

    ncl -V

and then make sure that this command:

   which ncl

returns the path represented by $NCARG_ROOT/bin.

I've attached an older version of "changeCase" that doesn't
depend on str_lower or str_switch, if you want to give it a try.
After your line:

load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"

add the line:

load "./changeCase.ncl"

and try your script. I'm not sure this is going to work, however,
because I think there are other new functions being used in this
script as well.


On Thu, 15 Oct 2009, Mirza C. Raza wrote:

> Dear Sir
> Good Day!
> I am nowadays working on WRF 3.1 for precipitation prediction. I am using the example script of wrf_Height_Final.ncl. But when I run the script it giving the following error. I did my best to fix this error but I am unsuccessful. I would be deeply grateful if you can plz help me for this problem. The all required files have been attached also.
> ERROR is as follows:
> (0) convert -depth 8 -rotate -90 -density 144 /home/crm/WRF/WRFV3/test/em_real/tmp/ tiff:/home/crm/
> WRF/WRFV3/test/em_real/tmp/tiffcap3_0002.tiff
> (0) changeCase: this function has been deprecated.
> (0) Will use str_lower or str_upper.
> fatal:Undefined identifier: (str_lower) is undefined, can't continue
> fatal:Execute: Error occurred at or near line 872 in file $NCARG_ROOT/
> lib/ncarg/nclscripts/csm/contributed.ncl
> fatal:Execute: Error occurred at or near line 470 in file wrf2geotiff.
> ncl
> fatal:Execute: Error occurred at or near line 121 in file wrf_Height_
> Final.ncl
> Waiting for your kind reply!
> Best regards
> Raza

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:

Received on Thu Oct 15 2009 - 01:06:14 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 15 2009 - 09:30:48 MDT