konrad.utils.get_pressure_grids

konrad.utils.get_pressure_grids(surface_pressure=100000.0, top_pressure=1, num=128)[source]

Create matching pressures at full-levels and half-levels.

The half-levels range from surface_pressure to 1 Pa.

Parameters
  • surface_pressure (float) – Pressure of the lowest half-level [Pa].

  • top_pressure (float) – Pressure at the highest half-level [Pa].

  • num (int) – Number of full pressure levels.

Returns

ndarray, ndarray – Full-level pressure, half-level pressure [Pa].

See also

konrad.utils.get_quadratic_pgrid