Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 88f7301
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core_init_atmosphere/mpas_init_atm_core_interface.F
Expand Up @@ -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.
else
vertical_stage_in = .false.
vertical_stage_out = .false.
Expand Down

0 comments on commit 88f7301

Please sign in to comment.