add namelist parameters to control 3d mesh generation and some cleanup #1382
+36
−12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit provides access to the hybrid vertical coordinate and the transition height of the coordinate through namelist variables for the init_atmosphere core. Additionally, the smoothing coefficient formula for the hybrid coordinate now uses the transition height instead of the model top height. These changes affect only the real-data construction of the vertical mesh. The changes include two new namelist configurations variables in the init_atmosphere Registry file: a logical for activating the hybrid vertical coordinate and the transition height for the coordinate (where it transitions from terrain-following to constant height). These variables are config_hybrid_coordinate (logical) and config_hybrid_top_z (real, meters). The variables had been hardwired in the code up until now (true and 30 km).
Also included are a few changes to provide further information concerning diagnostic output appearing in the init_atmosphere log files.