coecms / frontdetection

Apache License 2.0
2 stars 2 forks source link

inconsistency in wetbulb #13

Closed HoWol76 closed 1 year ago

HoWol76 commented 3 years ago

At the beginning of the function wetbulb there is a decision tree on whether the temperature field is in Kelvin or Degrees Celsius. But in the loop at the end of the function, there is no difference, even though a calculation is made that looks surprisingly similar to the saturation pressure, which seems to depend on this distinction.

greensh16 commented 1 year ago

The Metpy functions have now replaced Malcolm's wetbulb function so this decision tree is no longer needed (or I guess there's an internal one in the metpy wetbulb function).