> Hi
>
> Here is my question.
>
> Let T be four-dimensional with dimensions time, lev, lat, lon. [that is
> T(time, lev, lat, lon)]
>
> Then in NCL, how to calculate the first and second partial derivative of T
> with respect to time,lev,lat and lon; and how to do the volume integral of
> T?
Check to see if any of the following suits your needs:
http://www.ncl.ucar.edu/Document/Functions/Built-in/csa1x.shtml
http://www.ncl.ucar.edu/Document/Functions/Built-in/csa2lx.shtml
http://www.ncl.ucar.edu/Document/Functions/Built-in/csa3x.shtmlo
http://www.ncl.ucar.edu/Document/Functions/Built-in/ftcurvd.shtml
--- You will have to use dimension reordering http://www.ncl.ucar.edu/Document/Manuals/Ref_Manual/NclVariables.shtml eg: T(lev|:,lat|:,lon|:,time|:) to calculate temporal derivatives ----- volume integral: no built-in function You will have to do it manually. ----- If none of the above suits your needs, perhaps you will have to write a fortran or C routine to do the task. These could be invoked from NCL via a shared objeyt http://www.ncl.ucar.edu/Document/Manuals/Ref_Manual/NclExtend.shtml http://www.ncl.ucar.edu/Document/Tools/WRAPIT.shtml good luck _______________________________________________ ncl-talk mailing list ncl-talk_at_ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Mon Sep 04 2006 - 11:02:28 MDT
This archive was generated by hypermail 2.2.0 : Tue Sep 05 2006 - 07:54:06 MDT