From cf6aef3df20913590c7d842d218e82b8d211031e Mon Sep 17 00:00:00 2001 From: Florian Deconinck Date: Mon, 12 Feb 2024 12:56:17 -0500 Subject: [PATCH] Make sure `nord_w` and `nord_t` are correct --- pyFV3/stencils/d_sw.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyFV3/stencils/d_sw.py b/pyFV3/stencils/d_sw.py index 6d98f70..1b496d7 100644 --- a/pyFV3/stencils/d_sw.py +++ b/pyFV3/stencils/d_sw.py @@ -689,8 +689,6 @@ def get_column_namelist( col["d2_divg"].view[:] = min(0.2, config.d2_bg) col["nord_v"].view[:] = min(2, config.nord) - col["nord_w"].view[:] = col["nord_v"].view[0] - col["nord_t"].view[:] = col["nord_v"].view[0] if config.do_vort_damp: col["damp_vt"].view[:] = config.vtdm4 else: @@ -717,6 +715,8 @@ def get_column_namelist( for n in range(3, config.n_sponge): col["d2_divg"].view[n] = max(config.d2_bg, 0.2 * config.d2_bg_k2) set_low_kvals(col, n) + col["nord_w"].view[:] = col["nord_v"].view[:] + col["nord_t"].view[:] = col["nord_v"].view[:] # Checks for the column calculations # Those checks are expected in the rest of the code. DO NOT REMOVE even if the