Skip to content

Conversation

@dpsarmie
Copy link

Description
This PR will remove all goto and do continue statements and replace them with more modern code syntax. This is a request from NCO across all subroutines that are in UFS.
Some indentation fixes were also included to improve readability.

This is still a work in progress but the changes so far (08/26/2025) have been tested.

Fixes #390
See NOAA-EMC/GFS#19 for more details.

How Has This Been Tested?

The changes are still a work in progress. Changes have been tested against the UFS regression test suite. There are no changes to the baselines and there should be no changes once the PR is ready to be merged.

Checklist:

Please check all whether they apply or not

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

@dpsarmie dpsarmie marked this pull request as draft August 26, 2025 13:25
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.

1 participant