Skip to content

Commit

Permalink
Remove excess variables
Browse files Browse the repository at this point in the history
  • Loading branch information
EricSinsky-NOAA committed Jan 14, 2025
1 parent 2299492 commit 12725e0
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions ush/forecast_predet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -575,14 +575,15 @@ FV3_predet(){
${NCP} "${PARMgfs}/post/sfs/postxconfig-NT-sfs.txt" "${DATA}/postxconfig-NT_FH00.txt"
fi

memnum=$(echo "${ENSMEM}" | cut -c2-3)
if [[ "${ENSMEM}" == "000" ]]; then
export e1=1
else
export e1=3
if [[ "${RUN}" == "gefs" ]]; then
if [[ "${ENSMEM}" == "000" ]]; then
export e1=1
else
export e1=3
fi
export e2="${ENSMEM:1:2}"
export e3="${NMEM_ENS}"
fi
export e2=${memnum}
export e3=${NMEM_ENS}

fi
}
Expand Down

0 comments on commit 12725e0

Please sign in to comment.