Re: atan2

From: Stephan Herrmann <stephan.w.herrmann_at_nyahnyahspammersnyahnyah>
Date: Wed Jan 08 2014 - 14:16:54 MST

Hello everybody,

 

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 when I use the function to compute the wind direction?

 

 

Best regards

 

Stephan

 

 

 

-----Original-Nachricht-----

Betreff: Re: [ncl-talk] atan2

Datum: Wed, 08 Jan 2014 15:51:29 +0100

Von: Dennis Shea <shea@ucar.edu>

An: Stephan Herrmann <stephan.w.herrmann@t-online.de>, ncl-talk@ucar.edu

 

 

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 14:17:18 2014

This archive was generated by hypermail 2.1.8 : Tue Jan 21 2014 - 15:57:30 MST