Skip to content

Commit

Permalink
Updated tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
binli2337 committed Oct 15, 2024
1 parent 19b0f48 commit c80b582
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,8 @@ export CPLWAV=.false.
export CPLWAV2ATM=.false.
export CPLLND=.false.
export CPLLND2ATM=.false.
export CPLOCN2ATM=.false.
export ICPLOCN2ATM=0
export USE_MED_FLUX=.false.
export DAYS=1
export NPX=97
Expand Down Expand Up @@ -1218,6 +1220,8 @@ export CPLICE=.true.
export CPL=.true.
export CPLWAV=.true.
export CPLWAV2ATM=.true.
export CPLOCN2ATM=.false.
export ICPLOCN2ATM=0
export USE_MED_FLUX=.false.
export CPLCHM=.true.
export CPLLND=.false.
Expand Down
1 change: 1 addition & 0 deletions tests/parm/input_nest_hafs.nml.IN
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@
cplflx = @[CPLFLX]
cplice = .false.
cplocn2atm = @[CPLOCN2ATM]
icplocn2atm = @[ICPLOCN2ATM]
cplwav = @[CPLWAV]
cplwav2atm = @[CPLWAV2ATM]
cpl_imp_mrg = @[CPL_IMP_MRG]
Expand Down
1 change: 1 addition & 0 deletions tests/parm/input_regional_hafs.nml.IN
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@
cplflx = @[CPLFLX]
cplice = .false.
cplocn2atm = @[CPLOCN2ATM]
icplocn2atm = @[ICPLOCN2ATM]
cplwav = @[CPLWAV]
cplwav2atm = @[CPLWAV2ATM]
cpl_imp_mrg = @[CPL_IMP_MRG]
Expand Down
4 changes: 2 additions & 2 deletions tests/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ if [[ ${CPLWAV} == .true. ]]; then
if [[ ${WW3_MULTIGRID} = 'true' ]]; then
atparse < "${PATHRT}/parm/ww3_multi.inp.IN" > ww3_multi.inp
else
#atparse < "${PATHRT}/parm/ww3_shel.nml.IN" > ww3_shel.nml
atparse < "${PATHRT}/parm/ww3_shel.inp.IN" > ww3_shel.inp
atparse < "${PATHRT}/parm/ww3_shel.nml.IN" > ww3_shel.nml
#atparse < "${PATHRT}/parm/ww3_shel.inp.IN" > ww3_shel.inp
cp "${PATHRT}/parm/ww3_points.list" .
fi
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,10 @@ export FHLWR=1800
export NSTF_NAME=0,0,0,0,0
export CPLFLX=.true.
export CPLOCN2ATM=.true.
export ICPLOCN2ATM=1
export CPLWAV=.true.
export CPLWAV2ATM=.true.
export SFC_Z0_TYPE=-1
export SFC_Z0_TYPE=6

# ww3
export WW3_MODDEF=mod_def.natl_6m_2way_ocn_wav
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export FHLWR=1800
export NSTF_NAME=0,0,0,0,0
export CPLFLX=.true.
export CPLOCN2ATM=.true.
export ICPLOCN2ATM=1
export CPLWAV=.true.
export CPLWAV2ATM=.false.

Expand Down

0 comments on commit c80b582

Please sign in to comment.