Fwd: Re: Calculate wind speed and bearing from WRF U and V components

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Tue Jun 14 2011 - 08:23:58 MDT

wrfhelp sent the following to me ...

-------- Original Message --------
Subject: Re: [ncl-talk] Calculate wind speed and bearing from WRF U and
V components
Date: Tue, 14 Jun 2011 08:00:21 -0600
From: wrfhelp <wrfhelp@ucar.edu>

Wind speed is just the following
spd = (u_plane*u_plane + v_plane*v_plane)^(0.5) ; m/sec

To plot wind vectors you can do this with "wrf_vector"
Se this example
http://www.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/LEVELS_INTERP/wrf_PressureLevel1.ncl
Note that in this example we also convert to pressure level, which you
do not have to do if you do not want to.

Also - if you plan on plotting the data on a map, then you do not have
to use uvmet, you can just use ua and va.

Hope this helped
wrfhelp
------------------------------------------------------------------------------
http://www.mmm.ucar.edu/wrf/users/supports/wrfhelp.html

On Jun 5, 2011, at 9:18 PM, Dennis Shea wrote:

> This has been forwarded to wrfhelp@ucar.edu <mailto:wrfhelp@ucar.edu>
>
> On 6/5/11 6:12 PM, Phil Howarth wrote:
>> Gday all,
>>
>> What is the "NCL way" to compute the wind speed and bearing angle from U
>> an V components output from WRF.
>>
>> UV = wrf_user_getvar(a,"uvmet",it)
>>
>> U_profile = UV(0,:,index_min(0,0),index_min(0,1))
>> V_profile = UV(1,:,index_min(0,0),index_min(0,1))
>>
>>
>> Regards
>>
>> PHil Howarth
>>
>> ********************************
>> Terrock Pty Ltd
>> Consulting Engineers
>>
>> PO Box 829
>> Eltham, VIC
>> Australia, 3095
>>
>> http://terrock.com.au
>>
>> Ph: +61 3 9431 0033
>> Fax: +61 3 9431 1810
>> ********************************
>>
>>
>>
>> _______________________________________________
>> 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 Tue Jun 14 08:24:07 2011

This archive was generated by hypermail 2.1.8 : Mon Jun 20 2011 - 12:30:20 MDT