Re: question about wrf_user_getvar

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed, 18 Mar 2009 07:46:01 -0600

Hi,

Please see:

http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_getvar.shtml

for a list of quantities that you can retrieve using wrf_user_getvar.
"U" and "V" are not in this list.

If you are just trying to get U and V off the file, you can do this
directly:

   U = a->U
   V = a->V

--Mary

On Mar 18, 2009, at 5:42 AM, yinjinfang88 wrote:

>
>
> Hi ,
>
> I am confused when I try to plot with wrfout(a
> example data from wrf
> website :wrfout_d01_2000-01-24_12.nc ) .
> I want to get some variables via function
> "wrf_user_getvar()" as fellow,
> u = wrf_user_getvar(a,"ua",it) ; u averaged to mass points
> v = wrf_user_getvar(a,"va",it) ; v averaged to mass points
>
> It works well. But I can't find any variable called
> "ua" and "va" in this file by "" ncdump -h
> wrfout_d01_2000-01-24_12.nc ".
>
> Only to find two variables called "U" and "V". So I
> try to use
>
> u = wrf_user_getvar(a,"U",it) ; u averaged to mass points
> v = wrf_user_getvar(a,"V",it) ; v averaged to mass points
>
>
> to get "U" and "V".
>
> It dose not work . There is a error saying that "U"
> is not a variable.
>
> Thanks for any suggestion!
> 2009-03-18
> yinjinfang88
> _______________________________________________
> 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 Mar 18 2009 - 07:46:01 MDT

This archive was generated by hypermail 2.2.0 : Wed Mar 18 2009 - 14:50:21 MDT