Linear and adjoint boundary layer physics#182
Linear and adjoint boundary layer physics#182tom-j-h wants to merge 118 commits intoMetOffice:mainfrom
Conversation
…j-h/lfric_apps into align_adjoint_tests_to_linear_model
…test_tolerance_nml
…ted. Need to do jedi_tlm_forecast_tl
…test_tolerance_nml
…tests_to_linear_model
…test_tolerance_nml
…tests_to_linear_model
…increment_adjoint_test
ss421
left a comment
There was a problem hiding this comment.
The main thing I noticed is the update to interfaces/jedi_lfric_interface/source/field/atlas_field_interface_mod.F90 that should not be required. I think there might need to be a small modification to the way that the LS fields are created. Details in the comments...
Ive also added some minor comments about configuration updates.
These changes are small and should not prevent the code being moved to CR but I would like to see them added before commit.
applications/jedi_lfric_tests/example_tlm_forecast_tl/configuration.nml
Outdated
Show resolved
Hide resolved
applications/jedi_lfric_tests/example_tlm_forecast_tl/configuration.nml
Outdated
Show resolved
Hide resolved
applications/jedi_lfric_tests/rose-meta/jedi_tlm_tests/HEAD/rose-meta.conf
Show resolved
Hide resolved
interfaces/jedi_lfric_interface/source/field/atlas_field_interface_mod.F90
Outdated
Show resolved
Hide resolved
interfaces/jedi_lfric_interface/source/field/jedi_lfric_linear_fields_mod.f90
Show resolved
Hide resolved
…test_tolerance_nml
…tests_to_linear_model
…increment_adjoint_test
|
@cjohnson-pi I believe I have addressed everything (we discussed some of it on Teams/email). I have left state_star as an array of fields of bundle_size, even though only the u field is used, as I assume the others may be used by future physics schemes. But only the u field is passed to tl_bdy_lyr_alg, as requested I checked that linear_model outputs did not change as a result of the significant refactoring, to make sure no mistakes were made. Running developer suite again now and will attach new trac.log when complete. |
Science review 3Essential:
Non-essential:
|
Thanks, done and checked via GUI.
Have modified C224 opt config for this. KGO will still change since (On second thoughts, the C224 run might not be okay without some kind of stabiliser; running also with old stabiliser at https://cylchub/services/cylc-review/taskjobs/tom.hill/?suite=tlad_boundary_layer-linear_model_ex1a_weekly%2Frun2).
Waiting on this from Tim.
Okay, thanks. Still haven't got to grips with Rose to be quite honest. There is a test branch linked above where apply_macros.py was run. |
|
This requires a small JEDI update. @tom-j-h will provide this. Captured in the next release PR here: https://github.com/JCSDA-internal/lfric-jedi/pull/1206 |
|
Thanks for responding to my many science review requests. I am very happy to approve and for this to go to code review. |
…tests_to_linear_model
…increment_adjoint_test
|
@cjohnson-pi the bot keeps moving this back to Sci Tech Review in the tracker. I think you'll need to give an approving review via GitHub (Files changed -> Submit review -> Approve). @mo-marqh, please be aware that this approval was given before the deadline on Friday! |
PR Summary
Sci/Tech Reviewer: @cjohnson-pi
Code Reviewer: @mo-marqh
This development is described on an old trac ticket: https://code.metoffice.gov.uk/trac/lfric_apps/ticket/682. This includes many links to the details of the scheme, as well as plots of results. In particular, https://wwwspice/~tim.payne/docs/4D-Var/PF/TL_BL_2025/TL_BL_2025.html has links to relevant VSDP documents.
Development was done by Tim Payne - I am simply taking the old fcm branch and creating this GitHub PR.
PLEASE NOTE - this is a follow-on to #163. The branch was created from #163's branch in my fork, but I can't make a PR into that branch because then I would be stuck in my fork. So, to look at the actual changes relevant to this PR alone, look at the diff of this branch with #161's branch: tom-j-h/lfric_apps@jelf_C224_adjoint_tests...tom-j-h:lfric_apps:tlad_boundary_layer
PLEASE ALSO NOTE - #163 is blocked by #161 which is blocked by #156 which relies on MetOffice/lfric_core#227, so when testing, I used this Core branch.
The change includes new files to be added to
BIG_DATA_DIR- see paths to files in /data/users/tim.payne/ in changes. Essentially it is just:/data/users/tim.payne/lfric_apps/files/final_ls_with_land.nc(on SPICE)/data/users/tim.payne/lfric_apps/files/final_2021060200-2021060207.nc(on EX, for weekly C224 test)Also need KGO update for this weekly test: https://cylchub/services/cylc-review/taskjobs/tom.hill/?suite=tlad_boundary_layer-linear_model_ex1a_weekly%2Frun3
Test branch: https://github.com/tom-j-h/lfric_apps/tree/tlad_boundary_layer-test
Code Quality Checklist
Testing
trac.log
Test Suite Results - lfric_apps - tlad_boundary_layer-developer/run20
Suite Information
Task Information
❌ failed tasks - 12
⌛ waiting tasks - 2
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