[ncl-talk] uv2dvF output units?

Dennis Shea shea at ucar.edu
Wed Jul 20 09:37:39 MDT 2016


Yes:  1/s

I suggest yo use the

http://www.ncl.ucar.edu/Document/Functions/Contributed/uv2vrF_Wrap.shtml

Thease add meta data including the units.

If you look at the code within contributed.ncl. you will see

undef("uv2dvF_Wrap")
function uv2dvF_Wrap (u:numeric, v:numeric)
local div
begin
 div = uv2dvF (u,v)
 copy_VarMeta (u, div)
 div at long_name = "divergence"
 div at units     = "1/s"        ; assume u,v are m/s
 return (div)
end


On Wed, Jul 20, 2016 at 9:15 AM, Kai Zhang <kzkaizhang at gmail.com> wrote:

> Hi,
>
> I am currently using a function in NCL as uv2dvF (
> http://www.ncl.ucar.edu/Document/Functions/Built-in/uv2dvF-1.shtml) to
> compute the wind divergence. But I cannot find unit information for the
> output data. If I input winds as m/s, does it come out with 1/s? I wonder
> if there is anyone help me on this?
>
> Thanks,
> Kai
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160720/1464fda6/attachment.html 


More information about the ncl-talk mailing list