From 6285a5aa9fbaa5e4d74e01e4d55c9a3ca3913c7c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Jan 2024 16:27:31 +0000 Subject: [PATCH 1/2] CI: (deps): Bump scipy from 1.11.4 to 1.12.0 in /ci Bumps [scipy](https://github.com/scipy/scipy) from 1.11.4 to 1.12.0. - [Release notes](https://github.com/scipy/scipy/releases) - [Commits](https://github.com/scipy/scipy/compare/v1.11.4...v1.12.0) --- updated-dependencies: - dependency-name: scipy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- ci/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/requirements.txt b/ci/requirements.txt index 035198b24d1..7486cf888d3 100644 --- a/ci/requirements.txt +++ b/ci/requirements.txt @@ -4,6 +4,6 @@ pandas==2.1.4 pooch==1.8.0 pint==0.23 pyproj==3.6.1 -scipy==1.11.4 +scipy==1.12.0 traitlets==5.14.1 xarray==2024.1.1 From 9dd9a3b14311e0c3c0af365dccac5a3236c61411 Mon Sep 17 00:00:00 2001 From: Ryan May Date: Wed, 14 Feb 2024 15:21:14 -0700 Subject: [PATCH 2/2] MNT: Update values in some cape/profile examples Scipy 1.12 is producing slightly different values for some points in the profile, but all changes are in the noise. Just update the values to make doctests pass since we don't run these on old versions. --- src/metpy/calc/thermo.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/metpy/calc/thermo.py b/src/metpy/calc/thermo.py index 0bc25f9b034..e60e65a7f1b 100644 --- a/src/metpy/calc/thermo.py +++ b/src/metpy/calc/thermo.py @@ -963,7 +963,7 @@ def parcel_profile(pressure, temperature, dewpoint): >>> Td = dewpoint_from_relative_humidity(T, rh) >>> # computer parcel temperature >>> parcel_profile(p, T[0], Td[0]).to('degC') - >> prof = parcel_profile(p, T[0], Td[0]).to('degC') >>> # calculate surface based CAPE/CIN >>> cape_cin(p, T, Td, prof) - (, ) + (, ) See Also -------- @@ -3013,7 +3013,7 @@ def most_unstable_cape_cin(pressure, temperature, dewpoint, **kwargs): >>> Td = dewpoint_from_relative_humidity(T, rh) >>> # calculate most unstbale CAPE/CIN >>> most_unstable_cape_cin(p, T, Td) - (, ) + (, ) See Also -------- @@ -3172,9 +3172,9 @@ def downdraft_cape(pressure, temperature, dewpoint): >>> # calculate dewpoint >>> Td = dewpoint_from_relative_humidity(T, rh) >>> downdraft_cape(p, T, Td) - (, , , ) See Also