Commit f68ffdb
Ufs dev pr367 (NCAR#1223)
* update standard names to move Xgrs to physics_timestep_initial* and remove *_of_new_state (default name refers to 'current' value)
* fix a few unchanged standard names
* change some timestep_initial variables to general variables; make satmedmfvdifq return new tendencies and new tendency application block in GFS_PBL_generic_post
* Refactor physics tendency calculations
- Added tendency variables (`ten_t`, `ten_u`, `ten_v`) for temperature and wind tendencies in SAMF deep and shallow convection schemes.
- Updated relevant `.meta` files to reflect changes in variable intent (`inout` -> `in` where appropriate) and added tendencies.
- Modified Interstitials (`GFS_DCNV_generic_post`, `GFS_DCNV_generic_pre`, `GFS_SCNV_generic_post`, `GFS_SCNV_generic_pre`) to directly use tendencies instead of saved state variables.
- Removed redundant saved variables (`save_u`, `save_v`, `save_t`).
- Added `delt` to post interstitials.
* update unified_ugwp, ugwpv1, and drag_suite to use new tendency code
* save tendency work with GFS_photochemistry
* add tracer tendency changes to convection; fix typos in GFS_photochemistry
* fix typo in samfdeepcnv.f
* save tendency work with Thompson MP
* save tendency work with radiation
* add FMS to ccpp-physics CMakeLists.txt for fv3
* add initial setting of state in GFS_time_vary_pre.fv3; fix horizontal_dimension in GFS_time_vary_pre.scm
* fix metadata in GFS_time_vary_pre.fv3
* add momentum tendency output to mp_thompson and fix intent in metadata
* fix array size bug in mp_thompson.F90; cleanup dtend code using new tendency paradigm; cleanup saving of states no longer needed
* fix improperly-merged conflict resolution in GFS_photochemistry.F90
* fix access of ntlnc/ntinc access of tracer array when missing
* convert many RAD, PBL, GWD, CONV, and MP schemes to return tendencies
* convert MG micro and Arakawa-Wu adjustment schemes
* convert MYNNEDMF PBL scheme to return tendencies
* add changes to MYNN EDMF PBL
* add back divide-by-zero bugfix in module_sf_noahmp_glacier.F90 that was removed recently
* remove obsolete interstitial schemes
* fix 2 minor compilation issues after testing with UFS RTs
* fix bug in MG MP
* fix near-surface air temperature standard name in GFS_surface_composites_pre
* apply tendency cleanup to GFDLMPv3 and TEMPO
* fix compilation error
* fix typo in TEMPO
* debug sgscloud_radpre/post
* remove tendency application code from rrtmg_lw/sw_post
* change thmpsn to thompson to fix compilation error
* fix compilation errors in GFS_radiation_post.F90
* remove Zhao-Carr cloud schemes and combine Xu-Randall cloud fraction calculations
* fix array size problem in cs_conv.F90
* refactor RAS tendencies
* fix compilation error in rascnv.F90
* change Xu-Randall cloud fraction scheme to be elemental
* Fixed too-high lower bound for SMC
Deleted code associated with already removed print statements
Deleted excess comments.
* use new cld_frac_XuRandall function from module_radiation_clouds in RRTMGP scheme
* Tidy-up for PR.
* modify the cld_frac_XuRandall function call in RRTMGP scheme
* Changes to the post L-IAU checks:
* Change tfreeze to match that in NoahMP
* Only set SLC to SMC if temp newly > tfreez
* add the repository update to this PR
* Revert "add the repository update to this PR"
This reverts commit 565d62c.
* fix bug in GFDLMPv3 tendency implementation
* remove the printing tests
* remove Zhao-Carr schemes from modules in the UFS_SCM_NEPTUNE directory
* remove Zhao-Carr microphysics scheme from physics/MP directory
* fix hail tendency changes from reviewer suggestions
* fix indexing bug in cu_tiedtke caught in code review
* changes to RAS tendency application update code from code review
* check for flag_for_generic_tendency_due_to_gravity_wave_drag before computing diagnostic tendencies in drag_suite
* fix diagnostic tendency bug in physics/GWD/ugwpv1_gsldrag.F90
* remove unused arguments in physics/GWD/ugwpv1_gsldrag_post.F90
* fix tendency diagnostics in physics/GWD/unified_ugwp.F90
* fix merge problem in mp_thompson.meta
* add arguments to drag_suite_run called outside of ccpp entry point
* initialize dclw variables in cu_ntiedtke
* fix loop bounds for ten_q in cu_gf_driver.F90
* fix loop bounds in cu_c3_driver
* fix new_q typo in mp_fer_hires.F90
* deallocate locally-allocated variables in MP schemes
* update zeroing logic in m_micro_post after review
* Update for 10m wind option in fire_behavior module
* remove non-ASCII character in canopy_levs.F90 (from previous PR)
* Updates to progomega option of saSAS convection scheme
* Correction
* correction 2
* fix line in SHOC where a tracer was being updated directly
* remove old_ozone array since it was not being used
* deallocate local variables in satmedmfvdifq at end of run phase
* save temperature before modification to pass in to diagnostics in GFS_radiation_post
* Remove goto in physics/MP/Morrison_Gettelman/aer_cloud.F
* Remove goto in physics/Radiation/radiation_clouds.f
* fix diagnostic temp tendency in GFS_MP_generic.F90 for when radar is/isn't available
* Correct parameter setting in samfshalcnv to pass debug runs
* Name END DO
* Remove goto physics/MP/calpreciptype.f90
* Remove goto physics/MP/Morrison_Gettelman/cldwat2m_micro.F
* Start goto physics/SFC_Models/Land/RUC/module_sf_ruclsm.F90
* Remove goto physics/SFC_Layer/UFS/module_nst_model.f90
* address saturation vapor pressure out of bounds error in hafs_4_nest RT
* update long names to remove 'updated by physics'; change prognostic updraft standard names
* remove additional references to Zhao-Carr microphysics
* remove Zhao-Carr references from GFS_scnv_generic_post
* fix deallocation statement in Thompson MP
* Remove go to physics/CONV/C3/cu_c3_sh.F90
* Remove go to physics/PBL/MYJ/module_BL_MYJPBL.F90
* Remove goto physics/MP/Morrison_Gettelman/wv_saturation.F
* Again physics/MP/Morrison_Gettelman/wv_saturation.F
* physics/MP/Morrison_Gettelman/wv_saturation.F
* Typo
* Remove goto physics/CONV/C3/cu_c3_deep.F90
* Remove go to physics/CONV/RAS/rascnv.F90
* Typo rascnv.F90
* physics/SFC_Layer/GFDL/gfdl_sfc_layer.F90
* physics/CONV/Grell_Freitas/cu_gf_sh.F90
* Typo module_BL_MYJPBL.F90
* physics/SFC_Layer/MYJ/module_SF_JSFC.F90
* First pass physics/CONV/Grell_Freitas/cu_gf_deep.F90
* physics/CONV/Grell_Freitas/cu_gf_deep.F90
* physics/GWD/ugwp_driver_v0.F
* physics/MP/Thompson/module_mp_thompson.F90
* physics/PBL/MYNN_EDMF/module_bl_mynn.F90
* physics/MP/GFDL/v1_2019/gfdl_cloud_microphys_mod.F90
* physics/MP/GFDL/v3_2022/gfdl_cloud_microphys_v3_mod.F90
* Fix compile physics/Radiation/radiation_clouds.f
* Compile fixes
* Fix for 73 character limit line
* Compile fix
* Start physics/SFC_Models/Land/RUC/module_sf_ruclsm.F90
* physics/SFC_Models/Land/Noahmp/module_sf_noahmplsm.F90
* fix additional warnings
* Fix compile hafsw wcoss2
* Revert rascnv so control_ras_intel b4b on wcoss2
* remove whitespace changes in radiation_clouds.f
---------
Co-authored-by: Grant Firl <grant.firl@noaa.gov>
Co-authored-by: VanderleiVargas-NOAA <vanderlei.vargas@noaa.gov>
Co-authored-by: Qingfu Liu <Qingfu.Liu@noaa.gov>
Co-authored-by: Clara.Draoper-NOAA <clara.draper@noaa.gov>
Co-authored-by: Michael Kavulich, Jr <kavulich@ucar.edu>
Co-authored-by: Lisa <lisa.bengtsson@noaa.gov>
Co-authored-by: Nicholas Szapiro <149816583+NickSzapiro-NOAA@users.noreply.github.com>
Co-authored-by: Rhae Sung Kim <rhaesung.kim@noaa.gov>
Co-authored-by: Nick Szapiro <nick.szapiro@noaa.gov>
Co-authored-by: Nick Szapiro <nick.szapiro@clogin06.cactus.wcoss2.ncep.noaa.gov>
Co-authored-by: Grant Firl <grant@Macbook-Air-M4.local>1 parent 01edf9f commit f68ffdb
20 files changed
Lines changed: 570 additions & 592 deletions
File tree
- physics
- CONV
- C3
- Grell_Freitas
- GWD
- MP
- GFDL
- v1_2019
- v3_2022
- Morrison_Gettelman
- Thompson
- PBL
- MYJ
- MYNN_EDMF
- Radiation
- SFC_Layer
- GFDL
- MYJ
- UFS
- SFC_Models/Land
- Noahmp
- RUC
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
747 | | - | |
| 747 | + | |
748 | 748 | | |
749 | 749 | | |
750 | | - | |
751 | 750 | | |
752 | 751 | | |
753 | 752 | | |
754 | 753 | | |
755 | 754 | | |
756 | 755 | | |
757 | | - | |
| 756 | + | |
758 | 757 | | |
759 | 758 | | |
760 | | - | |
761 | 759 | | |
762 | 760 | | |
763 | 761 | | |
| |||
770 | 768 | | |
771 | 769 | | |
772 | 770 | | |
773 | | - | |
| 771 | + | |
774 | 772 | | |
775 | 773 | | |
776 | 774 | | |
| |||
783 | 781 | | |
784 | 782 | | |
785 | 783 | | |
786 | | - | |
| 784 | + | |
787 | 785 | | |
788 | 786 | | |
789 | 787 | | |
| |||
1013 | 1011 | | |
1014 | 1012 | | |
1015 | 1013 | | |
1016 | | - | |
| 1014 | + | |
1017 | 1015 | | |
1018 | 1016 | | |
1019 | 1017 | | |
| |||
1024 | 1022 | | |
1025 | 1023 | | |
1026 | 1024 | | |
1027 | | - | |
| 1025 | + | |
1028 | 1026 | | |
1029 | 1027 | | |
1030 | 1028 | | |
1031 | | - | |
| 1029 | + | |
1032 | 1030 | | |
1033 | 1031 | | |
1034 | 1032 | | |
| |||
2670 | 2668 | | |
2671 | 2669 | | |
2672 | 2670 | | |
2673 | | - | |
2674 | | - | |
| 2671 | + | |
| 2672 | + | |
2675 | 2673 | | |
2676 | 2674 | | |
2677 | 2675 | | |
| |||
2680 | 2678 | | |
2681 | 2679 | | |
2682 | 2680 | | |
2683 | | - | |
| 2681 | + | |
2684 | 2682 | | |
2685 | 2683 | | |
2686 | 2684 | | |
| |||
3632 | 3630 | | |
3633 | 3631 | | |
3634 | 3632 | | |
3635 | | - | |
| 3633 | + | |
3636 | 3634 | | |
3637 | 3635 | | |
3638 | 3636 | | |
3639 | 3637 | | |
3640 | 3638 | | |
3641 | | - | |
| 3639 | + | |
3642 | 3640 | | |
3643 | 3641 | | |
3644 | 3642 | | |
| |||
3654 | 3652 | | |
3655 | 3653 | | |
3656 | 3654 | | |
3657 | | - | |
3658 | | - | |
3659 | | - | |
3660 | | - | |
3661 | | - | |
3662 | | - | |
| 3655 | + | |
| 3656 | + | |
| 3657 | + | |
| 3658 | + | |
| 3659 | + | |
| 3660 | + | |
| 3661 | + | |
| 3662 | + | |
3663 | 3663 | | |
3664 | | - | |
| 3664 | + | |
3665 | 3665 | | |
3666 | | - | |
3667 | | - | |
3668 | | - | |
3669 | | - | |
3670 | | - | |
3671 | | - | |
3672 | | - | |
3673 | | - | |
| 3666 | + | |
| 3667 | + | |
| 3668 | + | |
| 3669 | + | |
| 3670 | + | |
3674 | 3671 | | |
3675 | | - | |
3676 | | - | |
3677 | | - | |
3678 | | - | |
3679 | | - | |
3680 | | - | |
3681 | | - | |
| 3672 | + | |
| 3673 | + | |
| 3674 | + | |
| 3675 | + | |
| 3676 | + | |
| 3677 | + | |
| 3678 | + | |
| 3679 | + | |
3682 | 3680 | | |
3683 | 3681 | | |
3684 | | - | |
3685 | | - | |
3686 | | - | |
3687 | | - | |
3688 | | - | |
3689 | | - | |
3690 | | - | |
3691 | | - | |
3692 | | - | |
3693 | | - | |
3694 | | - | |
3695 | | - | |
3696 | | - | |
3697 | | - | |
| 3682 | + | |
| 3683 | + | |
| 3684 | + | |
| 3685 | + | |
| 3686 | + | |
| 3687 | + | |
| 3688 | + | |
| 3689 | + | |
| 3690 | + | |
| 3691 | + | |
| 3692 | + | |
| 3693 | + | |
| 3694 | + | |
| 3695 | + | |
| 3696 | + | |
3698 | 3697 | | |
3699 | | - | |
3700 | | - | |
| 3698 | + | |
| 3699 | + | |
3701 | 3700 | | |
3702 | | - | |
3703 | | - | |
3704 | | - | |
3705 | | - | |
3706 | | - | |
| 3701 | + | |
| 3702 | + | |
| 3703 | + | |
| 3704 | + | |
| 3705 | + | |
3707 | 3706 | | |
3708 | | - | |
3709 | | - | |
3710 | | - | |
3711 | | - | |
| 3707 | + | |
| 3708 | + | |
| 3709 | + | |
| 3710 | + | |
3712 | 3711 | | |
3713 | | - | |
| 3712 | + | |
3714 | 3713 | | |
3715 | | - | |
3716 | | - | |
| 3714 | + | |
| 3715 | + | |
| 3716 | + | |
| 3717 | + | |
3717 | 3718 | | |
3718 | | - | |
3719 | | - | |
3720 | | - | |
| 3719 | + | |
| 3720 | + | |
| 3721 | + | |
3721 | 3722 | | |
3722 | 3723 | | |
3723 | 3724 | | |
| |||
3946 | 3947 | | |
3947 | 3948 | | |
3948 | 3949 | | |
3949 | | - | |
| 3950 | + | |
3950 | 3951 | | |
3951 | 3952 | | |
3952 | 3953 | | |
| |||
4815 | 4816 | | |
4816 | 4817 | | |
4817 | 4818 | | |
| 4819 | + | |
| 4820 | + | |
| 4821 | + | |
4818 | 4822 | | |
4819 | 4823 | | |
4820 | 4824 | | |
4821 | 4825 | | |
4822 | 4826 | | |
4823 | | - | |
| 4827 | + | |
4824 | 4828 | | |
4825 | 4829 | | |
4826 | | - | |
4827 | | - | |
4828 | | - | |
| 4830 | + | |
4829 | 4831 | | |
4830 | 4832 | | |
4831 | 4833 | | |
| |||
5774 | 5776 | | |
5775 | 5777 | | |
5776 | 5778 | | |
5777 | | - | |
| 5779 | + | |
5778 | 5780 | | |
5779 | 5781 | | |
5780 | | - | |
5781 | 5782 | | |
5782 | 5783 | | |
5783 | 5784 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
| 414 | + | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
| 417 | + | |
418 | 418 | | |
419 | | - | |
420 | | - | |
| 419 | + | |
421 | 420 | | |
422 | 421 | | |
423 | 422 | | |
| |||
606 | 605 | | |
607 | 606 | | |
608 | 607 | | |
609 | | - | |
| 608 | + | |
610 | 609 | | |
611 | 610 | | |
612 | 611 | | |
| |||
648 | 647 | | |
649 | 648 | | |
650 | 649 | | |
651 | | - | |
| 650 | + | |
652 | 651 | | |
653 | 652 | | |
654 | 653 | | |
655 | 654 | | |
656 | 655 | | |
657 | 656 | | |
658 | | - | |
| 657 | + | |
659 | 658 | | |
660 | 659 | | |
661 | 660 | | |
| |||
725 | 724 | | |
726 | 725 | | |
727 | 726 | | |
728 | | - | |
| 727 | + | |
729 | 728 | | |
730 | 729 | | |
731 | 730 | | |
| |||
0 commit comments