From 1744d7831217dadc8cccac99c89c3f830b8c9529 Mon Sep 17 00:00:00 2001 From: Osamu Miyawaki Date: Fri, 6 Oct 2023 15:11:47 -0600 Subject: [PATCH] updated documentation for parcel_profile --- src/metpy/calc/thermo.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/metpy/calc/thermo.py b/src/metpy/calc/thermo.py index 16ef587bcb5..8006935a0f0 100644 --- a/src/metpy/calc/thermo.py +++ b/src/metpy/calc/thermo.py @@ -304,7 +304,6 @@ def moist_lapse(pressure, temperature, reference_pressure=None, lapse_type='stan 'ep0': scalar, entrainment constant [unitless], 'rh0': scalar, ambient relative humidity [unitless], } - For 'r14': { 'de': scalar or 1-d array, detrainment rate [m**-1], 'ep': scalar or 1-d array, entrainment rate [m**-1], @@ -329,9 +328,6 @@ def moist_lapse(pressure, temperature, reference_pressure=None, lapse_type='stan -------- dry_lapse : Calculate parcel temperature assuming dry adiabatic processes parcel_profile : Calculate complete parcel profile - moist_lapse_pseudoadiabatic : Calculate parcel temperature assuming irreversible, moist pseudoadiabatic processes - moist_lapse_reversible : Calculate parcel temperature assuming reversible, moist adiabatic processes - moist_lapse_entrain : Calculate parcel temperature assuming reversible, moist adiabatic processes Notes ----- @@ -1037,6 +1033,11 @@ def parcel_profile(pressure, temperature, dewpoint, lapse_type=None, params=None 'ep0': entrainment constant [unitless], 'rh0': ambient relative humidity [unitless], } + For 'r14': { + 'de': scalar or 1-d array, detrainment rate [m**-1], + 'ep': scalar or 1-d array, entrainment rate [m**-1], + 'pa': 1-d array, optional, pressure levels defining detrainment and entrainment profile [Pa] + } Returns -------