Skip to content

Commit 46efbf6

Browse files
authored
Merge branch 'main' into feature/wjiang/bill_remap_upper_stretched_cube_in
2 parents ed62fa5 + d172118 commit 46efbf6

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12-
- Added choice 'blank' for qos in remap_restart python pacakage
13-
- Added hydrostatic question in remap_restart python pacakage
12+
- Added choice 'blank' for qos in remap_restart python package
13+
- Added hydrostatic question in remap_restart python package
1414
- Added function to remap from stretched restarts to stretched restarts
15+
- Added new BCS version v12
1516

1617
### Changed
1718

pre/remap_restart/remap_questions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,15 +276,15 @@ def ask_questions():
276276
"name": "output:shared:bc_version",
277277
"message": message_bc_other_new,
278278
"choices": choices_bc_other,
279-
"when": lambda x: x["output:shared:bc_version"] == 'Other' and x["input:shared:bc_version"] not in ['v06','v11'],
279+
"when": lambda x: x["output:shared:bc_version"] == 'Other' and x["input:shared:bc_version"] not in ['v06','v11','v12'],
280280
},
281281

282282
{
283283
"type": "select",
284284
"name": "output:shared:bc_version",
285285
"message": "\nSelect BCs version for new restarts:\n",
286286
"choices": choices_bc_other,
287-
"when": lambda x: x["output:shared:bc_version"] == 'Other' and x["input:shared:bc_version"] in ['v06','v11'],
287+
"when": lambda x: x["output:shared:bc_version"] == 'Other' and x["input:shared:bc_version"] in ['v06','v11','v12'],
288288
},
289289

290290
{

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)