Skip to content

Commit

Permalink
Add ocean analysis files to HPSS archiving task (NOAA-EMC#1985)
Browse files Browse the repository at this point in the history
This PR adds the files under `analysis/ocean` (except those in `bump` and `vrfy`) to the
HPSS archiving job, in `gdasocean_analysis.tar`, which were previously not archived.

Resolves NOAA-EMC/GDASApp/issues/693
  • Loading branch information
AndrewEichmann-NOAA authored Oct 30, 2023
1 parent eabc82a commit 7086ddc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions jobs/JGLOBAL_ARCHIVE
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ YMD=${PDY} HH=${cyc} generate_com -rx COM_ATMOS_ANALYSIS COM_ATMOS_BUFR COM_ATMO
COM_ICE_HISTORY COM_ICE_INPUT COM_ICE_RESTART \
COM_OBS COM_TOP \
COM_OCEAN_HISTORY COM_OCEAN_INPUT COM_OCEAN_RESTART COM_OCEAN_XSECT COM_OCEAN_2D COM_OCEAN_3D \
COM_OCEAN_ANALYSIS \
COM_WAVE_GRID COM_WAVE_HISTORY COM_WAVE_STATION

for grid in "0p25" "0p50" "1p00"; do
Expand Down
2 changes: 1 addition & 1 deletion scripts/exglobal_archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ if [[ ${HPSSARCH} = "YES" || ${LOCALARCH} = "YES" ]]; then

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

#gdasice
Expand Down
9 changes: 9 additions & 0 deletions ush/hpssarch_gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,8 @@ if [[ ${type} == "gdas" ]]; then
touch gdasocean.txt
rm -rf gdasocean_restart.txt
touch gdasocean_restart.txt
rm -rf gdasocean_analysis.txt
touch gdasocean_analysis.txt

head="gdas.t${cyc}z."

Expand All @@ -468,6 +470,13 @@ if [[ ${type} == "gdas" ]]; then
echo "${COM_MED_RESTART/${ROTDIR}\//}/*"
} >> 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"
} >> gdasocean_analysis.txt

fi

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

0 comments on commit 7086ddc

Please sign in to comment.