Skip to content

Commit 269f7d5

Browse files
committed
fixed cape/cin in function docstrings
1 parent e98afcf commit 269f7d5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/metpy/calc/thermo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2642,7 +2642,7 @@ def cape_cin(pressure, temperature, dewpoint, parcel_profile, which_lfc='bottom'
26422642
>>> prof = parcel_profile(p, T[0], Td[0]).to('degC')
26432643
>>> # calculate surface based CAPE/CIN
26442644
>>> cape_cin(p, T, Td, prof)
2645-
(<Quantity(4703.77308, 'joule / kilogram')>, <Quantity(0, 'joule / kilogram')>)
2645+
(<Quantity(4910.59044, 'joule / kilogram')>, <Quantity(0, 'joule / kilogram')>)
26462646
26472647
See Also
26482648
--------
@@ -3283,7 +3283,7 @@ def most_unstable_cape_cin(pressure, temperature, dewpoint, **kwargs):
32833283
>>> Td = dewpoint_from_relative_humidity(T, rh)
32843284
>>> # calculate most unstbale CAPE/CIN
32853285
>>> most_unstable_cape_cin(p, T, Td)
3286-
(<Quantity(4703.77308, 'joule / kilogram')>, <Quantity(0, 'joule / kilogram')>)
3286+
(<Quantity(4910.59044, 'joule / kilogram')>, <Quantity(0, 'joule / kilogram')>)
32873287
32883288
See Also
32893289
--------
@@ -3359,7 +3359,7 @@ def mixed_layer_cape_cin(pressure, temperature, dewpoint, **kwargs):
33593359
>>> # calculate dewpoint
33603360
>>> Td = dewpoint_from_relative_humidity(T, rh)
33613361
>>> mixed_layer_cape_cin(p, T, Td, depth=50 * units.hPa)
3362-
(<Quantity(711.239032, 'joule / kilogram')>, <Quantity(-5.48053989, 'joule / kilogram')>)
3362+
(<Quantity(740.140593, 'joule / kilogram')>, <Quantity(0, 'joule / kilogram')>)
33633363
33643364
See Also
33653365
--------

0 commit comments

Comments
 (0)