-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GEFS Ocean Perturbation Options #2385
Changes from 8 commits
5cf91e9
1c670b0
cb09d61
a975e79
03ed0ca
622683d
267db5e
418e2e3
cb537b3
a15b3cd
0a49463
2639d86
47ed894
e2dd1ea
8b90841
2a2d523
1b50a39
539b3ba
8255a99
1aa6c10
d644a71
ea965a6
3b201cd
ae0b592
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -693,6 +693,11 @@ MOM6_postdet() { | |
${NLN} "${COM_OCEAN_ANALYSIS}/${RUN}.t${cyc}z.ocninc.nc" "${DATA}/INPUT/mom6_increment.nc" | ||
fi | ||
|
||
# GEFS perturbations | ||
if (( 0${MEMDIR:3} > 0 )) && [[ "${ODA_INCUPD:-False}" == "True" ]]; then | ||
NeilBarton-NOAA marked this conversation as resolved.
Show resolved
Hide resolved
|
||
${NLN} "${COM_OCEAN_RESTART_PREV}/${sPDY}.${scyc}0000.mom6_increment.nc" "${DATA}/INPUT/mom6_increment.nc" | ||
fi | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We may need to wrap this in a |
||
# Copy MOM6 fixed files | ||
${NCP} "${FIXgfs}/mom6/${OCNRES}/"* "${DATA}/INPUT/" # TODO: These need to be explicit | ||
|
||
|
@@ -707,13 +712,17 @@ MOM6_postdet() { | |
|
||
# If using stochatic parameterizations, create a seed that does not exceed the | ||
# largest signed integer | ||
if [[ "${DO_OCN_SPPT}" = "YES" ]] || [[ "${DO_OCN_PERT_EPBL}" = "YES" ]]; then | ||
if [[ ${SET_STP_SEED:-"YES"} = "YES" ]]; then | ||
ISEED_OCNSPPT=$(( (current_cycle*1000 + MEMBER*10 + 6) % 2147483647 )) | ||
ISEED_EPBL=$(( (current_cycle*1000 + MEMBER*10 + 7) % 2147483647 )) | ||
else | ||
ISEED=${ISEED:-0} | ||
fi | ||
if [[ ${DO_OCN_SPPT} = "YES" ]]; then | ||
OCNSPPT=${OCNSPPT:-0.8,0.4,0.2,0.08,0.04} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should elevate this to |
||
OCNSPPT_TAU=${OCNSPPT_TAU:-2.16E4,2.592E5,2.592E6,7.776E6,3.1536E7} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same for this variable. |
||
OCNSPPT_LSCALE=${OCNSPPT_LSCALE:-500.E3,1000.E3,2000.E3,2000.E3,2000.E3} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and this. |
||
ISEED_OCNSPPT=$((CDATE*10000 + ${MEMBER#0}*100 + 8)),$((CDATE*10000 + ${MEMBER#0}*100 + 9)),$((CDATE*10000 + ${MEMBER#0}*100 + 10)),$((CDATE*10000 + ${MEMBER#0}*100 + 11)),$((CDATE*10000 + ${MEMBER#0}*100 + 12)) | ||
aerorahul marked this conversation as resolved.
Show resolved
Hide resolved
|
||
fi | ||
if [[ ${DO_OCN_PERT_EPBL} = "YES" ]]; then | ||
EPBL=${EPBL:-0.8,0.4,0.2,0.08,0.04} | ||
EPBL_TAU=${EPBL_TAU:-2.16E4,2.592E5,2.592E6,7.776E6,3.1536E7} | ||
EPBL_LSCALE=${EPBL_LSCALE:-500.E3,1000.E3,2000.E3,2000.E3,2000.E3} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. raise these to |
||
ISEED_EPBL=$((CDATE*10000 + ${MEMBER#0}*100 + 13)),$((CDATE*10000 + ${MEMBER#0}*100 + 14)),$((CDATE*10000 + ${MEMBER#0}*100 + 15)),$((CDATE*10000 + ${MEMBER#0}*100 + 16)),$((CDATE*10000 + ${MEMBER#0}*100 + 17)) | ||
aerorahul marked this conversation as resolved.
Show resolved
Hide resolved
|
||
fi | ||
|
||
# Link output files | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the reason to template this variable?