Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ pandas==2.0.3
pooch==1.7.0
pint==0.22
pyproj==3.6.0
scipy==1.10.1
scipy==1.11.1
traitlets==5.9.0
xarray==2023.7.0
4 changes: 2 additions & 2 deletions tests/calc/test_thermo.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ def test_moist_lapse_ref_pressure():
def test_moist_lapse_multiple_temps():
"""Test moist_lapse with multiple starting temperatures."""
temp = moist_lapse(np.array([1050., 800., 600., 500., 400.]) * units.mbar,
np.array([19.85, np.nan, 19.85]) * units.degC, 1000. * units.mbar)
np.array([19.85, 25.6, 19.85]) * units.degC, 1000. * units.mbar)
true_temp = np.array([[294.76, 284.64, 272.81, 264.42, 252.91],
[np.nan, np.nan, np.nan, np.nan, np.nan],
[300.35, 291.27, 281.05, 274.05, 264.64],
[294.76, 284.64, 272.81, 264.42, 252.91]]) * units.kelvin
assert_array_almost_equal(temp, true_temp, 2)

Expand Down