reducePressure: Reduce pressure level

View source: R/reducePressure.R

reducePressureR Documentation

Reduce pressure level

Description

Internal function with formula for presssure reduction

Usage

reducePressure(p, t, zgs, direction)

Arguments

p

A 2D matrix of (sea-level/surface) pressure values (in Pascals)

t

A 2D matrix of near-surface temperature (in K)

zgs

A matrix of geopotential height (static variable, all rows are equal, in meters)

direction

Direction of the conversion, either "ps2psl" or "psl2ps".

Details

This function is a internal for the derivation functions ps2psl and psl2ps.

Value

A 2D matrix with reduced pressure data. Need to be reconverted to a grid using mat2Dto3Darray afterwards.

References

The adjustment formulae of pressure values to other levels are those routinely used by the WMO. These are described in the following technical report: https://www.wmo.int/pages/prog/www/IMOP/meetings/SI/ET-Stand-1/Doc-10_Pressure-red.pdf

See Also

psl2ps and ps2psl, the exported functions using this one


SantanderMetGroup/convertR documentation built on June 30, 2023, 3:03 a.m.