Re: wind divergence

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu Jun 20 2013 - 08:11:06 MDT

The computational code uses
    a = 6.37122e06

You can use the function and *add* the term.

Assuming u(time,lev,lat,lon) => (0,1,2,3)
           v(time,lev,lat,lon)

   phi = lat*0.01745329 ; lat(:)
   PHI = conform(u, phi, 2) ; PHI(:,:,:,:)

   dv = uv2dv_cfd(...) ; dv(:,:,:,:)
   DV = dv + (v/a)*tan(PHI)

On 6/20/13 7:34 AM, Izidine Pinto wrote:
> Hi Dennis,
>
> Thanks for the reply. Yes I looked in the function list and I found
> uv2dv_cdf but it calculates
> divergence as
> dv = Dv/Dy + Du/Dx -(v/a)*tan(phi)
>
> However I wanted to find only
> dv = Dv/Dy + Du/Dx
>
> I wanted to see whats the effect of the third term in my results.
>
> thank you
> Izidine
>
>
>
> On 20 June 2013 15:19, Dennis Shea <shea@ucar.edu> wrote:
>
>> Did you look at the function list?
>> Did you search for 'divergence' ?
>>
>> http://www.ncl.ucar.edu/**Document/Functions/Built-in/**uv2dv_cfd.shtml<http://www.ncl.ucar.edu/Document/Functions/Built-in/uv2dv_cfd.shtml>
>>
>> http://www.ncl.ucar.edu/**Document/Functions/**
>> Contributed/uv2dvF_Wrap.shtml<http://www.ncl.ucar.edu/Document/Functions/Contributed/uv2dvF_Wrap.shtml>
>>
>>
>> On 6/20/13 2:47 AM, Izidine Pinto wrote:
>>
>>> Dear NCL users
>>>
>>> I was wondering if is there a function in NCL to calculate wind divergence
>>> as
>>>
>>> dv = Dv/Dy + Du/Dx
>>>
>>> Thanks
>>>
>>>
>>>
>>> ______________________________**_________________
>>> ncl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/**mailman/listinfo/ncl-talk<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 Thu Jun 20 08:11:13 2013

This archive was generated by hypermail 2.1.8 : Mon Jun 24 2013 - 11:46:47 MDT