Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change CESM.cfg to be alphabetical order #9

Closed
bertinia opened this issue Dec 14, 2017 · 3 comments
Closed

Change CESM.cfg to be alphabetical order #9

bertinia opened this issue Dec 14, 2017 · 3 comments

Comments

@bertinia
Copy link
Contributor

Would it be possible to store the CESM.cfg file components in alphabetical order? This
would help with the testdb display when comparing the component info stored in the database
with what is in the CESM.cfg file. Here's what is displayed from the database:

[cam]
tag = trunk_tags/cam5_4_143/components/cam
protocol = svn
repo_url = https://svn-ccsm-models.cgd.ucar.edu/cam1
local_path = components/cam
required = True

[cice]
tag = cice5_20170927
protocol = svn
repo_url = https://svn-ccsm-models.cgd.ucar.edu/cice/trunk_tags/cice5_20170927
local_path = components/cice
required = True

[cime]
tag = cime5.4.0-alpha.11
protocol = git
repo_url = https://github.com/ESMCI/cime/releases/tag/cime5.4.0-alpha.11
local_path = cime
required = True

[cime_config]
tag = cime_config0.1.0.alpha.05
protocol = git
repo_url = https://github.com/CESM-Development/cime_config/releases/tag/cime_config0.1.0.alpha.05
local_path = cime_config
required = True

[cism]
tag = trunk_tags/cism2_1_40
protocol = svn
repo_url = https://svn-ccsm-models.cgd.ucar.edu/glc
local_path = components/cism
required = True

[clm]
tag =
protocol = svn
repo_url = https://svn-ccsm-models.cgd.ucar.edu/clm2
local_path = components/clm
required = True

[mosart]
tag = branch_tags/mosart1_0_26_cimeupdates_tags/n01
protocol = svn
repo_url = https://svn-ccsm-models.cgd.ucar.edu/mosart
local_path = components/mosart
required = True

[pop]
tag = cesm_pop_2_1_20171117
protocol = svn
repo_url = https://svn-ccsm-models.cgd.ucar.edu/pop2/trunk_tags/cesm_pop_2_1_20171117
local_path = components/pop
required = True

[rtm]
tag = branch_tags/rtm1_0_62_cimeupdate_tags/n01
protocol = svn
repo_url = https://svn-ccsm-models.cgd.ucar.edu/rivrtm
local_path = components/rtm
required = True

[ww3]
tag = trunk_tags/ww3_170731
protocol = svn
repo_url = https://svn-ccsm-models.cgd.ucar.edu/ww3
local_path = components/ww3
required = True

[externals_description]
schema_version = 1.0.0

@ekluzek
Copy link
Contributor

ekluzek commented Dec 14, 2017

@bertinia if you need it in alphabetical order, the script should probably not just allow it, but check for it and require it.

@bertinia
Copy link
Contributor Author

@ekluzek - this is just for display purposes in order to compare side-by-side results between what is stored in the testdb vs. what in master/CESM.cfg.

The testdb app reads the externals fields into a hash with no order imposed. In the display template, I sort on the hash keys and display them in alphabetical order. The testdb app then reads the master version of the CESM.cfg using the github API. The API returns a JSON message with the CESM.cfg data encoded base64. The decoded CESM.cfg file displays directly on the web page as it was read with no sorting.

@bertinia
Copy link
Contributor Author

This issue is handled by updates from the testdb.

billsacks pushed a commit to billsacks/cesm that referenced this issue Feb 14, 2018
remove broken waccm compsets, add BW1850 compset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants