Re: Is there a function to calculate the advection?

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Sat, 29 Apr 2006 19:18:11 -0600 (MDT)

> I am wondering if there is a function, built-in or contributed,
> which can be used to calculate the advection of a given
> variable, like ECMWF or NCEP temperature, in NCL?

I assume you mean:

        u*(dT/dx) + v*(dT/dy)

If the data are global then use spherical harmonic functions
to compute the gradients.
gaussian grid:
regular [fixed] grid:
If the grid has missing data or is limited area then
you can use "center_finite_dif" if you have a regular grid.
The grid points need not be equally spaced.
Example 6 shows how to compute dT/dx ; you can use the same process for
latitude dT/dy.
Godd luck
ncl-talk mailing list
Received on Sat Apr 29 2006 - 19:18:11 MDT

This archive was generated by hypermail 2.2.0 : Mon May 01 2006 - 10:50:06 MDT