Re: atan2

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed Jan 08 2014 - 07:51:29 MST

If the u and v are on the Arakawa-C-grid, the answer is "yes"

FYI:

there is a function to compute the wind direction
 
https://www.ncl.ucar.edu/Document/Functions/Contributed/wind_direction.shtml

also, the inverse
 
https://www.ncl.ucar.edu/Document/Functions/Contributed/wind_component.shtml

On 1/8/14, 7:37 AM, Stephan Herrmann wrote:
> Hello everybody,
>
> I want to calculate the meteorological wind direction given the zonal (u) and meridional (v) wind components with the following formula
>
> wind direction = (180/pi) * atan2(u,v) + 180
>
> The zonal (u) and meridional (v) wind components were simulated with the regional climate model REMO and are defined at the edge of the grid box. Is it necessary to interpolate the zonal (u) and meridional (v) wind components so that they are defined in the middle of the grid box?
>
>
> Best regards
>
> Stephan
>
>
> _______________________________________________
> 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 Jan 8 07:51:39 2014

This archive was generated by hypermail 2.1.8 : Sun Jan 19 2014 - 21:56:35 MST