Conversation
|
Will need a linked JEDI PR, I will link it once ready. |
cjohnson-pi
left a comment
There was a problem hiding this comment.
Are you able to check whether the ral weekly tests run with this please? Thanks.
Christine
Yep, I have already run the weekly tests separately, here is the trac.log that shows that everything passes: Test Suite Results - lfric_apps - test_high_order_orog/run9Suite Information
Task Information✅ succeeded tasks - 63 |
jameskent-metoffice
left a comment
There was a problem hiding this comment.
Code owner review approved
|
Hi Tom - just in case you aren't aware, |
I think this is handled with the upgrade macro, no? The rose-stem config changes should be reflected in https://github.com/tommbendall/lfric_apps/pull/8/changes. |
Apologies, you're right that I hadn't test those apps to use the new options. I'll do that now and re-run the test-suites (and update KGOs). This will also need doing for the pre-cursor ticket #179, so I'll do that there too |
No problem and thanks for fixing. I'm aware we have an odd setup of multiple main programs in one "application"! |
|
It looks like this is also glitched and showing the #347 changes in the diff. |
|
Accompanying JEDI PR is now live at: https://github.com/JCSDA-internal/lfric-jedi/pull/1244 |
|
Your CLA signature was found on the base branch, but you appear to have modified the CONTRIBUTORS.md file in this PR. Please do not edit the CONTRIBUTORS.md file. If you have already signed the CLA, revert changes to the file and your signature will be picked up. |
Just to confirm, I've now done this (and for #179). |
PR Summary
Sci/Tech Reviewer: @atb1995
Code Reviewer: @harry-shepherd
This PR implements the capability to represent orography with higher-order finite elements. This allows the heights of cell centres to be match the values defined in the orography ancillary files, and avoids loss of power in the orography from the process of averaging from W3 to W0 points. This has shown a significant improvement in NWP scores.
Please See
This branch is built on the changes in #277 and #179, and until those PRs are merged, the diff on this PR will also include the changes from those branches. I have created PRs in my own fork to show useful diffs for reviewing:
Linked-To
Blocked-By
This branch includes the changes from #277 and #179, which are necessary to use the increased coordinate order efficiently.
Details
The changes in this PR can be summarised as:
surface_altitudefield has a degree that is specified through a new namelist option (and is not inherited fromelement_order)orographynamelist, to make this more coherent by:n_orog_smoothinto theorographynamelist frominitializationw0_orography_mappinginto theorographynamelist and renaming it asw0_multigrid_mappingorography_orderoptioncoord_order=2,orography_order=2andw0_multigrid_mapping=.true.as default for the gungho_model, lfric_atm, lfric_coupled, linear_model and jedi_lfric_tests apps (which updates KGOs)surface_altitude_w0. Previously the W3 field was passed in here, which meant that the mapping from W3 to W0 and a deep halo exchange were duplicated for setting the orography for both the prime and shifted meshessurface_altitude_w0field has the appropriate element ordersurface_altitudefields on other meshes is handled appropriately with the new optionResults
Plots from the gungho_model and lfric_atm test suites for the changes in this PR are shown in the following PDFs. The only significant difference comes in the gungho_model DCMIP mountain test, which shows that the mountain is now being resolved properly.
The use of quadratic coordinate order has shown considerable improvement in NWP scores. For results, see:
Some timing results are shown in the following table. The change to use
coord_order=2will increase costs for the calculation of the runtime constants, and parts of the timestep that usechi:map_physics_fieldsand the conversions between the W2 wind field and Cartesian components for transport, but this table shows that the increase in runtime is small (1-3% of timestepping cost) and should be acceptable for the level of scientific improvement.coord_space='Wchi',coord_order=1coord_space='Wtheta',coord_order=1coord_space'Wtheta',coord_order=2Code Quality Checklist
Testing
trac.log
Test Suite Results - lfric_apps - test_high_order_orog/run12
Suite Information
Task Information
✅ succeeded tasks - 1511
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