definite-integral

Returns integral evaluated between two limits

integrand ivar low high definite-integral

Arguments
labeltypedescription
integrand variable function to be integrated
ivar grid independent variable to be integrated over
low number lower limit
high number upper limit
Returns
integral variable definite integral over ivar from low to high

Description

definite-integral calculates the definite integral of the latest variable on the stack over the grid (independent variable) and limits (low and high) specified in the command.

Example

SOURCES .NOAA .NCEP-NCAR .CDAS-1 .DAILY .Intrinsic .PressureLevel .reld
T (1 Jan 2007) VALUE
P 600 10 definite-integral


In this example global gridded relative divergence values for 1 January 2007 are selected for all available vertical pressure levels from the NCEP/NCAR Reanalysis data set. Then, the integral of the relative divergence values is taken over the vertical pressure grid (P) from 600 to 10 hectopascals (mb), presumably from near the level of non-divergence to the top of the atmosphere in the Reanalysis data set. To the extent that the relative divergence values are accurate, the result of the calculation should be proportional to the vertical velocity at 600 hPa. Maps of the result of this calculation and the Reanalysis pressure vertical velocity for the same day are given here:

Vertical Integral of Relative Divergence

Pressure Vertical Velocity at 600 hPa

Live Example Link