Re: Column Integrated total Kinetic Energy, Thanks!

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Sat Dec 26 2009 - 13:18:56 MST

In the "shea_util.ncl" there are two functions that
may be of use:

They perform vertical integrals of data on isobaric
or hybrid levels. Neither is officially supported.

[1]
function IntegrateHybrid (X:numeric, dp:numeric, con[1]:numeric \
                           ,long_name:string, units:string, iopt:integer)

[2]
function IntegratePlevel (X:numeric, dp:numeric, con[1]:numeric \
                           ,long_name:string, units:string, iopt:integer)

The documentation may be seen by

%> less $NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl

EG:

     f = addfile("foo.nc","r")
     u = f->U
     v = f->V

     ke= u ; retain coordinate information
     ke= (u^2+v^2)*0.5

     dp = ..... see function description ...
     iopt = 0 or 1

     KE_col = IntegratePlevel(ke, dp, con, "Col. K.E.", "m2/s2", iopt)

Good luck

Xiaoming Sun wrote:
>
> Dear All,
>
> Thanks for reading this E-mail.
>
> Does anyone know some functions or internal procedures available in NCL
> to calculate the column integrated total Kinetic Energy, either from
> model or reanalysis?
>
> Any input will be appreciated,
>
> Thanks,
>
> Have a good holiday!
>
> Xiaoming
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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 Sat Dec 26 13:20:14 2009

This archive was generated by hypermail 2.1.8 : Tue Dec 29 2009 - 10:29:16 MST