Re: divergence functions

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed Jan 30 2013 - 10:37:03 MST

 From the fortran code that was sent to you offline from ncl-talk

       re = 6.37122e06
       rad = 4.*atan(1.)/180.
       rcon = re*rad
==================

re is in meters.

This is propogated thru the computations.

The final units are 1/sec

=====================
Note: this function assume a rectilinear grid.
It will not work for WRF or NARR grids which are curvilinear.

On 01/30/2013 10:20 AM, Fiaz Ahmed wrote:
>
> How does ncl handles the units in divergence calculations? For example
> in the function documentation for uv2dv_cfd:
>
>
> dv(j,i) = (v(j+1,i)-v(j-1,i))/dy2(j) + (u(j,i+1)-u(j,i-1))/dx2(j) -
> (v(j,i)/a)*tan(phi(j))
>
> If u and v are in m/s, does ncl ensure that dy2 and dx2 are in metres?
>
> Thanks
>
>
>
>
> --
> Fiaz Ahmed
> Graduate Research Assistant
> Department of Atmospheric Sciences
> Texas A&M University
>
> fiaz.500@tamu.edu <mailto:fiaz.500@tamu.edu>
>
>
> _______________________________________________
> 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 30 10:37:14 2013

This archive was generated by hypermail 2.1.8 : Fri Feb 01 2013 - 15:31:04 MST