From 0dee1935eeea49d7a2d536caae79b7638aab0f30 Mon Sep 17 00:00:00 2001 From: Roman Cattaneo Date: Wed, 25 Mar 2026 11:31:11 +0100 Subject: [PATCH] GF2020: fix ensemble_forcing_mid_plume Fix access of `updraft_lfc_level` inside `ensemble_forcing_mid_plume`. --- .../GF_2020/cumulus_parameterization/large_scale_forcing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSmoist_GridComp/pyMoist/pyMoist/convection/GF_2020/cumulus_parameterization/large_scale_forcing.py b/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSmoist_GridComp/pyMoist/pyMoist/convection/GF_2020/cumulus_parameterization/large_scale_forcing.py index 8623f72d0..6826d553b 100644 --- a/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSmoist_GridComp/pyMoist/pyMoist/convection/GF_2020/cumulus_parameterization/large_scale_forcing.py +++ b/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSmoist_GridComp/pyMoist/pyMoist/convection/GF_2020/cumulus_parameterization/large_scale_forcing.py @@ -372,8 +372,8 @@ def ensemble_forcing_mid_plume( if updraft_origin_level[0, 0][plume] < pbl_level + 1: trash = max( ( - cloud_moist_static_energy_forced.at(K=updraft_lfc_level) - - environment_moist_static_energy_cloud_levels_forced.at(K=updraft_lfc_level) + cloud_moist_static_energy_forced.at(K=updraft_lfc_level[0, 0][plume]) + - environment_moist_static_energy_cloud_levels_forced.at(K=updraft_lfc_level[0, 0][plume]) ), 1.0e1, )