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