Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync with ufs/dev #93

Merged
merged 284 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
284 commits
Select commit Hold shift + click to select a range
c0b760e
debug
tsga Apr 10, 2024
43c83a3
Merge branch 'ufs-community:ufs/dev' into feature/lnd_iau
tsga Apr 10, 2024
084b702
Merge branch 'ufs/dev' of https://github.com/ufs-community/ccpp-physi…
climbfuji Apr 10, 2024
3afbaa2
deallocate at noahmpdrv_finalize
Apr 18, 2024
8a8b17b
comment nc mod
Apr 18, 2024
53a98be
Merge branch 'ufs/dev' of https://github.com/ufs-community/ccpp-physi…
climbfuji May 13, 2024
6f6175a
Update MPI communicator in GFS_debug.F90
climbfuji May 13, 2024
833f7dc
HR4 GWD update for files drag_suite.F90 ugwpv1_gsldrag.F90 unified_ug…
Qingfu-Liu May 18, 2024
3342a45
Change code format in file module_sf_noahmplsm.F90
Qingfu-Liu May 19, 2024
e176e67
Merge branch 'ufs/dev' of https://github.com/ufs-community/ccpp-physi…
climbfuji May 22, 2024
e142700
update files noahmpdrv.F90 noahmpdrv.meta module_sf_noahmplsm.F90
Qingfu-Liu May 22, 2024
661c557
Merge branch 'ufs-community:ufs/dev' into feature/lnd_iau
tsga May 22, 2024
31bca4e
test 6-9
HelinWei-NOAA May 22, 2024
9d9036f
mv config up
tsga May 22, 2024
f04a01d
delte _time_vary mods
tsga May 22, 2024
1eb7f7c
update files module_sf_noahmplsm.F90 noahmpdrv.F90 noahmpdrv.meta mod…
Qingfu-Liu May 23, 2024
2e1d906
update files module_sf_noahmplsm.F90 noahmpdrv.F90 noahmpdrv.meta mod…
Qingfu-Liu May 23, 2024
f8b96b5
add nc90 funcs, cleanup, add comments
May 25, 2024
2259ee9
fix the compile problem for HR4-GWD-update
Qingfu-Liu May 26, 2024
e535c80
add soil temp adjustments
May 31, 2024
622aa41
update Noahmp code for HR4
Qingfu-Liu May 31, 2024
6b78332
update GWD code for HR4
Qingfu-Liu May 31, 2024
f94b43d
remove spurious metadata changes in drag_suite.meta
grantfirl May 31, 2024
e591578
remove some unnecessary variables and add some initialization of outputs
grantfirl May 31, 2024
1108aab
fix some units in metadata files
grantfirl Jun 1, 2024
a949a5f
Merge pull request #3 from grantfirl/HR4-GWD-update_gjf
Qingfu-Liu Jun 3, 2024
4ed1b4f
Bug fixes in Thompson MP and CLM Lake found by Dusan
climbfuji Jun 3, 2024
ddbd127
Refactor h2o photochemistry scheme following the ozone photochemistry…
dustinswales Jun 12, 2024
cf89e99
Bug fix
dustinswales Jun 12, 2024
afa2bc0
Use assumed-size arrays in lakeini routine in physics/SFC_Models/Lake…
climbfuji Jun 13, 2024
25358b9
read fv3 increments
Jun 13, 2024
a446fec
Some bugfixes
dustinswales Jun 13, 2024
99c02ef
Now B4B Identical
dustinswales Jun 14, 2024
df9f640
update driver_timestepinit
Jun 17, 2024
ea2f78b
remove duplicte names
Jun 17, 2024
4737da1
remove duplicte names
Jun 17, 2024
bb042f3
remove duplicte names
Jun 17, 2024
2975f64
fix arg_table_noahmpdrv_finalize
tsga Jun 17, 2024
b8883bd
Merge branch 'tmp' into feature/lnd_iau
tsga Jun 17, 2024
d009364
debug
Jun 17, 2024
ae68068
fix error about horizontal dimention
Jun 18, 2024
04e246d
fix error about horizontal dimention
Jun 18, 2024
264eaf3
fix netcdf error
Jun 18, 2024
fb21cc0
fix netcdf error
Jun 18, 2024
9675dc8
fix smc adjustment error
Jun 18, 2024
619fbc5
fix smc adjustment error
Jun 18, 2024
bc0e3ea
fix namelist typo
Jun 19, 2024
7208087
fix netcdf dim error
Jun 19, 2024
c5e52dd
fix netcdf dim error
Jun 19, 2024
1816f72
all changes from test6 to test11
Jun 20, 2024
08c49a6
remove Gaussian files
Jun 20, 2024
bb02763
remove Gaussian files
Jun 20, 2024
651fb26
remove Gaussian files
Jun 20, 2024
0407488
Output updraft value of convective cloud condensate
lisa-bengtsson Jun 20, 2024
e3c9687
debug memory
Jun 20, 2024
c306628
fix fv3 file error
Jun 21, 2024
9a94c57
fix fv3 file error
Jun 21, 2024
f5de22f
fix fv3 file error
Jun 21, 2024
98d872b
add land iau conditions
Jun 22, 2024
f59bf59
add land iau conditions
Jun 22, 2024
f40cebc
add land iau conditions
Jun 22, 2024
efad815
temp comment soilt consistency
Jun 22, 2024
1537ef1
temp comment soilt consistency
Jun 22, 2024
00dc921
retract the changes of the Noahmp model
Qingfu-Liu Jun 22, 2024
e1dae93
temp comment soilt consistency
Jun 22, 2024
d01adf6
temp comment soilt consistency
Jun 22, 2024
e7bb2c3
temp comment soilt consistency
Jun 22, 2024
3fe39b7
fix rdt error
Jun 23, 2024
ed09ad6
-
Jun 23, 2024
0c8ff8e
-
Jun 23, 2024
3656ec5
-
Jun 23, 2024
b744d6c
-
Jun 23, 2024
dbe2d7d
-
Jun 23, 2024
05de695
debug
Jun 23, 2024
820ef5e
clean up
Jun 23, 2024
b46a17f
read mask from file
Jun 24, 2024
3bb397a
revert back to calculating mask
Jun 24, 2024
b73269f
update xkinv1 to 0.15
lisa-bengtsson Jun 25, 2024
891959c
add check if progsigma is true
lisa-bengtsson Jun 25, 2024
de95e37
Output tendency_of_vertically_diffused_tracer_concentration from MYNN…
lisa-bengtsson Jun 26, 2024
10c3427
delete sim_nc
Jun 26, 2024
c6dec90
add optional attribute as necessary to arguments in drag_suite_psl su…
grantfirl Jun 28, 2024
3a361b2
update noahmp table for hr4
Jul 2, 2024
8b6379e
Merge pull request #91 from ufs-community/ufs/dev
HelinWei-NOAA Jul 2, 2024
8103e21
Merge pull request #207 from Qingfu-Liu/HR4-GWD-update
grantfirl Jul 10, 2024
e814940
use explcit array length
Jul 11, 2024
18c769c
use explcit array length
Jul 11, 2024
7644d55
debug print
Jul 11, 2024
c866747
Merge branch 'ufs/dev' of https://github.com/ufs-community/ccpp-physi…
climbfuji Jul 12, 2024
6424492
add fire behavior tendencies to physics
masih-e Oct 18, 2023
26402ca
fire_behavior smoke coupling
masih-e Jan 2, 2024
430e1ae
added fire flag for t2, q2 and surface pres
masih-e May 20, 2024
77ed427
read land snow mask from inc files
Jul 14, 2024
4590b5d
read land snow mask from inc files
Jul 14, 2024
562e6d3
read land snow mask from inc files
Jul 14, 2024
1a936bb
test on adj
Jul 14, 2024
4f17e72
Merge branch 'ufs/dev' of https://github.com/ufs-community/ccpp-physi…
lisa-bengtsson Jul 15, 2024
f53c9ab
print debug info
Jul 15, 2024
80bade7
Merge branch 'ufs/dev' of https://github.com/ufs-community/ccpp-physi…
lisa-bengtsson Jul 15, 2024
e6b68c7
print debug info
Jul 15, 2024
c575a42
print debug info
Jul 15, 2024
3395bba
Merge branch 'ufs/dev' of https://github.com/ufs-community/ccpp-physi…
dustinswales Jul 15, 2024
420317e
Address reviewers comments
dustinswales Jul 15, 2024
ca26670
restrore stc/slc adjustments
Jul 15, 2024
2c0c276
print diff indices
Jul 16, 2024
05227d0
Merge remote-tracking branch 'origin/ufs/dev' into support_intelllvm
DusanJovic-NOAA Jul 16, 2024
1e9b0dd
address seg fault if progsigma=F
lisa-bengtsson Jul 16, 2024
35b15e3
remove unnecessary comments for the snow temperature initialization
Jul 16, 2024
8c89db5
Fixed fire variable definition optional
masih-e Jul 17, 2024
d6490c5
Declare SIG1T as an array in gcycle.F90
DusanJovic-NOAA Jul 18, 2024
119ebbd
bypass _timestep_init
Jul 18, 2024
9bfc305
bypass _timestep_init
Jul 18, 2024
46df080
Merge pull request #216 from lisa-bengtsson/sigcld
grantfirl Jul 19, 2024
3234712
test with hardcoded inc
Jul 19, 2024
432015d
test with hardcoded inc
Jul 19, 2024
62fd97c
test with hardcoded inc
Jul 19, 2024
6c2ac76
test with hardcoded inc
Jul 20, 2024
bde3e05
test with hardcoded inc
Jul 20, 2024
002e029
Merge remote-tracking branch 'upstream/ufs/dev' into land_upgrade_hr4
jkbk2004 Jul 20, 2024
ff3660f
test non-iau increment hardcoded
Jul 21, 2024
6f18f65
test 0 inc double prec
Jul 23, 2024
062b73e
Merge remote-tracking branch 'origin/ufs/dev' into support_intelllvm
DusanJovic-NOAA Jul 23, 2024
2a50ccc
Merge pull request #219 from HelinWei-NOAA/land_upgrade_hr4
grantfirl Jul 23, 2024
9e736da
Merge branch 'ufs/dev' of https://github.com/ufs-community/ccpp-physi…
climbfuji Jul 24, 2024
7c4806b
remove hard-coded test
Jul 24, 2024
29cff05
remove debug prints
Jul 24, 2024
7dbc47d
Merge remote-tracking branch 'origin/ufs/dev' into support_intelllvm
DusanJovic-NOAA Jul 30, 2024
6530674
add stc update and adjustment
Jul 31, 2024
0b41c39
add stc update and adjustment
Jul 31, 2024
0de64dd
zero out too small increments
Aug 5, 2024
a6381f3
zero out too small increments
Aug 6, 2024
97f1b64
Merge branch 'ufs/dev' of https://github.com/ufs-community/ccpp-physi…
lisa-bengtsson Aug 7, 2024
1d9b076
Merge pull request #183 from climbfuji/feature/gfs_debug_update
grantfirl Aug 8, 2024
4a953f3
add comment for single increment
Aug 8, 2024
7319bad
include t2 in update iau call
Aug 8, 2024
f5607ad
set hr6 the only incr file (for testing)
Aug 10, 2024
d0c2cac
add increments at timestep_finalize (for testing)
Aug 14, 2024
b79c7e6
add sec argtable
Aug 14, 2024
4398a95
fix argtable
Aug 15, 2024
4d244ea
input line in namelist for stcsmc adjustment
Aug 16, 2024
1cbaea4
clean up
Aug 20, 2024
598db4b
Merge branch 'ufs/dev' into feature/ufs_fire_cpl_gjf
grantfirl Aug 21, 2024
d45ce2f
Merge branch 'ufs/dev' of https://github.com/ufs-community/ccpp-physi…
lisa-bengtsson Aug 22, 2024
15d0c75
Merge remote-tracking branch 'origin/ufs/dev' into support_intelllvm
DusanJovic-NOAA Aug 22, 2024
ebe335d
Update to the latest ufs/dev branch PR #1
danrosen25 Aug 22, 2024
8a3d61f
Merge branch 'ufs/dev' into combo_213_218
grantfirl Aug 22, 2024
8485c1d
Merge branch 'myc3' into combo_213_218
grantfirl Aug 22, 2024
cde7c10
add missing dimensions attribute for initialized flag
grantfirl Aug 23, 2024
812aefb
fix missing error code initialization
Aug 28, 2024
44700d5
Merge pull request #223 from grantfirl/combo_213_218
dustinswales Aug 29, 2024
5e529a6
Merge remote-tracking branch 'origin/ufs/dev' into support_intelllvm
DusanJovic-NOAA Aug 30, 2024
1af8251
Merge branch 'ufs-community:ufs/dev' into feature/lnd_iau
tsga Sep 3, 2024
9b3dccd
remove namelist filename from iau struct
tsga Sep 4, 2024
5c8eb2f
Merge branch 'ufs/dev' into feature/ufs_fire_cpl
grantfirl Sep 10, 2024
10e1434
use defaults when lnd_iau_nml doesn't exist
tsga Sep 13, 2024
b6c4333
Merge pull request #193 from esmf-org/feature/ufs_fire_cpl
grantfirl Sep 17, 2024
4e6e96c
Merge remote-tracking branch 'origin/ufs/dev' into support_intelllvm
DusanJovic-NOAA Sep 20, 2024
105eca1
Update noahmpdrv.F90
tsga Sep 23, 2024
b4f0ba9
Update noahmpdrv.meta
tsga Sep 23, 2024
d2f9be1
Update noahmpdrv.F90
tsga Sep 23, 2024
6609eac
Update lnd_iau_mod.F90
tsga Sep 23, 2024
dbd3eb4
Update lnd_iau_mod.F90
tsga Sep 23, 2024
3c4fc1a
Update noahmpdrv.F90
tsga Sep 23, 2024
335141f
Update lnd_iau_mod.F90
tsga Sep 26, 2024
c5cf794
add Rhae Sung Kim to CODEOWNERS file
grantfirl Sep 26, 2024
77d2812
Merge pull request #1 from grantfirl/add_rhaesung
DusanJovic-NOAA Sep 26, 2024
5a36313
Merge pull request #220 from DusanJovic-NOAA/support_intelllvm
grantfirl Sep 30, 2024
77714c4
Update noahmpdrv.F90
tsga Oct 2, 2024
28cf85f
Update noahmpdrv.F90
tsga Oct 2, 2024
156fb4e
Update noahmpdrv.meta
tsga Oct 2, 2024
bfbb35d
Update noahmpdrv.meta
tsga Oct 2, 2024
3fb5fa2
"MYNN, GF, RUC LSM and smoke plumerise updates for RRFSv1 code freeze"
haiqinli Feb 23, 2024
8a06e99
"Move the suppressing of weak radar reflectvity over water into GF, a…
haiqinli Feb 26, 2024
14afff2
"update to address code reviewer's comments"
haiqinli Feb 27, 2024
d5842b6
fix merge error in GFS_MP_generic_post.F90
grantfirl Oct 4, 2024
b4bb1fc
Merge branch 'ufs/dev' into feature/lnd_iau_gjf
grantfirl Oct 8, 2024
7188fc8
move declaration of land_iau_mod DDT instances from CCPP physics to h…
grantfirl Oct 9, 2024
bf3e1e1
add metadata for land IAU types
grantfirl Oct 9, 2024
4782f68
fix compilation errors
grantfirl Oct 9, 2024
e07ba94
Merge pull request #1 from grantfirl/feature/lnd_iau_gjf
tsga Oct 10, 2024
6e3bc2f
set land_iau_control from host
Oct 15, 2024
1a67785
calculate snowsoil mask at runtime
Oct 16, 2024
c58be12
combine DDTs holding increments; get rid of scheme level global array
Oct 16, 2024
590bb80
modify subroutines set/update increments
Oct 16, 2024
e98f8d8
default weight factors
Oct 17, 2024
89a1d0b
move weight factors to _IAU_Data
Oct 17, 2024
fa3591e
update noahmpdrv meta
Oct 17, 2024
f3eeb34
Merge pull request #226 from grantfirl/rrfsv1-to-ufs/dev1
dustinswales Oct 18, 2024
a9c44e6
fix time interval bounds
Oct 20, 2024
28dc544
handle valid time range better
Oct 20, 2024
7cac448
minor edit
Oct 20, 2024
2097bd0
do netcdf error handling inside get_var3d_values
Oct 21, 2024
403312a
error handling for read_iau_forcing_fv3
Oct 21, 2024
df8ed48
remove redeclared constants in _timestep_int
Oct 21, 2024
4c78f46
fix compilation errors
Oct 21, 2024
7e2d83b
fix some optional arugments
grantfirl Oct 24, 2024
5bdca0d
fix some more optional variables
grantfirl Oct 24, 2024
0678f44
fix another optional argument in RUC LSM
grantfirl Oct 24, 2024
88c9df5
Merge branch 'thompson_refactor_RRFS' into rrfsv1-to-ufs/dev3
grantfirl Oct 28, 2024
f25bf2d
clean up, remove debug print outs
Oct 29, 2024
941323b
restore if (cpllnd .and. cpllnd2atm) check
tsga Oct 29, 2024
753676c
clean noahmpdrv
Oct 29, 2024
769a509
Merge branch 'feature/lnd_iau' of https://github.com/tsga/ccpp-physic…
Oct 29, 2024
ee1b463
remove debug prints
Oct 29, 2024
228c550
"Update MYNN PBL for RRFS.v1"
haiqinli Mar 5, 2024
728ecf1
"smoke updates for RRFS.v1"
haiqinli Mar 13, 2024
5048dbb
"update to address UFS reviewer's comments"
haiqinli Mar 13, 2024
dac2f23
"merge physics PR #186 from Jili"
haiqinli Mar 14, 2024
5d1a4aa
Fix improperly assigned fire emissions for ebb_dcycle==1 for retrospe…
jordanschnell Mar 28, 2024
84cddc3
Update noahmpdrv.F90
tsga Oct 30, 2024
e428689
Update noahmpdrv.F90
tsga Oct 30, 2024
cd03ce7
Update noahmpdrv.F90
tsga Oct 30, 2024
1442fdb
Update noahmpdrv.F90
tsga Oct 30, 2024
9b88ec3
Update noahmpdrv.F90
tsga Oct 30, 2024
3672889
Update noahmpdrv.F90
tsga Oct 30, 2024
a61f437
Update noahmpdrv.F90
tsga Oct 30, 2024
71ab425
Update noahmpdrv.F90
tsga Oct 30, 2024
ec2a299
Update noahmpdrv.F90
tsga Oct 30, 2024
1391585
change DDTs in noahmpdrv_init to optional
Oct 30, 2024
b008e25
update noahmpdrv.meta for edits to accomodate component model NoahMP
Oct 30, 2024
ebb7b6b
fix compile error
Oct 30, 2024
3b683ad
Merge branch 'ufs-community:ufs/dev' into feature/lnd_iau
tsga Oct 30, 2024
db2c10f
fix real type for mask
tsga Oct 31, 2024
002a886
Merge pull request #228 from grantfirl/rrfsv1-to-ufs/dev2
rhaesung Nov 8, 2024
0797b1a
Merge branch 'ufs/dev' into rrfsv1-to-ufs/dev3
grantfirl Nov 8, 2024
cf1bb8d
Merge branch 'ufs/dev' into rrfsv1-to-ufs/dev4
grantfirl Nov 8, 2024
ebc3fb3
add optional to two variables in rrfs_smoke_wrapper
grantfirl Nov 9, 2024
eac6b9a
Merge branch 'ufs/dev' into feature/lnd_iau
tsga Nov 13, 2024
4403bf8
Merge branch 'ufs/dev' into rrfsv1-to-ufs/dev5
grantfirl Nov 13, 2024
82f1ec3
add optional=True for lndiau ddts
Nov 15, 2024
13e8e78
clean lnd_iau_mod
Nov 15, 2024
b9e0429
clean noahmpdrv_timestep_init
Nov 15, 2024
4343656
combine use lnd_iau_mod lines
Nov 15, 2024
cfa1861
Merge pull request #222 from tsga/feature/lnd_iau
grantfirl Nov 18, 2024
3d47543
Merge branch 'ufs/dev' into rrfsv1-to-ufs/dev3
grantfirl Nov 21, 2024
9dffb7e
fix trailing whitespace in mp_thompson.F90
grantfirl Nov 21, 2024
6e0467a
Merge pull request #229 from grantfirl/rrfsv1-to-ufs/dev3
rhaesung Nov 25, 2024
c2fb52e
Merge branch 'ufs/dev' into rrfsv1-to-ufs/dev4
grantfirl Dec 2, 2024
c69a7c3
Merge branch 'ufs/dev' into rrfsv1-to-ufs/dev5
grantfirl Dec 2, 2024
dab57fc
Merge pull request #230 from grantfirl/rrfsv1-to-ufs/dev4
grantfirl Dec 5, 2024
66a3fea
"update deep soil temperature of RUC LSM"
haiqinli Jun 26, 2024
b7db853
"Update to scale the RAVE fire emission and duirnal cycle of agriculu…
haiqinli Jul 23, 2024
409df9b
remove comment
grantfirl Dec 5, 2024
5d7c8f1
Merge branch 'ufs/dev' into rrfsv1-to-ufs/dev5
grantfirl Dec 6, 2024
2594a9e
add back Anning's change to evaporation in Thompson when using MERRA2…
grantfirl Dec 6, 2024
dfad42f
Merge pull request #231 from grantfirl/rrfsv1-to-ufs/dev5
grantfirl Dec 30, 2024
92f1ad0
Merge branch 'ufs/dev' into rrfsv1-to-ufs/dev7
grantfirl Dec 30, 2024
a7fe01c
Merge pull request #236 from grantfirl/rrfsv1-to-ufs/dev7
rhaesung Jan 3, 2025
fa3f1ce
Merge branch 'ufs/dev' into rrfsv1-to-ufs/dev8
grantfirl Jan 3, 2025
24643b0
Merge pull request #237 from grantfirl/rrfsv1-to-ufs/dev8
rhaesung Jan 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,10 @@ SET_PROPERTY(SOURCE ${SCHEMES} ${CAPS}
APPEND_STRING PROPERTY COMPILE_FLAGS " ${CMAKE_Fortran_FLAGS_PHYSICS} ${OpenMP_Fortran_FLAGS}")

# Lower optimization for certain schemes when compiling with Intel in Release mode
if(CMAKE_BUILD_TYPE STREQUAL "Release" AND ${CMAKE_Fortran_COMPILER_ID} STREQUAL "Intel")
if(CMAKE_BUILD_TYPE STREQUAL "Release" AND (${CMAKE_Fortran_COMPILER_ID} STREQUAL "Intel" OR ${CMAKE_Fortran_COMPILER_ID} STREQUAL "IntelLLVM"))
# Define a list of schemes that need lower optimization with Intel in Release mode
set(SCHEME_NAMES_LOWER_OPTIMIZATION module_sf_mynn.F90
module_mp_nssl_2mom.F90
mynnedmf_wrapper.F90
gcycle.F90)
foreach(SCHEME_NAME IN LISTS SCHEME_NAMES_LOWER_OPTIMIZATION)
Expand All @@ -156,7 +157,7 @@ if(CMAKE_BUILD_TYPE STREQUAL "Release" AND ${CMAKE_Fortran_COMPILER_ID} STREQUAL
endif()

# No optimization for certain schemes when compiling with Intel in Release mode
if(CMAKE_BUILD_TYPE STREQUAL "Release" AND ${CMAKE_Fortran_COMPILER_ID} STREQUAL "Intel")
if(CMAKE_BUILD_TYPE STREQUAL "Release" AND (${CMAKE_Fortran_COMPILER_ID} STREQUAL "Intel" OR ${CMAKE_Fortran_COMPILER_ID} STREQUAL "IntelLLVM"))
# Define a list of schemes that can't be optimized with Intel in Release mode
set(SCHEME_NAMES_NO_OPTIMIZATION GFS_typedefs.F90)
foreach(SCHEME_NAME IN LISTS SCHEME_NAMES_NO_OPTIMIZATION)
Expand Down
362 changes: 180 additions & 182 deletions CODEOWNERS

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions physics/CONV/Grell_Freitas/cu_gf_deep.F90
Original file line number Diff line number Diff line change
Expand Up @@ -425,9 +425,9 @@ subroutine cu_gf_deep_run( &
integer :: turn,pmin_lev(its:ite),start_level(its:ite),ktopkeep(its:ite)
real(kind=kind_phys), dimension (its:ite,kts:kte) :: dtempdz
integer, dimension (its:ite,kts:kte) :: k_inv_layers
real(kind=kind_phys), dimension (its:ite) :: c0 ! HCB
real(kind=kind_phys), dimension (its:ite) :: c0, rrfs_factor ! HCB
real(kind=kind_phys), dimension (its:ite,kts:kte) :: c0t3d ! hli for smoke/dust wet scavenging
!$acc declare create(pmin_lev,start_level,ktopkeep,dtempdz,k_inv_layers,c0,c0t3d)
!$acc declare create(pmin_lev,start_level,ktopkeep,dtempdz,k_inv_layers,c0,rrfs_factor,c0t3d)

! rainevap from sas
real(kind=kind_phys) zuh2(40)
Expand Down Expand Up @@ -486,6 +486,7 @@ subroutine cu_gf_deep_run( &
! Set cloud water to rain water conversion rate (c0)
!$acc kernels
c0(:)=0.004
rrfs_factor(:)=1.
do i=its,itf
xland1(i)=int(xland(i)+.0001) ! 1.
if(xland(i).gt.1.5 .or. xland(i).lt.0.5)then
Expand All @@ -495,6 +496,7 @@ subroutine cu_gf_deep_run( &
if(imid.eq.1)then
c0(i)=0.002
endif
if(kdt.le.(4500./dtime))rrfs_factor(i)=1.-(float(kdt)/(4500./dtime)-1.)**2
enddo
!$acc end kernels

Expand Down Expand Up @@ -591,7 +593,6 @@ subroutine cu_gf_deep_run( &
sig(i)=(1.-frh)**2
!frh_out(i) = frh
if(forcing(i,7).eq.0.)sig(i)=1.
if(kdt.le.(3600./dtime))sig(i)=1.
frh_out(i) = frh*sig(i)
enddo
!$acc end kernels
Expand Down Expand Up @@ -2029,7 +2030,7 @@ subroutine cu_gf_deep_run( &
zuo,pre,pwo_ens,xmb,ktop, &
edto,pwdo,'deep',ierr2,ierr3, &
po_cup,pr_ens,maxens3, &
sig,closure_n,xland1,xmbm_in,xmbs_in, &
sig,closure_n,xland1,xmbm_in,xmbs_in,rrfs_factor, &
ichoice,imid,ipr,itf,ktf, &
its,ite, kts,kte, &
dicycle,xf_dicycle )
Expand Down Expand Up @@ -4056,7 +4057,7 @@ subroutine cup_output_ens_3d(xff_mid,xf_ens,ierr,dellat,dellaq,dellaqc, &
zu,pre,pw,xmb,ktop, &
edt,pwd,name,ierr2,ierr3,p_cup,pr_ens, &
maxens3, &
sig,closure_n,xland1,xmbm_in,xmbs_in, &
sig,closure_n,xland1,xmbm_in,xmbs_in,rrfs_factor, &
ichoice,imid,ipr,itf,ktf, &
its,ite, kts,kte, &
dicycle,xf_dicycle )
Expand Down Expand Up @@ -4118,7 +4119,7 @@ subroutine cup_output_ens_3d(xff_mid,xf_ens,ierr,dellat,dellaq,dellaqc, &
,intent (inout) :: &
ierr,ierr2,ierr3
integer, intent(in) :: dicycle
real(kind=kind_phys), intent(in), dimension (its:ite) :: xf_dicycle
real(kind=kind_phys), intent(in), dimension (its:ite) :: xf_dicycle, rrfs_factor
!$acc declare copyin(zu,pwd,p_cup,sig,xmbm_in,xmbs_in,edt,xff_mid,dellat,dellaqc,dellaq,pw,ktop,xland1,xf_dicycle)
!$acc declare copy(xf_ens,pr_ens,outtem,outq,outqc,pre,xmb,closure_n,ierr,ierr2,ierr3)
!
Expand Down Expand Up @@ -4198,6 +4199,7 @@ subroutine cup_output_ens_3d(xff_mid,xf_ens,ierr,dellat,dellaq,dellaqc, &
clos_wei=16./max(1.,closure_n(i))
xmb_ave(i)=min(xmb_ave(i),100.)
xmb(i)=clos_wei*sig(i)*xmb_ave(i)
if(dx(i)<dx_thresh) xmb(i)=rrfs_factor(i)*xmb(i)

if(xmb(i) < 1.e-16)then
ierr(i)=19
Expand Down
11 changes: 7 additions & 4 deletions physics/CONV/Grell_Freitas/cu_gf_driver.F90
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,13 @@ subroutine cu_gf_driver_run(ntracer,garea,im,km,dt,flag_init,flag_restart,&
cutenm(i)=0.
endif ! pret > 0

maxupmf(i)=0.
if(forcing2(i,6).gt.0.)then
maxupmf(i)=maxval(xmb(i)*zu(i,kts:ktf)/forcing2(i,6))
endif
if (xland(i)==0)then ! cu precip rate (mm/h)
if((maxupmf(i).lt.0.1) .or. (pret(i)*3600.lt.0.05)) pret(i)=0.
endif
if(pret(i).gt.0.)then
cuten(i)=1.
cutenm(i)=0.
Expand Down Expand Up @@ -999,10 +1006,6 @@ subroutine cu_gf_driver_run(ntracer,garea,im,km,dt,flag_init,flag_restart,&
gdc(i,15,10)=qfx(i)
gdc(i,16,10)=pret(i)*3600.

maxupmf(i)=0.
if(forcing2(i,6).gt.0.)then
maxupmf(i)=maxval(xmb(i)*zu(i,kts:ktf)/forcing2(i,6))
endif

if(ktop(i).gt.2 .and.pret(i).gt.0.)dt_mf(i,ktop(i)-1)=ud_mf(i,ktop(i))
endif
Expand Down
28 changes: 20 additions & 8 deletions physics/CONV/SAMF/samfdeepcnv.f
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ subroutine samfdeepcnv_run (im,km,first_time_step,restart, &
!
! parameters for prognostic sigma closure
real(kind=kind_phys) omega_u(im,km),zdqca(im,km),tmfq(im,km),
& omegac(im),zeta(im,km),dbyo1(im,km),sigmab(im),qadv(im,km)
& omegac(im),zeta(im,km),dbyo1(im,km),sigmab(im),qadv(im,km),
& sigmaoutx(im)
real(kind=kind_phys) gravinv,invdelt,sigmind,sigminm,sigmins
parameter(sigmind=0.01,sigmins=0.03,sigminm=0.01)
logical flag_shallow, flag_mid
Expand Down Expand Up @@ -3423,17 +3424,28 @@ subroutine samfdeepcnv_run (im,km,first_time_step,restart, &
endif
enddo
c
c convective cloud water
!
if(progsigma)then
do i = 1, im
sigmaoutx(i)=max(sigmaout(i,1),0.0)
sigmaoutx(i)=min(sigmaoutx(i),1.0)
enddo
endif
c
!> - Calculate convective cloud water.
do k = 1, km
do i = 1, im
if (cnvflg(i) .and. rn(i) > 0.) then
if (k >= kbcon(i) .and. k < ktcon(i)) then
cnvw(i,k) = cnvwt(i,k) * xmb(i) * dt2
do i = 1, im
if (cnvflg(i) .and. rn(i) > 0.) then
if (k >= kbcon(i) .and. k < ktcon(i)) then
cnvw(i,k) = cnvwt(i,k) * xmb(i) * dt2
if(progsigma)then
cnvw(i,k) = cnvw(i,k) * sigmaoutx(i)
else
cnvw(i,k) = cnvw(i,k) * sigmagfm(i)
endif
endif
endif
endif
enddo
enddo
enddo
c
c convective cloud cover
Expand Down
33 changes: 21 additions & 12 deletions physics/CONV/SAMF/samfshalcnv.f
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ subroutine samfshalcnv_run(im,km,itc,ntc,cliq,cp,cvap, &
! parameters for prognostic sigma closure
real(kind=kind_phys) omega_u(im,km),zdqca(im,km),tmfq(im,km),
& omegac(im),zeta(im,km),dbyo1(im,km),
& sigmab(im),qadv(im,km)
& sigmab(im),qadv(im,km),sigmaoutx(im)
real(kind=kind_phys) gravinv,dxcrtas,invdelt,sigmind,sigmins,
& sigminm
logical flag_shallow,flag_mid
Expand Down Expand Up @@ -2397,20 +2397,29 @@ subroutine samfshalcnv_run(im,km,itc,ntc,cliq,cp,cvap, &
endif
enddo
c
c convective cloud water
c
!> - Calculate shallow convective cloud water.
if(progsigma)then
do i = 1, im
sigmaoutx(i)=max(sigmaout(i,1),0.0)
sigmaoutx(i)=min(sigmaoutx(i),1.0)
enddo
endif

c convective cloud water
do k = 1, km
do i = 1, im
if (cnvflg(i)) then
if (k >= kbcon(i) .and. k < ktcon(i)) then
cnvw(i,k) = cnvwt(i,k) * xmb(i) * dt2
do i = 1, im
if (cnvflg(i)) then
if (k >= kbcon(i) .and. k < ktcon(i)) then
cnvw(i,k) = cnvwt(i,k) * xmb(i) * dt2
if (progsigma) then
cnvw(i,k) = cnvw(i,k) * sigmaoutx(i)
else
cnvw(i,k) = cnvw(i,k) * sigmagfm(i)
endif
endif
endif
endif
enddo
enddo
enddo

c
c
c convective cloud cover
c
!> - Calculate convective cloud cover, which is used when pdf-based cloud fraction is used (i.e., pdfcld=.true.).
Expand Down
Loading