Re: Can NCL do integral and differential calculations ?

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Mon, 4 Sep 2006 11:02:28 -0600 (MDT)

> 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:

You will have to use dimension reordering
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
good luck
ncl-talk mailing list
Received 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