From f5bbec0077bb5c8cbfdb0d03caa35e2aa016d243 Mon Sep 17 00:00:00 2001 From: Guillaume Vernieres Date: Thu, 13 Jun 2024 14:01:33 -0400 Subject: [PATCH] Fix to the halo issue in the variance partitioning code (#1171) - fixes #1170 --- utils/soca/gdas_soca_diagb.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/soca/gdas_soca_diagb.h b/utils/soca/gdas_soca_diagb.h index c1e46c250..62cff84f7 100644 --- a/utils/soca/gdas_soca_diagb.h +++ b/utils/soca/gdas_soca_diagb.h @@ -300,12 +300,12 @@ namespace gdasapp { } // Update the layer thickness halo - xbFs["hocn"].haloExchange(); + nodeColumns.haloExchange(xbFs["hocn"]); // Loop through variables for (auto & var : configD.socaVars.variables()) { // Update the halo - xbFs[var].haloExchange(); + nodeColumns.haloExchange(xbFs[var]); // Skip the layer thickness variable if (var == "hocn") { @@ -361,7 +361,7 @@ namespace gdasapp { // Horizontal averaging for (int iter = 0; iter < configD.niterHoriz; ++iter) { // Update the halo points - bkgErrFs[var].haloExchange(); + nodeColumns.haloExchange(bkgErrFs[var]); auto stdDevBkg = atlas::array::make_view(bkgErrFs[var]); // Loops through nodes and levels