Skip to content

Commit

Permalink
Merge pull request #3531 from Unidata/dependabot-pip-ci-pint-0.24
Browse files Browse the repository at this point in the history
CI: (deps): Bump pint from 0.23 to 0.24 in /ci
  • Loading branch information
dcamron authored Jun 26, 2024
2 parents b8b665b + 5bac736 commit 903279b
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 @@ -2,7 +2,7 @@ matplotlib==3.8.4
numpy==1.26.4
pandas==2.2.2
pooch==1.8.2
pint==0.23
pint==0.24.1
pyproj==3.6.1
scipy==1.13.1
traitlets==5.14.3
Expand Down
4 changes: 2 additions & 2 deletions src/metpy/calc/thermo.py
Original file line number Diff line number Diff line change
Expand Up @@ -4067,7 +4067,7 @@ def static_stability(pressure, temperature, vertical_dim=0):
4.80962228e-06 7.72162917e-06 1.13637163e-05 1.89412484e-05
5.12162481e-05 1.59883754e-04 3.74228296e-04 5.30145977e-04
7.20889325e-04 1.00335001e-03 1.48043778e-03 2.32777913e-03
3.43878993e-03 5.74908298e-03], 'meter ** 2 / pascal ** 2 / second ** 2')>
3.43878993e-03 5.74908298e-03], 'meter ** 2 / second ** 2 / pascal ** 2')>
.. versionchanged:: 1.0
Renamed ``axis`` parameter ``vertical_dim``
Expand Down Expand Up @@ -5117,7 +5117,7 @@ def sweat_index(pressure, temperature, dewpoint, speed, direction, vertical_dim=
first_term = 12 * np.clip(td850.m_as('degC'), 0, None)

# Second term is set to zero if TT is less than 49
second_term = 20 * np.clip(tt.m_as('degC') - 49, 0, None)
second_term = 20 * np.clip(tt.m_as('delta_degC') - 49, 0, None)

# Shear term is set to zero if any of four conditions are not met
required = ((units.Quantity(130, 'deg') <= dd850) & (dd850 <= units.Quantity(250, 'deg'))
Expand Down

0 comments on commit 903279b

Please sign in to comment.