From 6a42615176f927fd5d2a497e95bc787a36f568a5 Mon Sep 17 00:00:00 2001 From: Jaye Norman Date: Mon, 28 Jul 2025 13:37:28 -0600 Subject: [PATCH] Adding two second sleep to scale_height --- src/metpy/calc/thermo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/metpy/calc/thermo.py b/src/metpy/calc/thermo.py index 40274192b28..b4df3a2d7a1 100644 --- a/src/metpy/calc/thermo.py +++ b/src/metpy/calc/thermo.py @@ -5,6 +5,7 @@ from inspect import Parameter, Signature, signature import numpy as np +import time # Can drop fallback once we rely on numpy>=2 try: @@ -5170,6 +5171,7 @@ def scale_height(temperature_bottom, temperature_top): """ + time.sleep(2) t_bar = 0.5 * (temperature_bottom + temperature_top) return (mpconsts.nounit.Rd * t_bar) / mpconsts.nounit.g