# ARTS built-in documentation server

## Workspace Method ZFromPSimple

### Description

Simple conversion from pressure to altitude.
This function converts a vector of pressure values to an approximate vector
of corresponding heights. The formula used to convert pressure to height is:
z = 16000 * (5.0 - log10(p))That is, a pressure is assumed to decrease by a factor of 10 every 16km.
Note that all pressure values in the vector must be greater than 0.01.

**Authors: **Simon Pfreundschuh

### Synopsis

ZFromPSimple( | z_grid, p_grid ) |

### Variables

GOUT | z_grid | (Vector) | Approximate heights of pressure grid points. |

GIN | p_grid | (Vector) | Pressure grid. |