Repository navigation
Have varobsWriters store their output_varbc_predictors value locally. - #304
Open
lewisn-met wants to merge 1 commit into
Open
lewisn-met wants to merge 1 commit into
lewisn-met wants to merge 1 commit into
Conversation
lewisn-met
requested review from
David Davies (DJDavies2),
Adam Maycock (adammaycock),
Chris Thomas (ctgh) and
Matt Shin (matthewrmshin)
as code owners
November 11, 2026 20:25
lewisn-met
requested review from
Michael Cooke (mikecooke77) and
Yaswant Pradhan (yaswant)
as code owners
November 11, 2026 20:25
Chris Thomas (ctgh)
approved these changes
Nov 13, 2026
Chris Thomas (ctgh)
left a comment
Collaborator
There was a problem hiding this comment.
Looks like a good fix. Thanks!
David Davies (DJDavies2)
approved these changes
Nov 14, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a local variable to each varobs writer to store the value of the yaml parameter
output_varbc_predictorsand set the value of the module variable VarBC before reading VarObs fields or writing output. This ensures that the writer gets the correct value of VarBC when executing as part of a task with multiple writers (e.g. malak_engl_cx).The PR also adds testing of the multi-writer scenario, with one writer having
output_varbc_predictors: true, followed by another writer using the default. If working correctly, following the execution of the first writer, BiasPredictors (80) should be found in the fields column. This is validated using the newexpectedVarFieldsVarObsChecker option.Issue
Resolves #303
Testing
UKMO ctests and KGOs can be found here:
https://cylchub/services/cylc-review/suites?user=lewis.napper&no_fuzzy_time=0&names=*opsinputsBundle*&per_page=&order=time_desc
Merging this PR requires KGO updates to malak_engl_cx only.