Skip to content

Commit

Permalink
Coding norms
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidNew-NOAA committed Sep 23, 2024
1 parent 9228759 commit c3aab82
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions utils/fv3jedi/fv3jedi_calcanl.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ namespace gdasapp {
// Get geometry configurations
const eckit::LocalConfiguration bkgGeomConfig(fullConfig, "background geometry");
const eckit::LocalConfiguration incrGeomConfig(fullConfig, "increment geometry");
const eckit::LocalConfiguration anlFullResGeomConfig(fullConfig, "full resolution analysis geometry");
const eckit::LocalConfiguration anlEnsResGeomConfig(fullConfig, "ensemble resolution analysis geometry");
const eckit::LocalConfiguration anlFullResGeomConfig(fullConfig, \
"full resolution analysis geometry");
const eckit::LocalConfiguration anlEnsResGeomConfig(fullConfig, \
"ensemble resolution analysis geometry");

// Setup geometries
const fv3jedi::Geometry incrGeom(incrGeomConfig, this->getComm());
Expand Down Expand Up @@ -67,8 +69,10 @@ namespace gdasapp {
// Get elements of individual additions configurations
const eckit::LocalConfiguration bkgConfig(additionsConfig[ihrs], "background");
const eckit::LocalConfiguration incrConfig(additionsConfig[ihrs], "increment");
const eckit::LocalConfiguration anlFullResConfig(additionsConfig[ihrs], "full resolution analysis");
const eckit::LocalConfiguration anlEnsResConfig(additionsConfig[ihrs], "ensemble resolution analysis");
const eckit::LocalConfiguration anlFullResConfig(additionsConfig[ihrs], \
"full resolution analysis");
const eckit::LocalConfiguration anlEnsResConfig(additionsConfig[ihrs], \
"ensemble resolution analysis");

// Initialize background
fv3jedi::State xxBkg(bkgGeom, bkgConfig);
Expand All @@ -84,7 +88,7 @@ namespace gdasapp {

// Interpolate full resolution analysis to ensemble resolution
fv3jedi::State xxAnlEnsRes(anlEnsResGeom, xxAnlFullRes);

// Write analysis state
xxAnlFullRes.write(anlFullResConfig);
xxAnlEnsRes.write(anlEnsResConfig);
Expand Down

0 comments on commit c3aab82

Please sign in to comment.