Skip to content
Browse files

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.
  • Loading branch information
mgduda authored and nickszap committed Feb 29, 2016
1 parent 63cbe5d commit 88f730142fc2ea04db12aa5e37f3337114e2ac45
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/core_init_atmosphere/mpas_init_atm_core_interface.F
@@ -160,6 +160,11 @@ function init_atm_setup_packages(configs, packages) result(ierr)
vertical_stage_out = (config_vertical_grid .and. .not. config_met_interp)
met_stage_in = (config_met_interp .and. .not. config_vertical_grid)
met_stage_out = config_met_interp
else if (config_init_case == 8) then
vertical_stage_in = .true.
vertical_stage_out = .false.
met_stage_in = .false.
met_stage_out = .false.
vertical_stage_in = .false.
vertical_stage_out = .false.

0 comments on commit 88f7301

Please sign in to comment.