Skip to content
Merged
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
13 changes: 13 additions & 0 deletions dyn_em/module_initialize_real.F
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,19 @@ SUBROUTINE init_domain_rk ( grid &
! coarse grid since we are going to make the interface consistent
! in the model betwixt the CG and FG domains.

! An important point is to inform the user if their request cannot
! be satisfied. Do not skip over this quietly.

IF ( ( config_flags%smooth_cg_topo ) .AND. &
( internal_time_loop .EQ. 1 ) .AND. &
( grid%id .EQ. 1 ) .AND. &
( flag_soilhgt .NE. 1) ) THEN
CALL wrf_message (' --- ERROR: NML option smooth_cg_topo=T')
CALL wrf_message (' But found no soil elevation / terrain / topography data in metgrid files')
CALL wrf_message (' The field SOILHGT is required when smoothing the CG topography on d01')
CALL wrf_error_fatal(' If using ERA5 data, possibly need to add more time invariant fields')
END IF

IF ( ( config_flags%smooth_cg_topo ) .AND. &
( internal_time_loop .EQ. 1 ) .AND. &
( grid%id .EQ. 1 ) .AND. &
Expand Down