Skip to content

Commit

Permalink
Fix some bugs
Browse files Browse the repository at this point in the history
 On branch feature/gefs_v13_atmos_prep
 Changes to be committed:
	modified:   parm/gefs_fcst.parm
	modified:   scripts/exgefs_forecast.sh

Refs: NOAA-EMC#94
  • Loading branch information
XianwuXue-NOAA committed Jan 27, 2023
1 parent c2157e2 commit 473cfde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions parm/gefs_fcst.parm
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ if [[ $DO_SPPT = YES ]]; then
export SPPT_TAU_hr=${SPPT_TAU_hr:-"2.16E4,2.592E5,2.592E6,7.776E6,3.1536E7"} # Time scale in seconds
export SPPT_LSCALE_hr=${SPPT_LSCALE_hr:-"500.E3,1000.E3,2000.E3,2000.E3,2000.E3"} # Length Scale in meters
export sppt_sfclimit_hr=${sppt_sfclimit_hr:-.true.} # damp amplitude of SPPT at surface
export ISEED_SPPT_hr=${ISEED_SPPT_hr:-$((CDATE*1000 + MEMBER*10 + 3)),$((CDATE*1000 + MEMBER*10 + 4)),$((CDATE*1000 + MEMBER*10 + 5)),$((CDATE*1000 + MEMBER*10 + 6)),$((CDATE*1000 + MEMBER*10 + 7))} # random seed for sppt pattern
export ISEED_SPPT_hr=${ISEED_SPPT_hr:-$((CDATE*1000 + ${MEMBER#0}*10 + 3)),$((CDATE*1000 + ${MEMBER#0}*10 + 4)),$((CDATE*1000 + ${MEMBER#0}*10 + 5)),$((CDATE*1000 + ${MEMBER#0}*10 + 6)),$((CDATE*1000 + ${MEMBER#0}*10 + 7))} # random seed for sppt pattern
## export sppt_sigtop1_hr=${sppt_sigtop1_hr:-0.1} # taper SPPT pattern to zero between 0.1 and 0.025 sigma
## export sppt_sigtop2_hr=${sppt_sigtop2_hr:-0.025}
else
Expand All @@ -448,7 +448,7 @@ if [[ $DO_SHUM = YES ]]; then
export SHUM_hr=${SHUM_hr:-"0.004,-999.,-999.,-999,-999"} # Amplitude of SHUM patterns
export SHUM_TAU_hr=${SHUM_TAU_hr:-"2.16E4,1.728E5,6.912E5,7.776E6,3.1536E7"} # Time scale in seconds
export SHUM_LSCALE_hr=${SHUM_LSCALE_hr:-"500.E3,1000.E3,2000.E3,2000.E3,2000.E3"} # Length Scale in meters
export ISEED_SHUM_hr=${ISEED_SHUM_hr:-$((CDATE*1000 + MEMBER*10 + 2))} # random seed for SHUM pattern
export ISEED_SHUM_hr=${ISEED_SHUM_hr:-$((CDATE*1000 + ${MEMBER#0}*10 + 2))} # random seed for SHUM pattern
#export shum_sigefold_hr=${shum_sigefold_hr:-0.2} # limit SHUM to the PBL (~bottom 200 mb)

else
Expand All @@ -459,7 +459,7 @@ fi
#
if [[ $DO_SKEB = YES ]]; then
export SKEB_hr=${SKEB_hr:-"0.6,-999,-999,-999,-999"} # Amplitude of SPPT patterns
export ISEED_SKEB_hr=${ISEED_SKEB_hr:-$((CDATE*1000 + MEMBER*10 + 1))} # Seed for SKEB pattern
export ISEED_SKEB_hr=${ISEED_SKEB_hr:-$((CDATE*1000 + ${MEMBER#0}*10 + 1))} # Seed for SKEB pattern
export SKEB_TAU_hr=${SKEB_TAU_hr:-"2.16E4,1.728E5,2.592E6,7.776E6,3.1536E7"} # Time scale in seconds
export SKEB_LSCALE_hr=${SKEB_LSCALE_hr:-"500.E3,1000.E3,2000.E3,2000.E3,2000.E3"} # Length Scale in meters
export SKEBNORM=${SKEBNORM:-1}
Expand Down
1 change: 0 additions & 1 deletion scripts/exgefs_forecast.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ else
WAV_MEMBER=$MEMBER
fi
export MEMBER=$MEMBER
memchar=mem$(printf %03i $MEMBER)

export SET_STP_SEED=${SET_STP_SEED:-"YES"}

Expand Down

0 comments on commit 473cfde

Please sign in to comment.