Repository navigation
Config reorganization R3: follow the Glissade type changes; write the ocean levels in [ocean_data] - #165
Open
whlipscomb wants to merge 2 commits into
Open
Config reorganization R3: follow the Glissade type changes; write the ocean levels in [ocean_data]#165whlipscomb wants to merge 2 commits into
whlipscomb wants to merge 2 commits into
Conversation
CISM moves the time-stepping variables of Glissade from model%numerics to
the new model%time ("Move the grid, time, diagnostics, options, numerics and
initialization keys into their section types"). glc_io.F90 and glc_RunMod.F90
now read model%time%tinc and model%time%tstep_count.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CISM folds [grid_ocn] into [ocean_data] ("Fold [grid_atm] into [climate] and
[grid_ocn] into [ocean_data]; remove ioparams"). nzocn, dzocn and nbasin move
from the grid_ocn namelist group to ocean_data (after the ocean_data options),
and buildnml no longer writes a [grid_ocn] section. The generated configs have
the same keys and values; the three keys now appear in [ocean_data]. The key
names are unchanged, so user_nl_cism files are unaffected.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Branch:
lipscomb/config_reorg_r3(2 commits)Base:
lipscomb/config_reorg_r2b(#164). Stacked; the base will be changed tomasterafter #162, #163 and #164 are merged.CISM: companion PR ESCOMP/CISM#109 (R3, branch
lipscomb/config_reorg_r3). Thesource_cismpointer is not changed here; it will be updated to a CISM tag once the CISM PRs are merged.Summary
In CISM R3, each Glissade config variable is named after its key and lives in the derived type of its config section. Two wrapper changes follow:
glc_io.F90andglc_RunMod.F90read the time step and step count from the new time type (model%time%tinc,model%time%tstep_count; were inmodel%numerics).[grid_ocn]into[ocean_data]. Thegrid_ocnnamelist group joinsocean_data, andbuildnmlno longer writes a[grid_ocn]section.No answer changes. The generated configs have the same keys and values;
nzocn,dzocnandnbasinnow appear in[ocean_data]. Key names are unchanged, souser_nl_cismfiles need no change.Changes
glc_io.F90andglc_RunMod.F90usemodel%time%tincandmodel%time%tstep_count(CISM 11bb3060).nzocn,dzocnandnbasinmove from thegrid_ocngroup toocean_data(after the ocean_data options);buildnmlno longer writes[grid_ocn](CISM fa87c05e).Testing
preview_namelistsfor an AIS+GrIS case (ERI_Ly9.f09_g17_ais8gris4.T1850Gag, testmodnoevolve_ais), before and after 70b4876: in bothcism.ais.configandcism.gris.config, the only change is that the[grid_ocn]keys appear in[ocean_data], with the same values.--compare alpha11e_stage1) after each group of CISM commits, withsource_cismat the matching commit: all PASS (namelist comparison excepted), including after be14625 (batch r3c3) and 70b4876 (batch r3c9).--compare alpha11e_stage1,source_cismat CISM fa87c05e): every test passes its run, restart/branch comparisons and baseline comparison. 1 test passes outright; the other 36 show NLFAIL only because NLCOMP fails, which is expected. No other phase failed.🤖 Generated with Claude Code