Skip to content

Adding background error options in 3dvar_cf#746

Open
jeromebarre wants to merge 52 commits intodevelopfrom
feature/3dvar_cf_bump
Open

Adding background error options in 3dvar_cf#746
jeromebarre wants to merge 52 commits intodevelopfrom
feature/3dvar_cf_bump

Conversation

@jeromebarre
Copy link
Copy Markdown
Contributor

@jeromebarre jeromebarre commented Mar 20, 2026

Description

This PR adds configurable SABER background-error support for geos_cf by plumbing saber_central_block and saber_outer_block through Swell question defaults, task question registration, JEDI template rendering, and GEOS-CF interface generation. It updates the background error configuration to support both identity and bump_nicas (and later other flavors such as diffusion) central blocks, with optional outer blocks such as stddev_bkg_scaled or stddev_fixed_values (for testing purposes), and updates cycle staging so NICAS files are only linked when bump_nicas is actually selected.

Dependencies

None

Impact

3dvar_cf suite

@jeromebarre jeromebarre requested review from mer-a-o and mranst March 20, 2026 14:53
@jeromebarre jeromebarre added the compo Atmospheric composition related issues label Mar 20, 2026
'geometry': self.interface_model('geometry'),
'output': self.interface_model('increment_cs'),
},

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make sure the fix from #743 is incorporated?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm testing this PR right now, and it looks like it's already incorporated in line 65-68. So there's no need to make any changes to this file in this PR.

@mranst
Copy link
Copy Markdown
Collaborator

mranst commented Mar 26, 2026

Looks good, I was able to run the suite with these changes. I wanted to point out there's a shift in the residual norms from the develop version to this PR, not sure if that's important

This branch -> develop
image

Copy link
Copy Markdown
Contributor

@mer-a-o mer-a-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this PR with different options for background error and it's working. Thanks @jeromebarre. My only comment is in src/swell/configuration/jedi/oops/variational3D.py.

@jeromebarre
Copy link
Copy Markdown
Contributor Author

Looks good, I was able to run the suite with these changes. I wanted to point out there's a shift in the residual norms from the develop version to this PR, not sure if that's important

This branch -> develop image

Yes this is expected with those changes.

@mranst mranst added the passes tier1 Add this tag to indicate that the tier1 tests have been activated and passed on github. label Mar 30, 2026
Copy link
Copy Markdown
Collaborator

@mranst mranst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compo Atmospheric composition related issues passes tier1 Add this tag to indicate that the tier1 tests have been activated and passed on github.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants