From afde4053fb864f698f2f9185909d9b8cb90dfdb4 Mon Sep 17 00:00:00 2001 From: kgoebber Date: Sun, 10 Apr 2022 10:35:54 -0500 Subject: [PATCH] fix isentropic example (cherry picked from commit ce178b0eddccdc68296a684872ac4ab902ff8ca9) --- examples/isentropic_example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/isentropic_example.py b/examples/isentropic_example.py index 3f1653db5d2..fae2a6b2ac3 100644 --- a/examples/isentropic_example.py +++ b/examples/isentropic_example.py @@ -149,7 +149,7 @@ msf = mpcalc.montgomery_streamfunction( isent_data['Geopotential_height'], isent_data['temperature'] -).values / 100. +).data.to_base_units() * 1e-2 # Choose a level to plot, in this case 296 K level = 0