Skip to content

wet_bulb_temperature for dry-bulb temperature less than dew point temperature #3759

@CongGao-CG

Description

@CongGao-CG

What went wrong?

>>> wet_bulb_temperature(1000 * units.hPa, 15 * units.degC, 20 * units.degC)
<Quantity(18.4582946, 'degree_Celsius')>

The metpy.calc.wet_bulb_temperature function does not automatically validate input physics?

Operating System

MacOS

Version

MetPy 1.6.3

Python Version

Python 3.10.16

Code to Reproduce

>>> wet_bulb_temperature(1000 * units.hPa, 15 * units.degC, 20 * units.degC)
<Quantity(18.4582946, 'degree_Celsius')>

Errors, Traceback, and Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: CalcPertains to calculationsArea: DocsAffects documentationType: MaintenanceUpdates and clean ups (but not wrong)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions