-
Notifications
You must be signed in to change notification settings - Fork 90
Adjust the bdy_lyr local script, and housekeeping #231
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
Merged
Ed Hone (EdHone)
merged 16 commits into
MetOffice:main
from
MetBenjaminWent:update_part_bdy_psy
Mar 23, 2026
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
70b50c7
Update local.py, remove script to use global, comment fix
MetBenjaminWent eb004a0
Remove function not in use anymore
MetBenjaminWent 5448515
Remove crashing file and housekeeping others
MetBenjaminWent db6c499
pylint and flake8 adjustments
MetBenjaminWent cd76b02
Merge branch 'main' into update_part_bdy_psy
MetBenjaminWent 86496e8
Adjust script in line with SR request, but preserving some addtional …
MetBenjaminWent df13819
Merge branch 'update_part_bdy_psy' of github.com:MetBenjaminWent/lfri…
MetBenjaminWent d7b7c83
Merge branch 'main' into update_part_bdy_psy
MetBenjaminWent 4ff21c4
Add additional comment coverage
MetBenjaminWent 515366b
Merge branch 'update_part_bdy_psy' of github.com:MetBenjaminWent/lfri…
MetBenjaminWent baf163c
Merge branch 'main' into update_part_bdy_psy
MetBenjaminWent 3fd2697
Apply suggestions from code review
MetBenjaminWent cc7455a
Merge branch 'main' into update_part_bdy_psy
MetBenjaminWent b775920
Remove old sim link for file not present anymore due to issue
MetBenjaminWent b5205a5
Merge branch 'update_part_bdy_psy' of github.com:MetBenjaminWent/lfri…
MetBenjaminWent af13ed4
Merge branch 'main' into update_part_bdy_psy
EdHone File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
33 changes: 0 additions & 33 deletions
33
applications/lfric_atm/optimisation/meto-ex1a/transmute/boundary_layer/bl_diags_mod.py
This file was deleted.
Oops, something went wrong.
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
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
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
1 change: 0 additions & 1 deletion
1
applications/lfric_atm/optimisation/nci-gadi/transmute/boundary_layer/bl_diags_mod.py
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean that if a timer call is present the is no parallel transformation?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It means that that node (the if block around a timer) won't be placed inside a parallel region. For these specific files, where this script will be used, that's generally the method for protecting the timer/vernier calls.
To be fair a over a call node might be handy to filter out too, but this functionality is likely going to get replaced by the STFC one in the midish future. These changes are mainly to fix what isn't too solid on trunk.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But also if there are if blocks at the start, which might wrap a loop, they can be considered
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally I'll replace it with this in the future:
psyir/transformations/maximal_omp_parallel_region_trans.py
https://github.com/stfc/PSyclone/pull/3205/changes#diff-4b36192e8e7d16cf9fc57d975f0ea1b20e422b920b0fa42ca85ef053c5744ee0
PSyclone/src/psyclone/psyir/transformations/maximal_omp_parallel_region_trans.py at master · stfc/PSyclone