Skip to content

Commit d172118

Browse files
authored
Merge pull request #75 from GEOS-ESM/feature/borescan_v12_bcs
Add new BCS version
2 parents c9407a0 + 959d5dd commit d172118

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
version: 2.1
22

33
# Anchors in case we need to override the defaults from the orb
4-
#baselibs_version: &baselibs_version v7.17.0
5-
#bcs_version: &bcs_version v11.4.0
4+
#baselibs_version: &baselibs_version v7.23.0
5+
#bcs_version: &bcs_version v11.5.0
66

77
orbs:
88
ci: geos-esm/circleci-tools@2

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12+
- Added new BCS version v12
13+
1214
### Changed
1315

1416
- Move to use `time_ave_util.x` from MAPL instead of `time_ave.x`

pre/remap_restart/remap_questions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,15 +266,15 @@ def ask_questions():
266266
"name": "output:shared:bc_version",
267267
"message": message_bc_other_new,
268268
"choices": choices_bc_other,
269-
"when": lambda x: x["output:shared:bc_version"] == 'Other' and x["input:shared:bc_version"] not in ['v06','v11'],
269+
"when": lambda x: x["output:shared:bc_version"] == 'Other' and x["input:shared:bc_version"] not in ['v06','v11','v12'],
270270
},
271271

272272
{
273273
"type": "select",
274274
"name": "output:shared:bc_version",
275275
"message": "\nSelect BCs version for new restarts:\n",
276276
"choices": choices_bc_other,
277-
"when": lambda x: x["output:shared:bc_version"] == 'Other' and x["input:shared:bc_version"] in ['v06','v11'],
277+
"when": lambda x: x["output:shared:bc_version"] == 'Other' and x["input:shared:bc_version"] in ['v06','v11','v12'],
278278
},
279279

280280
{

pre/remap_restart/remap_utils.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636

3737
choices_bc_ops = ['NL3', 'ICA', 'GM4', 'Other']
3838

39-
choices_bc_other = ['v06','v11']
39+
choices_bc_other = ['v06','v11','v12']
4040

41-
choices_bc_cmd = ['NL3', 'ICA', 'GM4', 'v06', 'v11']
41+
choices_bc_cmd = ['NL3', 'ICA', 'GM4', 'v06', 'v11','v12']
4242

4343
choices_omodel = ['data', 'MOM5', 'MOM6']
4444

@@ -97,7 +97,8 @@
9797
message_bc_other = f'''\n
9898
9999
v06: NL3 + JPL veg height + PEATMAP + MODIS snow alb\n
100-
v11: NL3 + JPL veg height + PEATMAP + MODIS snow alb v2\n\n'''\
100+
v11: NL3 + JPL veg height + PEATMAP + MODIS snow alb v2\n
101+
v12: NL3 + JPL veg height + PEATMAP + MODIS snow alb v2 + Argentina peatland fix \n\n'''\
101102

102103
message_bc_other_in = ("Select BCs version of input restarts:\n" + message_bc_other)
103104
message_bc_other_new = ("Select BCs version for new restarts:\n" + message_bc_other)

0 commit comments

Comments
 (0)