[][src]Function sounding_analysis::melting_freezing_energy_area

pub fn melting_freezing_energy_area(snd: &Sounding, lyr: &Layer) -> Result<JpKg>

Calculate the thermal energy relative to freezing in a layer. This is used in the Bourgouin algorithm for precipitation type.

Positive values indicate a melting layer, negative values indicate a freezing layer.

This algortihm implements equation 2 from "A Method to Determine Precipitation Types" by PIERRE BOURGOUIN, Weather and Forecasting, 2000.