pyrtlib.weighting_functions.WeightingFunctions.__init__#

WeightingFunctions.__init__(z: ndarray, p: ndarray, t: ndarray, rh: ndarray, value_prof_interpolation: Optional[float] = 1) None#

Constructor for the WeightingFunctions class.

Parameters:
  • z (np.ndarray) – Height profile.

  • p (np.ndarray) – Pressure profile.

  • t (np.ndarray) – Temperature profile.

  • rh (np.ndarray) – Relative humidity profile.

  • value_prof_interpolation (Optional[float], optional) – The value for the interpolation of the profiles. Defaults to 1.

Raises:

ValueError – If the input values are not valid arrays.

Returns:

None

Note

The input arrays must have the same size. Units for the arrays are:
  • z: km

  • p: hPa

  • t: K

  • rh: fraction

  • value_prof_interpolation: km