Skip to content

temporary fix for kgo updates#110

Merged
Sam Clarke-Green (t00sa) merged 1 commit into
MetOffice:mainfrom
james-bruten-mo:fix_kgo_update_script
Sep 9, 2025
Merged

temporary fix for kgo updates#110
Sam Clarke-Green (t00sa) merged 1 commit into
MetOffice:mainfrom
james-bruten-mo:fix_kgo_update_script

Conversation

@james-bruten-mo

Copy link
Copy Markdown
Collaborator

Description

This script needs to work for both lfric and UM kgo, so needs to able to work with variables.cylc files and variables.rc files. It works out the extension by looking for either the flow.cylc or suite.rc in the top level rose-stem directory.
Unfortunately the UM was updated to use a flow.cylc, but didn't rename all the files. So it needs .rc extension but has a flow.cylc and so this script has broken.
Fix temporarily by looking for family-common.rc instead of suite.rc. By vn14.0 it will use all .cylc extensions, so all this logic can be removed.

Checklist

  • I have performed a self-review of my own changes

@t00sa Sam Clarke-Green (t00sa) left a comment

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.

Looks sensible. Approved.

@t00sa
Sam Clarke-Green (t00sa) merged commit 4fae647 into MetOffice:main Sep 9, 2025
5 checks passed
@james-bruten-mo
James Bruten (james-bruten-mo) deleted the fix_kgo_update_script branch September 14, 2025 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants