Skip to content

Commit

Permalink
don't require NSST variables to be read in if lsm_ics but not model_ics
Browse files Browse the repository at this point in the history
  • Loading branch information
grantfirl committed Aug 9, 2024
1 parent dee39db commit de3cab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scm/src/scm_type_defs.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,7 @@ subroutine physics_set(physics, scm_input, scm_state)
! NSSTM variables
!
if (physics%Model%nstf_name(1) > 0) then
if (physics%Model%nstf_name(2) == 1 .or. .not. (scm_state%model_ics .or. scm_state%lsm_ics)) then
if (physics%Model%nstf_name(2) == 1 .or. .not. (scm_state%model_ics)) then
physics%Sfcprop%tref(i) = physics%Sfcprop%tsfco(i)
physics%Sfcprop%z_c(i) = real_zero
physics%Sfcprop%c_0(i) = real_zero
Expand Down

0 comments on commit de3cab1

Please sign in to comment.