vertint

vertint(fs)
vertint(lnsp, fs)

Performs a vertical integration on ECMWF (hybrid) model levels.

Parameters
Return type

Fieldset containing one field only

fs must contain a contiguous range of model levels for the same parameter. A missing value in any field will result in a missing value in the corresponding place in the output fieldset.

When no lnsp is specified fs must also contain an lnsp field with an ecCodes paramId of 152.

The computations are based on the following formula:

\[\int_{p_{top}}^{p_{bottom}} f \frac{dp}{g}\]

where:

  • f: input fieldset

  • p: pressure

  • g: acceleration of gravity (9.80665 m/s2).

Warning

This function is obsolete, use univertint() instead.