Skip to content

Snow cover fraction for Advancing Arctic Capabilities Programme#105

Open
Richard Essery (RichardEssery) wants to merge 19 commits into
MetOffice:mainfrom
RichardEssery:main
Open

Snow cover fraction for Advancing Arctic Capabilities Programme#105
Richard Essery (RichardEssery) wants to merge 19 commits into
MetOffice:mainfrom
RichardEssery:main

Conversation

@RichardEssery

@RichardEssery Richard Essery (RichardEssery) commented Apr 18, 2026

Copy link
Copy Markdown

PR Summary

Sci/Tech Reviewer:
Code Reviewer: R Sharp (@r-sharp)

Option to have a separate surface energy balance for the snow-covered fraction of short vegetation and bare soil tiles

Code Quality Checklist

(Some checks are automatically carried out via the CI pipeline)

  • I have performed a self-review of my own code
  • My code follows the project's style guidelines
  • Comments have been included that aid undertanding and enhance the
    readability of the code
  • My changes generate no new warnings
  • If editing rose-meta/jules-shared then have you supplied a linked UM PR?

Testing

  • I have tested this change locally, using the JULES rose-stem suite
  • If shared files have been modified, I have run the UM and LFRic Apps rose
    stem suites
  • If any tests fail (rose-stem or CI) the reason is understood and
    acceptable (eg. kgo changes)
  • I have added tests to cover new functionality as appropriate (eg. system
    tests, unit tests, etc.)

trac.log

Security Considerations

  • I have reviewed my changes for potential security issues
  • Sensitive data is properly handled (if applicable)
  • Authentication and authorisation are properly implemented (if applicable)

Performance Impact

  • Performance of the code has been considered and, if applicable, suitable
    performance measurements have been conducted

AI Assistance and Attribution

  • Some of the content of this change has been produced with the assistance
    of Generative AI tool name (e.g., Met Office Github Copilot Enterprise,
    Github Copilot Personal, ChatGPT GPT-4, etc) and I have followed the
    Simulation Systems AI policy
    (including attribution labels)

Documentation

  • Where appropriate I have updated documentation related to this change and
    confirmed that it builds correctly

Approvals

Please request all relevant approvals. See the CodeOwners.txt file for section
owners.

Technical

  • JULES Code Owner
  • OpenMP
  • River Routing
  • Rose Stem
  • Rose Metadata
  • Upgrade Macros

Scientific

  • Surface
  • Hydrology
  • Vegetation
  • Veg3 RED Demography
  • Biogechemistry
  • Biogenic fluxes
  • Fire
  • Lakes
  • Evaluation
  • Imogen

Sci/Tech Review

  • I understand this area of code and the changes being added
  • The proposed changes correspond to the pull request description
  • Documentation is sufficient (do documentation papers need updating)
  • Sufficient testing has been completed

Please alert the code reviewer via a tag when you have approved the SR

Code Review

  • All dependencies have been resolved
  • Related Issues have been properly linked and addressed
  • CLA compliance has been confirmed
  • Code quality standards have been met
  • Tests are adequate and have passed
  • Documentation is complete and accurate
  • Security considerations have been addressed
  • Performance impact is acceptable

@github-actions github-actions Bot added the cla-required The CLA has not yet been signed by the author of this PR - added by GA label Apr 18, 2026
@github-actions github-actions Bot added cla-signed The CLA has been signed as part of this PR - added by GA and removed cla-required The CLA has not yet been signed by the author of this PR - added by GA labels Apr 18, 2026
@@ -62,6 +67,7 @@ SUBROUTINE tilepts(land_pts,frac,surft_pts,surft_index,l_lice_point, &
!$OMP elev_ice, elev_rock, l_lice_point, l_lice_surft, &
!$OMP l_elev_land_ice, surft_pts ) &
!$OMP PRIVATE( l, n, c, use_tile )

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
!$OMP PRIVATE( l, n, c, use_tile )
!$OMP PRIVATE( l, n, c, use_tile, snow_tile )

@@ -62,6 +67,7 @@ SUBROUTINE tilepts(land_pts,frac,surft_pts,surft_index,l_lice_point, &
!$OMP elev_ice, elev_rock, l_lice_point, l_lice_surft, &
!$OMP l_elev_land_ice, surft_pts ) &

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
!$OMP l_elev_land_ice, surft_pts ) &
!$OMP l_elev_land_ice, surft_pts, i_snow_tile ) &

@HelenRJohnson

Copy link
Copy Markdown

When I ran the LFRic rose-stem test with this JULES branch there were a few tests that failed due to variables not being included in the OMP statement in the tilepts subroutine. I haven't had a chance to run the UM rose-stem tests yet but I imagine that will produce similar complaints. I've added suggestions for the changes I think are needed to get rid of those errors.

@RichardEssery

Copy link
Copy Markdown
Author

@HelenRJohnson

Copy link
Copy Markdown

Ah, OK, maybe that was just the first subroutine to fail then, I'll check out a copy of the code then and see how many places need variables adding to OMP statements before the tests pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The CLA has been signed as part of this PR - added by GA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants