konrad.cloud.get_rectangular_profile

konrad.cloud.get_rectangular_profile(z, value, ztop, depth)[source]

Produce a rectangular profile, an array containing zeros and the value ‘value’ corresponding to a certain height range.

Parameters
  • z (ndarray) – height

  • value (int/float) – non-zero value / thickness of rectangle

  • ztop (int/float) – height, indicating the top of the rectangle

  • depth (int/float) – height, indicating the depth of the rectangle ztop - depth gives the base of the rectangle