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:
  • (np.ndarray) (rh) –

  • (np.ndarray) –

  • (np.ndarray) –

  • (np.ndarray) –

  • (Optional[float] (value_prof_interpolation) –

  • optional) (The value for the interpolation of the profiles. Defaults to 1.) –

Raises:

ValueError – If the input values are not valid arrays.:

Return type:

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