Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidNew-NOAA committed Nov 19, 2024
1 parent 4362518 commit 4f0e770
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion parm/jcb-gdas
8 changes: 4 additions & 4 deletions utils/fv3jedi/fv3jedi_analcalc.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ namespace gdasapp {
dx.read(incrConfig);

// Initialize ensemble mean analysis
fv3jedi::State xxAnlEnsMean(anlEnsMeanGeom, stateVars, currentCycle);
dx.read(anlEnsMeanConfig);
fv3jedi::State xxAnlEnsMean(anlEnsMeanGeom, incrVars, currentCycle);
xxAnlEnsMean.read(anlEnsMeanConfig);

// Perform calcuations
// -------------------
Expand All @@ -107,8 +107,8 @@ namespace gdasapp {
fv3jedi::State xxAnlDet(anlDetGeom, xxBkg);
xxAnlDet += dx;

// Interpolate full resolution analysis to ensemble resolution
fv3jedi::State xxAnlDetEnsRes(incrCorGeom, xxAnlDet);
// Interpolate full resolution analysis to ensemble resolution and then change variables
fv3jedi::State xxAnlDetEnsRes(incrCorGeom, fv3jedi::State(incrVars, xxAnlDet));

// Compute correction increment
fv3jedi::Increment dxCor(incrCorGeom, incrVars, xxBkg.validTime());
Expand Down

0 comments on commit 4f0e770

Please sign in to comment.