Skip to content

Commit 88f7301

Browse files
mgdudanickszap
authored andcommittedFeb 29, 2016
Activate the 'vertical_stage_in' package when config_init_case == 8
The init_atmosphere core previously only activated packages to read in static fields when config_init_case == 7 (and either config_vertical_grid or config_met_interp were true). However, for config_init_case == 8, we need the landmask field for interpolating, e.g., sea-ice. Since we may potentially need other static fields as well when creating surface update files, the simplest solution seems to be to simply read all static fields when config_init_case == 8 by activating the vertical_stage_in package for this case.
1 parent 63cbe5d commit 88f7301

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎src/core_init_atmosphere/mpas_init_atm_core_interface.F

+5
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,11 @@ function init_atm_setup_packages(configs, packages) result(ierr)
160160
vertical_stage_out = (config_vertical_grid .and. .not. config_met_interp)
161161
met_stage_in = (config_met_interp .and. .not. config_vertical_grid)
162162
met_stage_out = config_met_interp
163+
else if (config_init_case == 8) then
164+
vertical_stage_in = .true.
165+
vertical_stage_out = .false.
166+
met_stage_in = .false.
167+
met_stage_out = .false.
163168
else
164169
vertical_stage_in = .false.
165170
vertical_stage_out = .false.

0 commit comments

Comments
 (0)
Please sign in to comment.