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

Splitting up the archive task #3242

Open
wants to merge 119 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
12696d7
initial modification to split arch job to two parts
AntonMFernando-NOAA Jan 18, 2025
183a303
modified workflow\applications\gefs.py
AntonMFernando-NOAA Jan 18, 2025
c585fe1
modified arch_vrfy var
AntonMFernando-NOAA Jan 18, 2025
8ac2162
modified arch_vrfy vars in gefs config files
AntonMFernando-NOAA Jan 18, 2025
b903470
modified config files
AntonMFernando-NOAA Jan 18, 2025
c74910d
modified exglobal_archive_vrfy.py
AntonMFernando-NOAA Jan 18, 2025
c9d414d
modified defaults and JJOB
AntonMFernando-NOAA Jan 18, 2025
7d42e36
modified jobs\JGLOBAL_ARCHIVE_TARS
AntonMFernando-NOAA Jan 18, 2025
fc69dcd
modified jobs\JGLOBAL_ARCHIVE_TARS
AntonMFernando-NOAA Jan 18, 2025
8e523a1
modified config files
AntonMFernando-NOAA Jan 18, 2025
5cafe8a
modified parm\config\gefs\config.base
AntonMFernando-NOAA Jan 18, 2025
3b2074f
modify jjobs
AntonMFernando-NOAA Jan 18, 2025
3008b33
correct a typo
AntonMFernando-NOAA Jan 18, 2025
4c145ca
modified gefs.py
AntonMFernando-NOAA Jan 18, 2025
cdd5acf
modified workflow\applications\gefs.py
AntonMFernando-NOAA Jan 18, 2025
5c9b3f5
modified gefs.py
AntonMFernando-NOAA Jan 18, 2025
260354e
modified workflow\applications\gefs.py
AntonMFernando-NOAA Jan 18, 2025
e880082
modifed gefs.py
AntonMFernando-NOAA Jan 18, 2025
4fab72f
modified gefs.py
AntonMFernando-NOAA Jan 18, 2025
9e54cc0
modified workflow\applications\gefs.py
AntonMFernando-NOAA Jan 18, 2025
0f0c7c2
modifed gefs.py
AntonMFernando-NOAA Jan 18, 2025
1b73697
modifed workflow\applications\gefs.py
AntonMFernando-NOAA Jan 18, 2025
14fc710
modified workflow\rocoto\gefs_tasks.py
AntonMFernando-NOAA Jan 18, 2025
4493271
modifed workflow\rocoto\gefs_tasks.py
AntonMFernando-NOAA Jan 18, 2025
4d6ad0c
change permission
AntonMFernando-NOAA Jan 18, 2025
8d97a78
modified archive.py functions
AntonMFernando-NOAA Jan 19, 2025
913188f
Merge branch 'feature/arch-split' of https://github.com/AntonMFernand…
AntonMFernando-NOAA Jan 19, 2025
a07e405
modified archive.py
AntonMFernando-NOAA Jan 19, 2025
95c0eb2
modified configure function
AntonMFernando-NOAA Jan 19, 2025
c0cdcb6
modified ush\python\pygfs\task\archive.py
AntonMFernando-NOAA Jan 19, 2025
da45368
modified ush\python\pygfs\task\archive.py
AntonMFernando-NOAA Jan 19, 2025
e7c3fc4
modified ush\python\pygfs\task\archive.py
AntonMFernando-NOAA Jan 19, 2025
a005761
modified ush\python\pygfs\task\archive.py
AntonMFernando-NOAA Jan 19, 2025
5542a18
modified ush\python\pygfs\task\archive.py
AntonMFernando-NOAA Jan 19, 2025
7c1a012
added inital changes to arch_vrfy and arch_tars of gfs job
AntonMFernando-NOAA Jan 19, 2025
b48d39d
modified gefs_tasks.py
AntonMFernando-NOAA Jan 19, 2025
be5e8e0
modified workflow\rocoto\gfs_tasks.py
AntonMFernando-NOAA Jan 19, 2025
e70fd60
modified tasks pys
AntonMFernando-NOAA Jan 19, 2025
6049f91
modified gfs_tasks
AntonMFernando-NOAA Jan 19, 2025
2dc1463
modified arch_tars var
AntonMFernando-NOAA Jan 19, 2025
ee8f6b1
corrected a typo
AntonMFernando-NOAA Jan 19, 2025
d4ae8fc
modified earc job
AntonMFernando-NOAA Jan 20, 2025
1dfcaba
modified permssion
AntonMFernando-NOAA Jan 20, 2025
c57bf12
modified jobs\JGDAS_ENKF_ARCHIVE_VRFY
AntonMFernando-NOAA Jan 20, 2025
1822c17
added a blank line to workflow\rocoto\gfs_tasks.py
AntonMFernando-NOAA Jan 20, 2025
4ee399c
modified workflow\rocoto\gfs_tasks.py
AntonMFernando-NOAA Jan 20, 2025
2de3866
modified earc jobs
AntonMFernando-NOAA Jan 20, 2025
43055d6
changed permission to files
AntonMFernando-NOAA Jan 20, 2025
a579358
changed earc var
AntonMFernando-NOAA Jan 20, 2025
8fa12b8
modified workflow\applications\gfs_cycled.py
AntonMFernando-NOAA Jan 20, 2025
c5b95c8
modified workflow\applications\gfs_cycled.py
AntonMFernando-NOAA Jan 20, 2025
bd20dfd
directory changed of JJOB
AntonMFernando-NOAA Jan 20, 2025
6a8c09e
modified jjob
AntonMFernando-NOAA Jan 20, 2025
924a8a1
change permission
AntonMFernando-NOAA Jan 20, 2025
fae7f3c
modified workflow\rocoto\gfs_tasks.py
AntonMFernando-NOAA Jan 21, 2025
e0fff97
modify workflow\rocoto\gfs_tasks.py
AntonMFernando-NOAA Jan 21, 2025
6f2d008
modified workflow\rocoto\gfs_tasks.py
AntonMFernando-NOAA Jan 21, 2025
65571aa
modified workflow\rocoto\gfs_tasks.py
AntonMFernando-NOAA Jan 21, 2025
c283e87
modified config files
AntonMFernando-NOAA Jan 21, 2025
2cc52f3
modified config files
AntonMFernando-NOAA Jan 21, 2025
2657164
modified config files for gfs job
AntonMFernando-NOAA Jan 21, 2025
ed807e4
modified parm\config\gfs\config.arch_vrfy
AntonMFernando-NOAA Jan 21, 2025
cb836f8
modify config files for gfs
AntonMFernando-NOAA Jan 21, 2025
1b77466
added exglobal_archive.py
AntonMFernando-NOAA Jan 21, 2025
a596632
added two dleted files to merge with a dev branch
AntonMFernando-NOAA Jan 21, 2025
46ff542
Merge branch 'NOAA-EMC:develop' into feature/arch-split
AntonMFernando-NOAA Jan 21, 2025
0467994
modified JJOB archive scripts
AntonMFernando-NOAA Jan 21, 2025
622713c
edited exscripts for arch
AntonMFernando-NOAA Jan 21, 2025
e37b692
changed a var to string in config files
AntonMFernando-NOAA Jan 21, 2025
6ea9289
changed comments
AntonMFernando-NOAA Jan 21, 2025
d87dceb
modified workflow\rocoto\gfs_tasks.py
AntonMFernando-NOAA Jan 21, 2025
db51aea
modified workflow\rocoto\gfs_tasks.py
AntonMFernando-NOAA Jan 21, 2025
1946c57
modified workflow\applications\gfs_cycled.py
AntonMFernando-NOAA Jan 21, 2025
c1a51c6
modified workflow\applications\gfs_cycled.py
AntonMFernando-NOAA Jan 21, 2025
a5b63fa
added a blank line
AntonMFernando-NOAA Jan 21, 2025
755ba7c
modified workflow\applications\gfs_cycled.py
AntonMFernando-NOAA Jan 21, 2025
58e3140
modify workflow\rocoto\gfs_tasks.py
AntonMFernando-NOAA Jan 21, 2025
44987f0
Merge branch 'NOAA-EMC:develop' into feature/arch-split
AntonMFernando-NOAA Jan 22, 2025
93baf25
modifed earc_vrfy task
AntonMFernando-NOAA Jan 22, 2025
bc38f08
removed white space
AntonMFernando-NOAA Jan 22, 2025
6764985
modified workflow\rocoto\gfs_tasks.py
AntonMFernando-NOAA Jan 22, 2025
04c20d0
modified workflow\rocoto\gfs_tasks.py
AntonMFernando-NOAA Jan 22, 2025
7e16fcc
modified workflow\rocoto\gfs_tasks.py
AntonMFernando-NOAA Jan 22, 2025
4036f67
modified workflow\applications\gfs_cycled.py
AntonMFernando-NOAA Jan 22, 2025
604b026
modified workflow\applications\gfs_cycled.py
AntonMFernando-NOAA Jan 22, 2025
e9969dc
modified workflow\applications\gfs_cycled.py
AntonMFernando-NOAA Jan 22, 2025
e0acd9a
Merge branch 'NOAA-EMC:develop' into feature/arch-split
AntonMFernando-NOAA Jan 23, 2025
c5e611b
Walters suggestions
AntonMFernando-NOAA Jan 23, 2025
19fab0e
permission change
AntonMFernando-NOAA Jan 23, 2025
5814f59
modified workflow\rocoto\gfs_tasks.py
AntonMFernando-NOAA Jan 24, 2025
6db7a6d
modified workflow\rocoto\gfs_tasks.py
AntonMFernando-NOAA Jan 24, 2025
bba8fb4
Merge branch 'feature/arch-split' of https://github.com/AntonMFernand…
AntonMFernando-NOAA Jan 24, 2025
44eecf0
Merge branch 'NOAA-EMC:develop' into feature/arch-split
AntonMFernando-NOAA Jan 24, 2025
58c07a3
Merge branch 'develop' into feature/arch-split
AntonMFernando-NOAA Jan 24, 2025
80c9821
modified parm\config\gfs\config.resources
AntonMFernando-NOAA Jan 24, 2025
5594f9d
change permission
AntonMFernando-NOAA Jan 24, 2025
b89bd15
modified jobs\JGDAS_ENKF_ARCHIVE_VRFY
AntonMFernando-NOAA Jan 24, 2025
c5529e9
modified Jscripts
AntonMFernando-NOAA Jan 25, 2025
e0f7047
modified scripts\exglobal_archive_vrfy.py
AntonMFernando-NOAA Jan 25, 2025
1fcaf9b
modified scripts\exglobal_archive_vrfy.py
AntonMFernando-NOAA Jan 25, 2025
ce5355f
modified scripts\exglobal_archive_vrfy.py
AntonMFernando-NOAA Jan 25, 2025
05d2333
Merge branch 'NOAA-EMC:develop' into feature/arch-split
AntonMFernando-NOAA Jan 25, 2025
813249e
Merge branch 'develop' into feature/arch-split
AntonMFernando-NOAA Jan 27, 2025
a1744b3
Merge branch 'develop' into feature/arch-split
AntonMFernando-NOAA Jan 27, 2025
e470ff8
modified jobs\JGLOBAL_ARCHIVE_TARS
AntonMFernando-NOAA Jan 27, 2025
de4ee2b
Merge branch 'feature/arch-split' of https://github.com/AntonMFernand…
AntonMFernando-NOAA Jan 27, 2025
5cd8730
modified scripts\exgdas_enkf_earc_vrfy.py
AntonMFernando-NOAA Jan 27, 2025
b2bf61c
Merge branch 'develop' into feature/arch-split
AntonMFernando-NOAA Jan 27, 2025
c7814d9
modified workflow\applications\gefs.py
AntonMFernando-NOAA Jan 28, 2025
fb7187c
modify workflow\rocoto\gefs_tasks.py
AntonMFernando-NOAA Jan 28, 2025
b4c3148
modified workflow\rocoto\gefs_tasks.py
AntonMFernando-NOAA Jan 28, 2025
3db17b8
modified ARCH jscripts
AntonMFernando-NOAA Jan 28, 2025
5c50e6a
modified scripts\exglobal_archive_vrfy.py
AntonMFernando-NOAA Jan 28, 2025
b4eee81
Merge branch 'develop' into feature/arch-split
AntonMFernando-NOAA Jan 29, 2025
62892b5
added updated that failed 3DVar job
AntonMFernando-NOAA Jan 29, 2025
5da1889
modified workflow\rocoto\gfs_tasks.py
AntonMFernando-NOAA Jan 29, 2025
541286b
modified workflow\rocoto\gfs_tasks.py
AntonMFernando-NOAA Jan 29, 2025
8fac576
modified parm\config\gefs\config.resources
AntonMFernando-NOAA Jan 30, 2025
3e48dfc
Merge branch 'NOAA-EMC:develop' into feature/arch-split
AntonMFernando-NOAA Jan 30, 2025
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
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ scripts/exgdas_atmos_gempak_gif_ncdc.sh @GwenChen-NOAA
scripts/exgdas_atmos_nawips.sh @GwenChen-NOAA
scripts/exgdas_atmos_verfozn.sh @EdwardSafford-NOAA
scripts/exgdas_atmos_verfrad.sh @EdwardSafford-NOAA
scripts/exgdas_enkf_earc.py @DavidHuber-NOAA
scripts/exgdas_enkf_earc_vrfy.py @DavidHuber-NOAA
scripts/exgdas_enkf_earc_tars.py @DavidHuber-NOAA
scripts/exgdas_enkf_ecen.sh @CoryMartin-NOAA @RussTreadon-NOAA @CatherineThomas-NOAA
scripts/exgdas_enkf_post.sh @CoryMartin-NOAA @RussTreadon-NOAA @CatherineThomas-NOAA
scripts/exgdas_enkf_select_obs.sh @CoryMartin-NOAA @RussTreadon-NOAA @CatherineThomas-NOAA
Expand Down
6 changes: 4 additions & 2 deletions docs/source/jobs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ An experimental run is different from operations in the following ways:

* Addition steps in experimental mode:

- archive (arch)
- archive (arch_vrfy & arch_tars)

- cleanup (cleanup)

Expand All @@ -39,7 +39,9 @@ Jobs in the GFS Configuration
| analdiag | Creates netCDF diagnostic files containing observation values, innovation (O-F), error, quality control, as well as |
| | other analysis-related quantities (cnvstat, radstat, ozstat files). |
+-------------------+-----------------------------------------------------------------------------------------------------------------------+
| arch | Archives select files from the deterministic model and cleans up older data. |
|arch_tars | Optional archive job that backs up the COM data structure. |
+-------------------+-----------------------------------------------------------------------------------------------------------------------+
|arch_vrfy | Archives select files from the deterministic model and cleans up older data. |
+-------------------+-----------------------------------------------------------------------------------------------------------------------+
| earcN/eamn | Archival script for EnKF: 1) Write select EnKF output to HPSS; 2) Copy select files to online archive; 3) Clean up |
| | EnKF temporary run directories; 4) Remove "old" EnKF files from rotating directory. |
Expand Down
4 changes: 2 additions & 2 deletions jobs/JGDAS_ENKF_ARCHIVE → jobs/JGDAS_ENKF_ARCHIVE_TARS
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"
source "${HOMEgfs}/ush/jjob_header.sh" -e "earc" -c "base earc"
source "${HOMEgfs}/ush/jjob_header.sh" -e "earc_tars" -c "base earc_tars"


##############################################
Expand All @@ -17,7 +17,7 @@ MEMDIR="ensstat" YMD=${PDY} HH=${cyc} declare_from_tmpl -rx \
# Run archive script
###############################################################

"${SCRgfs}/exgdas_enkf_earc.py"
"${SCRgfs}/exgdas_enkf_earc_tars.py"
status=$?
[[ ${status} -ne 0 ]] && exit "${status}"

Expand Down
43 changes: 43 additions & 0 deletions jobs/JGDAS_ENKF_ARCHIVE_VRFY
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"
source "${HOMEgfs}/ush/jjob_header.sh" -e "earc_vrfy" -c "base earc_vrfy"


##############################################
# Set variables used in the script
##############################################
YMD=${PDY} HH=${cyc} declare_from_tmpl -rx COM_TOP
MEMDIR="ensstat" YMD=${PDY} HH=${cyc} declare_from_tmpl -rx \
COMIN_ATMOS_ANALYSIS_ENSSTAT:COM_ATMOS_ANALYSIS_TMPL \
COMIN_ATMOS_HISTORY_ENSSTAT:COM_ATMOS_HISTORY_TMPL \
COMIN_SNOW_ANALYSIS_ENSSTAT:COM_SNOW_ANALYSIS_TMPL

###############################################################
# Run archive script
###############################################################

"${SCRgfs}/exgdas_enkf_earc_vrfy.py"
status=$?
[[ ${status} -ne 0 ]] && exit "${status}"

###############################################################

##############################################
# End JOB SPECIFIC work
##############################################

##############################################
# Final processing
##############################################
if [[ -e "${pgmout}" ]] ; then
cat "${pgmout}"
fi

##########################################
# Remove the Temporary working directory
##########################################
cd "${DATAROOT}" || (echo "${DATAROOT} does not exist. ABORT!"; exit 1)
[[ ${KEEPDATA} = "NO" ]] && rm -rf "${DATA}"

exit 0
79 changes: 40 additions & 39 deletions jobs/JGLOBAL_ARCHIVE → jobs/JGLOBAL_ARCHIVE_TARS
Original file line number Diff line number Diff line change
@@ -1,48 +1,49 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"
source "${HOMEgfs}/ush/jjob_header.sh" -e "arch" -c "base arch wave"
source "${USHgfs}/wave_domain_grid.sh"
AntonMFernando-NOAA marked this conversation as resolved.
Show resolved Hide resolved
source "${HOMEgfs}/ush/jjob_header.sh" -e "arch_tars" -c "base arch_tars wave"
source "${USHgfs}/wave_domain_grid.sh"

##############################################
# Set variables used in the script
##############################################
YMD=${PDY} HH=${cyc} declare_from_tmpl -rx \
COMIN_ATMOS_ANALYSIS:COM_ATMOS_ANALYSIS_TMPL \
COMIN_ATMOS_BUFR:COM_ATMOS_BUFR_TMPL \
COMIN_ATMOS_GEMPAK:COM_ATMOS_GEMPAK_TMPL \
COMIN_ATMOS_GENESIS:COM_ATMOS_GENESIS_TMPL \
COMIN_ATMOS_HISTORY:COM_ATMOS_HISTORY_TMPL \
COMIN_ATMOS_INPUT:COM_ATMOS_INPUT_TMPL \
COMIN_ATMOS_MASTER:COM_ATMOS_MASTER_TMPL \
COMIN_ATMOS_RESTART:COM_ATMOS_RESTART_TMPL \
COMIN_ATMOS_TRACK:COM_ATMOS_TRACK_TMPL \
COMIN_ATMOS_WMO:COM_ATMOS_WMO_TMPL \
COMIN_CHEM_HISTORY:COM_CHEM_HISTORY_TMPL \
COMIN_CHEM_ANALYSIS:COM_CHEM_ANALYSIS_TMPL \
COMIN_MED_RESTART:COM_MED_RESTART_TMPL \
COMIN_SNOW_ANALYSIS:COM_SNOW_ANALYSIS_TMPL \
COMIN_ICE_HISTORY:COM_ICE_HISTORY_TMPL \
COMIN_ICE_INPUT:COM_ICE_INPUT_TMPL \
COMIN_ICE_RESTART:COM_ICE_RESTART_TMPL \
COMIN_ICE_GRIB:COM_ICE_GRIB_TMPL \
COMIN_OBS:COM_OBS_TMPL \
COMIN_TOP:COM_TOP_TMPL \
COMIN_OCEAN_HISTORY:COM_OCEAN_HISTORY_TMPL \
COMIN_OCEAN_RESTART:COM_OCEAN_RESTART_TMPL \
COMIN_OCEAN_GRIB:COM_OCEAN_GRIB_TMPL \
COMIN_OCEAN_NETCDF:COM_OCEAN_NETCDF_TMPL \
COMIN_OCEAN_ANALYSIS:COM_OCEAN_ANALYSIS_TMPL \
COMIN_OCEAN_BMATRIX:COM_OCEAN_BMATRIX_TMPL \
COMIN_ICE_BMATRIX:COM_ICE_BMATRIX_TMPL \
COMIN_WAVE_GRID:COM_WAVE_GRID_TMPL \
COMIN_WAVE_HISTORY:COM_WAVE_HISTORY_TMPL \
COMIN_WAVE_STATION:COM_WAVE_STATION_TMPL \
COMIN_WAVE_RESTART:COM_WAVE_RESTART_TMPL \
COMIN_ATMOS_OZNMON:COM_ATMOS_OZNMON_TMPL \
COMIN_ATMOS_RADMON:COM_ATMOS_RADMON_TMPL \
COMIN_ATMOS_MINMON:COM_ATMOS_MINMON_TMPL \
COMIN_CONF:COM_CONF_TMPL \
COMOUT_ATMOS_TRACK:COM_ATMOS_TRACK_TMPL
COMIN_ATMOS_ANALYSIS:COM_ATMOS_ANALYSIS_TMPL \
COMIN_ATMOS_BUFR:COM_ATMOS_BUFR_TMPL \
COMIN_ATMOS_GEMPAK:COM_ATMOS_GEMPAK_TMPL \
COMIN_ATMOS_GENESIS:COM_ATMOS_GENESIS_TMPL \
COMIN_ATMOS_HISTORY:COM_ATMOS_HISTORY_TMPL \
COMIN_ATMOS_INPUT:COM_ATMOS_INPUT_TMPL \
COMIN_ATMOS_MASTER:COM_ATMOS_MASTER_TMPL \
COMIN_ATMOS_RESTART:COM_ATMOS_RESTART_TMPL \
COMIN_ATMOS_TRACK:COM_ATMOS_TRACK_TMPL \
COMIN_ATMOS_WMO:COM_ATMOS_WMO_TMPL \
COMIN_CHEM_HISTORY:COM_CHEM_HISTORY_TMPL \
COMIN_CHEM_ANALYSIS:COM_CHEM_ANALYSIS_TMPL \
COMIN_MED_RESTART:COM_MED_RESTART_TMPL \
COMIN_SNOW_ANALYSIS:COM_SNOW_ANALYSIS_TMPL \
COMIN_ICE_HISTORY:COM_ICE_HISTORY_TMPL \
COMIN_ICE_INPUT:COM_ICE_INPUT_TMPL \
COMIN_ICE_RESTART:COM_ICE_RESTART_TMPL \
COMIN_ICE_GRIB:COM_ICE_GRIB_TMPL \
COMIN_OBS:COM_OBS_TMPL \
COMIN_TOP:COM_TOP_TMPL \
COMIN_OCEAN_HISTORY:COM_OCEAN_HISTORY_TMPL \
COMIN_OCEAN_RESTART:COM_OCEAN_RESTART_TMPL \
COMIN_OCEAN_GRIB:COM_OCEAN_GRIB_TMPL \
COMIN_OCEAN_NETCDF:COM_OCEAN_NETCDF_TMPL \
COMIN_OCEAN_ANALYSIS:COM_OCEAN_ANALYSIS_TMPL \
COMIN_OCEAN_BMATRIX:COM_OCEAN_BMATRIX_TMPL \
COMIN_ICE_BMATRIX:COM_ICE_BMATRIX_TMPL \
COMIN_WAVE_GRID:COM_WAVE_GRID_TMPL \
COMIN_WAVE_HISTORY:COM_WAVE_HISTORY_TMPL \
COMIN_WAVE_STATION:COM_WAVE_STATION_TMPL \
COMIN_WAVE_RESTART:COM_WAVE_RESTART_TMPL \
COMIN_ATMOS_OZNMON:COM_ATMOS_OZNMON_TMPL \
COMIN_ATMOS_RADMON:COM_ATMOS_RADMON_TMPL \
COMIN_ATMOS_MINMON:COM_ATMOS_MINMON_TMPL \
COMIN_CONF:COM_CONF_TMPL \
COMOUT_ATMOS_TRACK:COM_ATMOS_TRACK_TMPL

for grid in "0p25" "0p50" "1p00"; do
YMD=${PDY} HH=${cyc} GRID=${grid} declare_from_tmpl -rx \
Expand Down Expand Up @@ -70,7 +71,7 @@ fi
# Run archive script
###############################################################

${GLOBALARCHIVESH:-${SCRgfs}/exglobal_archive.py}
${GLOBALARCHIVESH:-${SCRgfs}/exglobal_archive_tars.py}
status=$?
[[ ${status} -ne 0 ]] && exit "${status}"

Expand Down
50 changes: 50 additions & 0 deletions jobs/JGLOBAL_ARCHIVE_VRFY
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"
source "${HOMEgfs}/ush/jjob_header.sh" -e "arch_vrfy" -c "base arch_vrfy wave"


##############################################
# Set variables used in the script
##############################################
YMD=${PDY} HH=${cyc} declare_from_tmpl -rx \
WalterKolczynski-NOAA marked this conversation as resolved.
Show resolved Hide resolved
COMIN_ATMOS_ANALYSIS:COM_ATMOS_ANALYSIS_TMPL \
COMIN_ATMOS_GENESIS:COM_ATMOS_GENESIS_TMPL \
COMIN_ATMOS_HISTORY:COM_ATMOS_HISTORY_TMPL \
COMIN_ATMOS_TRACK:COM_ATMOS_TRACK_TMPL \
COMIN_CHEM_ANALYSIS:COM_CHEM_ANALYSIS_TMPL \
COMIN_SNOW_ANALYSIS:COM_SNOW_ANALYSIS_TMPL \
COMIN_OBS:COM_OBS_TMPL \
COMOUT_ATMOS_TRACK:COM_ATMOS_TRACK_TMPL

for grid in "0p25" "0p50" "1p00"; do
YMD=${PDY} HH=${cyc} GRID=${grid} declare_from_tmpl -rx \
"COMIN_ATMOS_GRIB_${grid}:COM_ATMOS_GRIB_GRID_TMPL"
done

###############################################################
# Run archive script
###############################################################

${GLOBALARCHIVESH:-${SCRgfs}/exglobal_archive_vrfy.py}
status=$?
[[ ${status} -ne 0 ]] && exit "${status}"

##############################################
# End JOB SPECIFIC work
##############################################

##############################################
# Final processing
##############################################
if [[ -e "${pgmout}" ]] ; then
cat "${pgmout}"
fi

##########################################
# Remove the Temporary working directory
##########################################
cd "${DATAROOT}" || (echo "${DATAROOT} does not exist. ABORT!"; exit 1)
[[ ${KEEPDATA} = "NO" ]] && rm -rf "${DATA}"

exit 0
4 changes: 2 additions & 2 deletions jobs/rocoto/arch.sh → jobs/rocoto/arch_tars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ status=$?
PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${HOMEgfs}/ush/python"
export PYTHONPATH

export job="arch"
export job="arch_tars"
export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}"/jobs/JGLOBAL_ARCHIVE
"${HOMEgfs}"/jobs/JGLOBAL_ARCHIVE_TARS
status=$?

exit "${status}"
24 changes: 24 additions & 0 deletions jobs/rocoto/arch_vrfy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"

###############################################################
# Source FV3GFS workflow modules
. "${HOMEgfs}"/ush/load_fv3gfs_modules.sh
status=$?
[[ ${status} -ne 0 ]] && exit "${status}"

###############################################################
# setup python path for workflow utilities and tasks
PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${HOMEgfs}/ush/python"
export PYTHONPATH

export job="arch_vrfy"
export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}"/jobs/JGLOBAL_ARCHIVE_VRFY
status=$?

exit "${status}"
4 changes: 2 additions & 2 deletions jobs/rocoto/earc.sh → jobs/rocoto/earc_tars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ status=$?
PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${HOMEgfs}/ush/python"
export PYTHONPATH

export job="earc"
export job="earc_tars"
export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGDAS_ENKF_ARCHIVE"
"${HOMEgfs}/jobs/JGDAS_ENKF_ARCHIVE_TARS"
status=$?

exit "${status}"
24 changes: 24 additions & 0 deletions jobs/rocoto/earc_vrfy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"

###############################################################
# Source FV3GFS workflow modules
. "${HOMEgfs}/ush/load_fv3gfs_modules.sh"
status=$?
[[ ${status} -ne 0 ]] && exit "${status}"

###############################################################
# setup python path for workflow utilities and tasks
PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${HOMEgfs}/ush/python"
export PYTHONPATH

export job="earc_vrfy"
export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGDAS_ENKF_ARCHIVE_VRFY"
status=$?

exit "${status}"
2 changes: 1 addition & 1 deletion parm/archive/gfsa.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gfsa:
# Logs
# TODO explicitly name all logs to include
{% for log in glob("logs/" ~ cycle_YMDH ~ "/gfs*.log") %}
{% if not "gfs_arch.log" in log %}
{% if not "gfs_arch_tars.log" in log %}
- "{{ log }}"
{% endif %}
{% endfor %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#! /usr/bin/env bash

########## config.arch ##########
########## config.arch_tars ##########
# Archive specific

echo "BEGIN: config.arch"
echo "BEGIN: config.arch_tars"

# Get task specific resources
. "${EXPDIR}/config.resources" arch
. "${EXPDIR}/config.resources" arch_tars

export ARCH_GAUSSIAN="YES"
export ARCH_GAUSSIAN_FHMAX=${FHMAX_GFS}
export ARCH_GAUSSIAN_FHINC=${FHOUT_GFS}

echo "END: config.arch"
echo "END: config.arch_tars"
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#! /usr/bin/env bash

########## config.arch ##########
########## config.arch_vrfy ##########
# Archive specific

echo "BEGIN: config.arch"
echo "BEGIN: config.arch_vrfy"

# Get task specific resources
. "${EXPDIR}/config.resources" arch
. "${EXPDIR}/config.resources" arch_vrfy

export ARCH_GAUSSIAN="YES"
export ARCH_GAUSSIAN_FHMAX=${FHMAX_GFS}
export ARCH_GAUSSIAN_FHINC=${FHOUT_GFS}

echo "END: config.arch"
echo "END: config.arch_vrfy"
7 changes: 5 additions & 2 deletions parm/config/gefs/config.base
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,16 @@ export DO_METP="NO" # Run METPLUS jobs - set METPLUS settings in config.
export DO_FIT2OBS="NO" # Run fit to observations package

# Archiving options
export VRFYARCH="@VRFYARCH@" # save verification data locally
export HPSSARCH="@HPSSARCH@" # save data to HPSS archive
export LOCALARCH="@LOCALARCH@" # save data to local archive
if [[ ${HPSSARCH} = "YES" ]] && [[ ${LOCALARCH} = "YES" ]]; then
echo "Both HPSS and local archiving selected. Please choose one or the other."
exit 3
elif [[ ${HPSSARCH} = "YES" ]] || [[ ${LOCALARCH} = "YES" ]]; then
export DO_ARCHTAR="YES"
else
export DO_ARCHTAR="NO"
fi
export ARCH_CYC=00 # Archive data at this cycle for warm start and/or forecast-only capabilities
export ARCH_WARMICFREQ=4 # Archive frequency in days for warm start capability
Expand All @@ -348,8 +353,6 @@ export ARCH_EXPDIR_FREQ=0 # How often to archive the EXPDIR in hours or 0 for
export ARCH_HASHES='YES' # Archive the hashes of the GW and submodules and 'git status' for each; requires ARCH_EXPDIR
export ARCH_DIFFS='NO' # Archive the output of 'git diff' for the GW; requires ARCH_EXPDIR

export DELETE_COM_IN_ARCHIVE_JOB="YES" # NO=retain ROTDIR. YES default in arch.sh and earc.sh.

# Number of regional collectives to create soundings for
export NUM_SND_COLLECTIVES=${NUM_SND_COLLECTIVES:-9}

Expand Down
Loading