Repository navigation
Resolve O(100) "unknown varfield/stash variable" warnings in each KGO workflow - #305
Open
lewisn-met wants to merge 4 commits into
Open
lewisn-met wants to merge 4 commits into
lewisn-met wants to merge 4 commits into
Conversation
Contributor
Author
|
Matt Shin (@matthewrmshin) opsinputs appears to have some fortitude sadness again, is this expected? |
Chris Thomas (ctgh)
left a comment
Collaborator
There was a problem hiding this comment.
Thanks for adding this feature - it will provide a useful cleanup of the output logs. I like the new testing framework.
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 of Problem
When running malak/sith KGOs, all jopa_process_background tasks are currently swamped with large quantities of warnings of the form
thrown by the varobs and cx writers. For example, a typical aircraft run has 278 occurrences of such warnings, namely:
Varfield not recognized: -32768, where 4 fields are selected from a 104 element namelist in which unused slots are padded by the IMDI integer missing data indicator-32768. This value is incorrectly reported as an unrecognised Varfield.Varfield not recognized: n, wherenis some valid Varfield value. GeoVaL discovery is confusing "does not require GeoVaLs" with "unsupported field". Population handlers for these fields exist and a warning/error would be thrown during population if they did not.Stash code not recognized: -32768, where 13 fields are selected from a 100 element namelist in which unused slots are again padded by the IMDI. 87 unused slots are reported in each of two routines.The affected routines are:
opsinputs_varobswriter_addrequiredgeovars,opsinputs_cxwriter_addrequiredgeovars,opsinputs_cxwriter_populatecx.Solution
Removing the warnings
IMDIin place of a Varfield.Testing
Impact
All existing KGOs should pass, with significantly shorter job.out files due to the reduction in warnings thrown.
Opsinputs tests should continue to pass, unless they have a genuinely unknown varfield/stash variable in their namelist.