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

Set LU_INDEX in LES initialization code #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
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
fix initialization of les to enable sf_sfclay_physics
jcurtis2 committed Nov 7, 2024
commit 25669bc915dbbfbaae429939b32ca8d0dcd68dd2
8 changes: 6 additions & 2 deletions WRFV3/dyn_em/module_initialize_les.F
Original file line number Diff line number Diff line change
@@ -210,8 +210,7 @@ SUBROUTINE init_domain_rk ( grid &
mminlu2 = ' '
mminlu2(1:4) = 'USGS'
CALL nl_set_mminlu(1, mminlu2)
! CALL nl_set_mminlu(1, ' ')
CALL nl_set_iswater(1,0)
CALL nl_set_iswater(1,16)
CALL nl_set_cen_lat(1,40.)
CALL nl_set_cen_lon(1,-105.)
CALL nl_set_truelat1(1,0.)
@@ -241,6 +240,11 @@ SUBROUTINE init_domain_rk ( grid &
! for LES, include Coriolis force
grid%f(i,j) = 1.e-4

! for LES, initialize surface type and skin temperature
grid%xland(i,j) = 1.
grid%landmask(i,j) = 1.
grid%lu_index(i,j) = 7
grid%tsk(i,j) = 280.0
END DO
END DO

2 changes: 1 addition & 1 deletion WRFV3/test/em_les/namelist.input
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@
ra_lw_physics = 0, 0, 0,
ra_sw_physics = 0, 0, 0,
radt = 0, 0, 0,
sf_sfclay_physics = 0, 1, 1,
sf_sfclay_physics = 1, 1, 1,
sf_surface_physics = 0, 0, 0,
bl_pbl_physics = 0, 0, 0,
bldt = 0, 0, 0,