Skip to content

Commit 393442a

Browse files
committed
Last Changes
1 parent 8622f97 commit 393442a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

visualCaseGen/custom_widget_types/case_creator.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,15 +227,13 @@ def _update_component_grids(
227227

228228
xmlchange("MASK_MESH", ocn_mesh.as_posix(), do_exec, self._is_non_local(), self._out)
229229

230-
xmlchange("OCN_GRID", "VCG_Changed", do_exec, self._is_non_local(), self._out)
231-
232230
xmlchange("ATM_GRID", cvars["CUSTOM_ATM_GRID"].value, do_exec, self._is_non_local(), self._out)
233231

234232
xmlchange("LND_GRID", cvars["CUSTOM_LND_GRID"].value, do_exec, self._is_non_local(), self._out)
235233

236-
xmlchange("ATM_DOMAIN_MESH", os.path.expandvars(self._cime.domains["atm"][cvars["CUSTOM_ATM_GRID"].value].mesh), do_exec, self._is_non_local(), self._out)
234+
xmlchange("ATM_DOMAIN_MESH", (self._cime.domains["atm"][cvars["CUSTOM_ATM_GRID"].value].mesh).replace("$DIN_LOC_ROOT",self._cime.din_loc_root), do_exec, self._is_non_local(), self._out)
237235

238-
xmlchange("LND_DOMAIN_MESH", os.path.expandvars(self._cime.domains["lnd"][cvars["CUSTOM_LND_GRID"].value].mesh), do_exec, self._is_non_local(), self._out)
236+
xmlchange("LND_DOMAIN_MESH", (self._cime.domains["lnd"][cvars["CUSTOM_LND_GRID"].value].mesh).replace("$DIN_LOC_ROOT",self._cime.din_loc_root), do_exec, self._is_non_local(), self._out)
239237

240238

241239
lnd_grid_mode = cvars["LND_GRID_MODE"].value

0 commit comments

Comments
 (0)