Skip to content

Commit

Permalink
Merge pull request #3094 from Unidata/dependabot-pip-ci-scipy-1.11.1
Browse files Browse the repository at this point in the history
CI: (deps): Bump scipy from 1.10.1 to 1.11.1 in /ci
  • Loading branch information
dcamron authored Jul 26, 2023
2 parents 328b4df + 624b571 commit 9db08a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 9db08a5

Please sign in to comment.