Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test output for fv3jedi_fv3inc.h #1039

Merged
merged 3 commits into from
Apr 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions utils/fv3jedi/fv3jedi_fv3inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,12 @@ namespace gdasapp {

// Read background state
fv3jedi::State xxBkg(stateGeom, stateInputConfig);
oops::Log::test() << "Background State: " << std::endl << xxBkg << std::endl;

// Read JEDI increment
fv3jedi::Increment dxJEDI(jediIncrGeom, jediIncrVars, xxBkg.validTime());
dxJEDI.read(jediIncrInputConfig);
oops::Log::test() << "JEDI Increment: " << std::endl << dxJEDI << std::endl;

// Increment conversion
// ---------------------------------------------------------------------------------
Expand Down Expand Up @@ -154,14 +156,10 @@ namespace gdasapp {
}
}
dxFV3.fromFieldSet(dxFsFV3);
oops::Log::test() << "FV3 Increment: " << std::endl << dxFV3 << std::endl;

// Write FV3 increment
dxFV3.write(fv3IncrOuputConfig);

// Output for testing
oops::Log::test() << "Background State: " << std::endl << xxBkg << std::endl;
oops::Log::test() << "JEDI Increment: " << std::endl << dxJEDI << std::endl;
oops::Log::test() << "FV3 Increment: " << std::endl << dxFV3 << std::endl;
}

return 0;
Expand Down
Loading