From 1d73bc7eeba0d57194526256018da5e3030bf082 Mon Sep 17 00:00:00 2001 From: Bill Ladwig Date: Thu, 23 Mar 2017 12:23:11 -0600 Subject: [PATCH] Fixed typo with cape flag. Fixes #9 --- src/wrf/specialdec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrf/specialdec.py b/src/wrf/specialdec.py index db8e5ae..8bbdb41 100644 --- a/src/wrf/specialdec.py +++ b/src/wrf/specialdec.py @@ -218,7 +218,7 @@ def cape_left_iter(alg_dtype=np.float64): i3dflag = args[7] ter_follow = args[8] - is2d = i3dflag != 0 + is2d = i3dflag == 0 is1d = np.isscalar(sfp) orig_dtype = p_hpa.dtype