Skip to content

Commit

Permalink
updated documentation for parcel_profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Osamu Miyawaki committed Oct 6, 2023
1 parent 0600059 commit 1744d78
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/metpy/calc/thermo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand All @@ -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
-----
Expand Down Expand Up @@ -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
-------
Expand Down

0 comments on commit 1744d78

Please sign in to comment.