# Re: calculating prevailing wind direction?

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed Oct 12 2011 - 14:21:19 MDT

From wind speed and direction
(meteorological wind direction (wdir): eg E=90, S=180, W=270)
(1) calculate u and v
u = -wspd*sin(wdir)
v = -wspd*cos(wdir)

(2) calculate the monthly mean of each wind component:
uave, vave

(3) transform to wspd and wdir
WSPD = sqrt(uAve^2+vAve^2)
WDIR = atan2(uAve,vAve)/rad +180. ; mean wind direction [0,360]

Good Luck
On 10/12/11 2:07 PM, Ufuk Utku Turuncoglu (BE) wrote:
> Hi,
>
> I just wonder that is there anybody calculate the monthly prevailing
> wind direction from hourly wind direction data. I have both wind
> direction (like N, NNE, SE etc.) and speed. What do you suggest?
>
> Regards,
>
> --ufuk
> _______________________________________________
> 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 Oct 12 14:21:26 2011

This archive was generated by hypermail 2.1.8 : Wed Oct 12 2011 - 15:59:45 MDT