From ce877b8b5b6e3e9ff122162501250ec3136f77fb Mon Sep 17 00:00:00 2001 From: ahijevyc Date: Thu, 13 Feb 2025 13:57:33 -0700 Subject: [PATCH] break up long line --- src/metpy/calc/thermo.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/metpy/calc/thermo.py b/src/metpy/calc/thermo.py index 15aebd3b11..ab0668b148 100644 --- a/src/metpy/calc/thermo.py +++ b/src/metpy/calc/thermo.py @@ -2671,8 +2671,11 @@ def cape_cin(pressure, temperature, dewpoint, parcel_profile, which_lfc='bottom' # The mixing ratio of the parcel comes from the dewpoint below the LCL, is saturated # based on the temperature above the LCL - parcel_mixing_ratio = np.where(below_lcl, saturation_mixing_ratio(pressure[0], dewpoint[0]), - saturation_mixing_ratio(pressure, parcel_profile)) + parcel_mixing_ratio = np.where( + below_lcl, + saturation_mixing_ratio(pressure[0], dewpoint[0]), + saturation_mixing_ratio(pressure, parcel_profile) + ) # Convert the temperature/parcel profile to virtual temperature temperature = virtual_temperature_from_dewpoint(pressure, temperature, dewpoint)