konrad.convection.interp_variable¶
- konrad.convection.interp_variable(variable, convective_heating, lim)[source]¶
Find the value of a variable corresponding to where the convective heating equals a certain specified value (lim).
- Parameters
variable (ndarray) – variable to be interpolated
convective_heating (ndarray) – interpolate based on where this variable equals ‘lim’
lim (float/int) – value of ‘convective_heating’ used to find the corresponding value of ‘variable’
- Returns
float – interpolated value of ‘variable’