Skip to content
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

Updates for cold start half cycle, then continuing with IAU for WCDA #2560

Merged
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
36316e1
update gdas app hash and turn on C48mx500_3DVarAOWCDA test on hera
JessicaMeixner-NOAA Apr 25, 2024
06dae2f
Bug fix for #2528 from aerorahul
JessicaMeixner-NOAA Apr 25, 2024
2cdc9aa
add additional update from before
JessicaMeixner-NOAA Apr 26, 2024
1cfbe24
remove line that made things "work" but for the wrong reasons
JessicaMeixner-NOAA Apr 26, 2024
1ba3cc1
updates to run with 3 instead of 4 mom restarts
JessicaMeixner-NOAA Apr 29, 2024
caf09f6
Merge remote-tracking branch 'EMC/develop' into feature/c384wcda
JessicaMeixner-NOAA Apr 29, 2024
a9266f5
update CICE restart copying
JessicaMeixner-NOAA Apr 29, 2024
31b9481
Merge remote-tracking branch 'EMC/develop' into feature/c384wcda
JessicaMeixner-NOAA Apr 30, 2024
a67d1b6
update gdas app hash
JessicaMeixner-NOAA Apr 30, 2024
1ffd164
update gdas
JessicaMeixner-NOAA May 1, 2024
d709db5
Merge branch 'NOAA-EMC:develop' into feature/c384wcda
JessicaMeixner-NOAA May 1, 2024
73ab4d4
Merge branch 'NOAA-EMC:develop' into feature/c384wcda
JessicaMeixner-NOAA May 2, 2024
9588c9c
add additional archive switch for ocean/ice DA files for if JEDIOCN i…
JessicaMeixner-NOAA May 2, 2024
1f187e0
Merge remote-tracking branch 'refs/remotes/origin/feature/c384wcda' i…
JessicaMeixner-NOAA May 2, 2024
71022f6
tab to spaces
JessicaMeixner-NOAA May 2, 2024
6d2c2de
add COPY_FINAL_RESTARTS flag to skip copying restarts at the end
JessicaMeixner-NOAA May 3, 2024
8e82ffd
saving work with NEXTCYC date, likely will use different solution
JessicaMeixner-NOAA May 3, 2024
655a320
updating logic for DOIAU related date changes in fewer places
JessicaMeixner-NOAA May 3, 2024
a2a7fc0
create two new variables that define the start time
JessicaMeixner-NOAA May 3, 2024
ffd4416
Update ush/forecast_predet.sh
JessicaMeixner-NOAA May 6, 2024
ac79c26
Merge remote-tracking branch 'EMC/develop' into feature/c384wcda
JessicaMeixner-NOAA May 6, 2024
8b0b99e
use more descriptive variable name sdate -> model start date
JessicaMeixner-NOAA May 6, 2024
9a8f481
update cice output ic link
JessicaMeixner-NOAA May 6, 2024
290870c
update remove data command - suggestion from Rahul
JessicaMeixner-NOAA May 6, 2024
9ec6345
Update ush/forecast_predet.sh
JessicaMeixner-NOAA May 7, 2024
ccd0b3f
add new parm variable for gefs
JessicaMeixner-NOAA May 7, 2024
fe26095
Merge remote-tracking branch 'EMC/develop' into feature/c384wcda
JessicaMeixner-NOAA May 7, 2024
64dc36a
Merge remote-tracking branch 'EMC/develop' into feature/c384wcda
JessicaMeixner-NOAA May 8, 2024
e55df7b
Update scripts/exglobal_archive.sh
JessicaMeixner-NOAA May 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion scripts/exglobal_archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,10 @@ if [[ ${HPSSARCH} = "YES" || ${LOCALARCH} = "YES" ]]; then

#gdasocean
if [ "${DO_OCN}" = "YES" ]; then
targrp_list="${targrp_list} gdasocean gdasocean_analysis"
targrp_list="${targrp_list} gdasocean"
if [ "${DO_JEDIOCNVAR}" = "YES" ]; then
targrp_list="${targrp_list} gdasocean_analysis"
fi
fi

#gdasice
Expand Down
51 changes: 25 additions & 26 deletions ush/forecast_postdet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -478,11 +478,11 @@ MOM6_out() {
# Coarser than 1/2 degree has a single MOM restart
local mom6_restart_files mom6_restart_file restart_file
mom6_restart_files=(MOM.res.nc)
# 1/4 degree resolution has 4 additional restarts
# 1/4 degree resolution has 3 additional restarts
case "${OCNRES}" in
"025")
local nn
for (( nn = 1; nn <= 4; nn++ )); do
for (( nn = 1; nn <= 3; nn++ )); do
mom6_restart_files+=("MOM.res_${nn}.nc")
done
;;
Expand All @@ -500,22 +500,20 @@ MOM6_out() {
done
fi

# Copy restarts at the beginning/middle of the next assimilation cycle to COM for RUN=gdas|enkfgdas|enkfgfs
# Copy restarts in the assimilation window for RUN=gdas|enkfgdas|enkfgfs
if [[ "${RUN}" =~ "gdas" || "${RUN}" == "enkfgfs" ]]; then
local restart_date
if [[ "${DOIAU}" == "YES" ]]; then # Copy restarts at the beginning of the next cycle from DATA to COM
restart_date="${next_cycle_begin}"
else # Copy restarts at the middle of the next cycle from DATA to COM
restart_date="${next_cycle}"
fi
echo "Copying MOM6 restarts for 'RUN=${RUN}' at ${restart_date}"
for mom6_restart_file in "${mom6_restart_files[@]}"; do
restart_file="${restart_date:0:8}.${restart_date:8:2}0000.${mom6_restart_file}"
${NCP} "${DATArestart}/MOM6_RESTART/${restart_file}" \
"${COM_OCEAN_RESTART}/${restart_file}"
restart_date=$(date --utc -d "${current_cycle:0:8} ${current_cycle:8:2} + ${restart_interval} hours" +%Y%m%d%H)
while (( restart_date < forecast_end_cycle )); do
echo "Copying MOM6 restarts for 'RUN=${RUN}' at ${restart_date}"
for mom6_restart_file in "${mom6_restart_files[@]}"; do
restart_file="${restart_date:0:8}.${restart_date:8:2}0000.${mom6_restart_file}"
${NCP} "${DATArestart}/MOM6_RESTART/${restart_file}" \
"${COM_OCEAN_RESTART}/${restart_file}"
done
restart_date=$(date --utc -d "${restart_date:0:8} ${restart_date:8:2} + ${restart_interval} hours" +%Y%m%d%H)
aerorahul marked this conversation as resolved.
Show resolved Hide resolved
done
fi

}

CICE_postdet() {
Expand Down Expand Up @@ -600,20 +598,21 @@ CICE_out() {
"${COM_ICE_RESTART}/${target_file}"
fi

# Copy restarts at the beginning/middle of the next assimilation cycle to COM for RUN=gdas|enkfgdas|enkfgfs
# Copy restarts in the assimilation window for RUN=gdas|enkfgdas|enkfgfs
if [[ "${RUN}" =~ "gdas" || "${RUN}" == "enkfgfs" ]]; then
local restart_date
if [[ "${DOIAU}" == "YES" ]]; then # Copy restarts at the beginning of the next cycle from DATA to COM
restart_date="${next_cycle_begin}"
else # Copy restarts at the middle of the next cycle from DATA to COM
restart_date="${next_cycle}"
fi
echo "Copying CICE restarts for 'RUN=${RUN}' at ${restart_date}"
seconds=$(to_seconds "${restart_date:8:2}0000") # convert HHMMSS to seconds
source_file="cice_model.res.${restart_date:0:4}-${restart_date:4:2}-${restart_date:6:2}-${seconds}.nc"
target_file="${restart_date:0:8}.${restart_date:8:2}0000.cice_model.res.nc"
${NCP} "${DATArestart}/CICE_RESTART/${source_file}" \
"${COM_ICE_RESTART}/${target_file}"
restart_date=$(date --utc -d "${current_cycle:0:8} ${current_cycle:8:2} + ${restart_interval} hours" +%Y%m%d%H)
while (( restart_date < forecast_end_cycle )); do

echo "Copying CICE restarts for 'RUN=${RUN}' at ${restart_date}"
seconds=$(to_seconds "${restart_date:8:2}0000") # convert HHMMSS to seconds
source_file="cice_model.res.${restart_date:0:4}-${restart_date:4:2}-${restart_date:6:2}-${seconds}.nc"
target_file="${restart_date:0:8}.${restart_date:8:2}0000.cice_model.res.nc"
${NCP} "${DATArestart}/CICE_RESTART/${source_file}" \
"${COM_ICE_RESTART}/${target_file}"

restart_date=$(date --utc -d "${restart_date:0:8} ${restart_date:8:2} + ${restart_interval} hours" +%Y%m%d%H)
done
fi

}
Expand Down
15 changes: 8 additions & 7 deletions ush/hpssarch_gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -560,13 +560,14 @@ if [[ ${type} == "gdas" ]]; then
echo "${COM_MED_RESTART/${ROTDIR}\//}/*"
} >> "${DATA}/gdasocean_restart.txt"

{
echo "${COM_OCEAN_ANALYSIS/${ROTDIR}\//}/${head}*"
echo "${COM_OCEAN_ANALYSIS/${ROTDIR}\//}/gdas.t??z.ocngrid.nc"
echo "${COM_OCEAN_ANALYSIS/${ROTDIR}\//}/diags"
echo "${COM_OCEAN_ANALYSIS/${ROTDIR}\//}/yaml"
} >> "${DATA}/gdasocean_analysis.txt"

if [[ ${DO_JEDIOCNVAR} = "YES" ]]; then
{
echo "${COM_OCEAN_ANALYSIS/${ROTDIR}\//}/${head}*"
echo "${COM_OCEAN_ANALYSIS/${ROTDIR}\//}/gdas.t??z.ocngrid.nc"
echo "${COM_OCEAN_ANALYSIS/${ROTDIR}\//}/diags"
echo "${COM_OCEAN_ANALYSIS/${ROTDIR}\//}/yaml"
} >> "${DATA}/gdasocean_analysis.txt"
fi
fi

if [[ ${DO_ICE} = "YES" ]]; then
Expand Down
Loading