Skip to content

Commit

Permalink
Fix AND to OR in if statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
RatkoVasic-NOAA committed Nov 27, 2024
1 parent a035799 commit 29cef49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/tests/cpld_control_c192_p8
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export FNABSC="'C192.maximum_snow_albedo.tileX.nc'"

export FV3_RUN=cpld_control_run.IN

if [[ $MACHINE_ID = derecho ]] && [[ $MACHINE_ID = gaeac6 ]]; then
if [[ $MACHINE_ID = derecho ]] || [[ $MACHINE_ID = gaeac6 ]]; then
TPN=96
fi

Expand Down
2 changes: 1 addition & 1 deletion tests/tests/cpld_control_p8
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export eps_imesh=2.5e-1

export FV3_RUN=cpld_control_run.IN

if [[ $MACHINE_ID = derecho ]] && [[ $MACHINE_ID = gaeac6 ]]; then
if [[ $MACHINE_ID = derecho ]] || [[ $MACHINE_ID = gaeac6 ]]; then
TPN=96
fi

Expand Down
2 changes: 1 addition & 1 deletion tests/tests/cpld_control_p8.v2.sfc
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export eps_imesh=2.5e-1
export FV3_RUN=cpld_control_run.IN
export V2_SFC_FILE=true

if [[ $MACHINE_ID = derecho ]] && [[ $MACHINE_ID = gaeac6 ]]; then
if [[ $MACHINE_ID = derecho ]] || [[ $MACHINE_ID = gaeac6 ]]; then
TPN=96
fi

Expand Down

0 comments on commit 29cef49

Please sign in to comment.