Skip to content

Commit

Permalink
Fix unittest.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielabdi-noaa committed Dec 7, 2022
1 parent cb045ce commit 3a9f951
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions ush/generate_FV3LAM_wflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,15 @@ def run_workflow(USHdir, logfile):
run_command(
f"""{SED} -i 's/MACHINE: hera/MACHINE: linux/g' {USHdir}/config.yaml"""
)
run_command(
f"""{SED} -i 's/RUN_TASK_MAKE_GRID: false/RUN_TASK_MAKE_GRID: true/g' {USHdir}/config.yaml"""
)
run_command(
f"""{SED} -i 's/RUN_TASK_MAKE_OROG: false/RUN_TASK_MAKE_OROG: true/g' {USHdir}/config.yaml"""
)
run_command(
f"""{SED} -i 's/RUN_TASK_MAKE_SFC_CLIMO: false/RUN_TASK_MAKE_SFC_CLIMO: true/g' {USHdir}/config.yaml"""
)
run_workflow(USHdir, logfile)

def setUp(self):
Expand Down
4 changes: 2 additions & 2 deletions ush/set_gridparams_ESGgrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ def test_set_gridparams_ESGgrid(self):
0.0,
6,
0.999,
0.013489400626200717,
0.013489400626200717,
0.013489400626196555,
0.013489400626196555,
-1760,
-1050,
],
Expand Down

0 comments on commit 3a9f951

Please sign in to comment.