Re: Problem with WRF Diagnostics in current NCL version

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Aug 25 2010 - 11:45:53 MDT

Hi Manisha,

As another quick test, you can type:

grep cape_3d $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl

to see your version of WRFUserARW.ncl recognizes this variable. You should see output like this:

  if( any( variable .eq. (/"cape_3d","cape_2d"/) ) ) then
       if( variable .eq. "cape_3d" ) then
         cape = wrf_cape_3d( P, tk, QV, z, HGT, PSFC, True )

If you have V5.2.1 and are still getting this message, then you need to make sure
that your NCARG_ROOT is pointing to the 5.2.1 version, and not some older
version of NCL.

--Mary

On Aug 25, 2010, at 9:36 AM, Adam Phillips wrote:

> Hi Manisha,
> Looking at the wrf_user_getvar documentation:
> http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_getvar.shtml
> It states that the cape_3d diagnostic is available from NCL version
> 5.1.0 onward. What version of NCL are you running? Type "ncl -V". If
> your version predates 5.1.0 you will have to update your version of ncl.
> If you are running a newer version of NCL let the group know that this
> didn't solve your issue...
> Adam
>
>
> On 08/25/2010 09:25 AM, Manisha Ganeshan wrote:
>> Hi,
>>
>> I am trying to run a script in the current version of NCL (5.2.1) using
>> the 'wrf_user_getvar' function to calculate 'cape_3d'.
>> Unfortunately, I get an error message as follows:
>>
>> /fatal:Either file (nc_file) isn't defined or variable (cape_3d) is not
>> a variable in the file
>> fatal:Execute: Error occurred at or near line 543 in file
>> $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
>>
>> fatal:Execute: Error occurred at or near line 12 in file cin.ncl
>>
>> /Could you please let me know the reason for the same, and how can I
>> rectify it?
>>
>> Thank You,
>> Manisha
>>
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> --
> __________________________________________________
> Adam Phillips
> asphilli@ucar.edu
> National Center for Atmospheric Research tel: (303) 497-1726
> Climate and Global Dynamics Division fax: (303) 497-1333
> P.O. Box 3000
> Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Aug 25 11:46:03 2010

This archive was generated by hypermail 2.1.8 : Wed Aug 25 2010 - 11:50:26 MDT