Skip to content

Commit

Permalink
fix lint CI errors in default_var.sh and run_test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
grantfirl committed Sep 13, 2024
1 parent 1777888 commit a859b1a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
29 changes: 15 additions & 14 deletions tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1162,20 +1162,21 @@ export_ww3() {
}

export_fire_behavior() {
export fbh_model=fire_behavior
export FIRE_BEHAVIOR=true
export FIRE_NML=namelist.fire.IN
export CPLFIRE=false
export DT_FIRE=${DT_ATMOS}
export OUTPUT_FS="$(printf "%02d" $(( ${OUTPUT_FH}*3600 )))"
export fire_atm_feedback=1.0
export fire_lsm_zcoupling=false
export fire_lsm_zcoupling_ref=60.0
export fire_num_ignitions=1
export fire_print_msg=0
export fire_upwinding=9
export fire_viscosity=0.4
export fire_wind_height=5.0
export fbh_model=fire_behavior
export FIRE_BEHAVIOR=true
export FIRE_NML=namelist.fire.IN
export CPLFIRE=false
export DT_FIRE=${DT_ATMOS}
OUTPUT_FS="$(printf "%02d" $(( OUTPUT_FH*3600 )))"
export OUTPUT_FS
export fire_atm_feedback=1.0
export fire_lsm_zcoupling=false
export fire_lsm_zcoupling_ref=60.0
export fire_num_ignitions=1
export fire_print_msg=0
export fire_upwinding=9
export fire_viscosity=0.4
export fire_wind_height=5.0
}


Expand Down
4 changes: 2 additions & 2 deletions tests/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ if [[ ${CDEPS_INLINE} = 'true' ]]; then
atparse < "${PATHRT}/parm/${CDEPS_INLINE_CONFIGURE:-stream.config.IN}" > stream.config
fi

if [[ $FIRE_BEHAVIOR = 'true' ]]; then
atparse < ${PATHRT}/parm/${FIRE_NML:-namelist.fire.IN} > namelist.fire
if [[ ${FIRE_BEHAVIOR} = 'true' ]]; then
atparse < "${PATHRT}/parm/${FIRE_NML:-namelist.fire.IN}" > namelist.fire
fi

TPN=$(( TPN / THRD ))
Expand Down

0 comments on commit a859b1a

Please sign in to comment.