Inland basin flow coupling#401
Conversation
|
Currently run_lfric_coupled_nwp_gal9-C48_ex1a_cce_fast-debug-64bit fails with: |
|
I'm on leave currently. I'll need to review when I return on 23rd April. |
Did you get to the bottom of this Dan Copsey (@DanCopsey)? |
I did get to the bottom of it and fixed it. The problem was inland_outflow_rp (and rivers_outflow_rp) was not being initialised to zero (but being initialised to rmdi instead). I fixed it with this change: https://github.com/MetOffice/jules/commit/a2f80cb9342dddcb464c1909344b6ca5d74626de If it is a coupled model then it makes it a requirement that these fields are initialised to something (using add_to_list). If they are not sent to add_to_list then they will be initialised with rmdi (so I have corrected the warning message which was issuing the wrong warning). |
… enable this branch to go on trunk and we can add it back into rose-stem later.
James Bruten (james-bruten-mo)
left a comment
There was a problem hiding this comment.
Macro looks good
…esults even when turned off as it also includes a bug fix which is the multiplying of runoff by flandg in jules_extra_kernel_mod.F90
|
This code change still changes results in the coupled model even when inland basin flow coupling is turned off as it also includes a bug fix which is the multiplying of runoff by flandg (land fraction) in jules_extra_kernel_mod.F90. I have updated the KGOs in this chanegset: I think my work here is done. Passing back to Maggie for Sci/tech review. |
…ll request MetOffice#505 goes on trunk. MetOffice#505 adds all the other coupling variables but inland basin flow will be missing from MetOffice#505.
Maggie (maggiehendry)
left a comment
There was a problem hiding this comment.
I'm just about finished with your tickets. Just one query in the LFRic apps changes.
There was a problem hiding this comment.
Do the changes to the checksums need reverting?
There was a problem hiding this comment.
Hi Maggie (@maggiehendry) . The change to the checksums is still needed as there was a bug in the runoff that this branch also fixes. The runoff should be multiplied by the land fraction in order to conserve water. This changes results. See lines 1058 to 1061 of jules_extra_kernel_mod.F90:
I will also add this to the ticket description.
Dan.
There was a problem hiding this comment.
Oh yes. I remembering seeing the runoff multiplied by land fraction. Thanks.
Maggie (maggiehendry)
left a comment
There was a problem hiding this comment.
Thanks Dan Copsey (@DanCopsey). This is now good to go 😄.
|
Hi Dan Copsey (@DanCopsey) |
|
Hi James Bruten (@james-bruten-mo) , |
PR Summary
Sci/Tech Reviewer: Maggie (@maggiehendry)
Code Reviewer: Erica Neininger (@ericaneininger)
Receive inland basin flow from the rivers executable via OASIS and transfer that water into JULES to end up in the soil.
Code Quality Checklist
Testing
trac.log
Test Suite Results - lfric_apps - lfric_test_inland_flow/run5
Suite Information
Task Information
✅ succeeded tasks - 1165
Security Considerations
Performance Impact
AI Assistance and Attribution
Documentation
PSyclone Approval
Sci/Tech Review
(Please alert the code reviewer via a tag when you have approved the SR)
Code Review