Skip to content

Commit

Permalink
temporarily remove Modified Existing option for mom6_bathy
Browse files Browse the repository at this point in the history
  • Loading branch information
alperaltuntas committed Mar 27, 2024
1 parent 016ce03 commit 46015f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions visualCaseGen/custom_widget_types/case_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def _do_create_case(self, do_exec):

# Navigate to the case directory:
with self._out:
print(f"{COMMENT}Navigate to the case directory:{RESET}\n")
print(f"{COMMENT}Navigating to the case directory:{RESET}\n")
print(f"cd {caseroot}\n")

# Apply case modifications, e.g., xmlchanges and user_nl changes
Expand Down Expand Up @@ -323,7 +323,7 @@ def _update_modelgrid_aliases(self, custom_grid_path, ocn_grid, do_exec):
# log the modification of modelgrid_aliases.xml:
with self._out:
print(
f'{BPOINT} Update ccs_config/modelgrid_aliases_nuopc.xml file to include the new '
f'{BPOINT} Updating ccs_config/modelgrid_aliases_nuopc.xml file to include the new '
f'resolution "{resolution_name}" consisting of the following component grids.\n'
f' atm grid: "{atm_grid}", lnd grid: "{lnd_grid}", ocn grid: "{ocn_grid}".\n'
)
Expand Down Expand Up @@ -428,7 +428,7 @@ def _update_component_grids(
# log the modification of component_grids.xml:
with self._out:
print(
f'{BPOINT} Update ccs_config/component_grids_nuopc.xml file to include '
f'{BPOINT} Updating ccs_config/component_grids_nuopc.xml file to include '
f'newly generated ocean grid "{ocn_grid}" with the following properties:\n'
f' nx: {cvars["OCN_NX"].value}, ny: {cvars["OCN_NY"].value}.'
f' ocean mesh: {ocn_mesh}.{RESET}\n'
Expand Down Expand Up @@ -531,7 +531,7 @@ def _run_create_newcase(self, caseroot, compset, resolution, do_exec):
# log the command:
with self._out:
print(
f"{COMMENT}Run the create_newcase tool with the following command:{RESET}\n"
f"{COMMENT}Running the create_newcase tool with the following command:{RESET}\n"
)
print(f"{cmd}\n")

Expand Down Expand Up @@ -603,7 +603,7 @@ def _run_case_setup(self, caseroot, do_exec):
cmd += " --non-local"
with self._out:
print(
f"{COMMENT}Run the case.setup script with the following command:{RESET}\n"
f"{COMMENT}Running the case.setup script with the following command:{RESET}\n"
)
print(f"{cmd}\n")
if do_exec:
Expand All @@ -629,7 +629,7 @@ def _apply_user_nl(self, user_nl_filename, var_val_pairs, do_exec):
assert all(isinstance(pair, tuple) for pair in var_val_pairs)

with self._out:
print(f"{COMMENT}Add parameter changes to {user_nl_filename}:{RESET}\n")
print(f"{COMMENT}Adding parameter changes to {user_nl_filename}:{RESET}\n")
for var, val in var_val_pairs:
print(f" {var} = {val}")
print("")
Expand Down
2 changes: 1 addition & 1 deletion visualCaseGen/specs/grid_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def set_custom_ocn_grid_options(cime):

# OCN_GRID_MODE options
cv_custom_ocn_grid_mode = cvars["OCN_GRID_MODE"]
cv_custom_ocn_grid_mode.options = ["Standard", "Modify Existing", "Create New"]
cv_custom_ocn_grid_mode.options = ["Standard", "Create New"] # TODO: add "Modify Existing" option.
cv_custom_ocn_grid_mode.tooltips = [
"Select from a list of existing MOM6 grids",
"Modify an existing MOM6 grid",
Expand Down

0 comments on commit 46015f1

Please sign in to comment.