Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ indent_style = tab
indent_size = 4
max_line_length = 79

[jobs/*]
[dev/jobs/*]
indent_style = space
indent_size = 4
shell_variant = bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bash_code_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Install shfmt
uses: mfinelli/setup-shfmt@v4
- name: shfmt scan
run: shfmt -d dev/jobs jobs scripts
run: shfmt -d dev/jobs dev/job_cards dev/scripts

shellcheck:
runs-on: ubuntu-22.04
Expand Down
2 changes: 1 addition & 1 deletion dev/ctests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ source $HOMEgfs/dev/ci/platforms/config.$MACHINE_ID
- **Complete Documentation**: `docs/source/testing.rst`
- **Test Case Examples**: `cases/*.yaml`
- **CI/CD Pipeline**: `../ci/gitlab-ci-hosts.yml`
- **Job Scripts**: `../../jobs/JGLOBAL_*`
- **Job Scripts**: `../jobs/JGLOBAL_*`
- **Platform Configuration**: `../ci/platforms/config.*`

---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_AERO_ANALYSIS_FINALIZE"
"${HOMEgfs}/dev/jobs/JGLOBAL_AERO_ANALYSIS_FINALIZE"
status=$?
exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ export jobid="${job}.$$"
###############################################################

# Execute the JJOB
"${HOMEgfs}/jobs/JGDAS_AERO_ANALYSIS_GENERATE_BMATRIX"
"${HOMEgfs}/dev/jobs/JGDAS_AERO_ANALYSIS_GENERATE_BMATRIX"
status=$?
exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_AERO_ANALYSIS_INITIALIZE"
"${HOMEgfs}/dev/jobs/JGLOBAL_AERO_ANALYSIS_INITIALIZE"
status=$?
exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_AERO_ANALYSIS_VARIATIONAL"
"${HOMEgfs}/dev/jobs/JGLOBAL_AERO_ANALYSIS_VARIATIONAL"
status=$?
exit "${status}"
File renamed without changes.
2 changes: 1 addition & 1 deletion dev/jobs/anal.sh → dev/job_cards/rocoto/anal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export jobid="${job}.$$"

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

exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export jobid="${job}.$$"

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

exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}"/jobs/JGLOBAL_ATMOS_ANALYSIS_CALC_FV3JEDI
"${HOMEgfs}"/dev/jobs/JGLOBAL_ATMOS_ANALYSIS_CALC_FV3JEDI
status=$?
exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export jobid="${job}.$$"

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

exit "${status}"
2 changes: 1 addition & 1 deletion dev/jobs/anlstat.sh → dev/job_cards/rocoto/anlstat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_ANALYSIS_STATS"
"${HOMEgfs}/dev/jobs/JGLOBAL_ANALYSIS_STATS"
exit $?
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export jobid="${job}.$$"

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

exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export jobid="${job}.$$"

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

exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_ATM_ANALYSIS_FINALIZE"
"${HOMEgfs}/dev/jobs/JGLOBAL_ATM_ANALYSIS_FINALIZE"
status=$?
exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_ATM_ANALYSIS_FV3_INCREMENT"
"${HOMEgfs}/dev/jobs/JGLOBAL_ATM_ANALYSIS_FV3_INCREMENT"
status=$?
exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_ATM_ANALYSIS_INITIALIZE"
"${HOMEgfs}/dev/jobs/JGLOBAL_ATM_ANALYSIS_INITIALIZE"
status=$?
exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_ATM_ANALYSIS_VARIATIONAL"
"${HOMEgfs}/dev/jobs/JGLOBAL_ATM_ANALYSIS_VARIATIONAL"
status=$?
exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_ATMENS_ANALYSIS_FINALIZE"
"${HOMEgfs}/dev/jobs/JGLOBAL_ATMENS_ANALYSIS_FINALIZE"
status=$?
exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_ATMENS_ANALYSIS_FV3_INCREMENT"
"${HOMEgfs}/dev/jobs/JGLOBAL_ATMENS_ANALYSIS_FV3_INCREMENT"
status=$?
exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_ATMENS_ANALYSIS_INITIALIZE"
"${HOMEgfs}/dev/jobs/JGLOBAL_ATMENS_ANALYSIS_INITIALIZE"
status=$?
exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_ATMENS_ANALYSIS_LETKF"
"${HOMEgfs}/dev/jobs/JGLOBAL_ATMENS_ANALYSIS_LETKF"
status=$?
exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_ATMENS_ANALYSIS_OBS"
"${HOMEgfs}/dev/jobs/JGLOBAL_ATMENS_ANALYSIS_OBS"
status=$?
exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_ATMENS_ANALYSIS_SOL"
"${HOMEgfs}/dev/jobs/JGLOBAL_ATMENS_ANALYSIS_SOL"
status=$?
exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ for FORECAST_HOUR in "${fhr_list[@]}"; do
###############################################################
# Execute the JJOB
###############################################################
"${HOMEgfs}/jobs/JGLOBAL_ATMOS_ENSSTAT"
"${HOMEgfs}/dev/jobs/JGLOBAL_ATMOS_ENSSTAT"
status=$?
[[ ${status} -ne 0 ]] && exit "${status}"
done
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ for FORECAST_HOUR in "${fhr_list[@]}"; do
###############################################################
# Execute the JJOB
###############################################################
"${HOMEgfs}/jobs/JGLOBAL_ATMOS_PRODUCTS"
"${HOMEgfs}/dev/jobs/JGLOBAL_ATMOS_PRODUCTS"
status=$?
[[ ${status} -ne 0 ]] && exit "${status}"
done
Expand Down
2 changes: 1 addition & 1 deletion dev/jobs/awips.sh → dev/job_cards/rocoto/awips.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ for fhr in "${fhr_list[@]}"; do
###############################################################
# Execute the JJOB # TODO
###############################################################
# "${HOMEgfs}/jobs/J${RUN^^}_ATMOS_AWIPS"
# "${HOMEgfs}/dev/jobs/J${RUN^^}_ATMOS_AWIPS"
err=$?
if [[ ${err} -ne 0 ]]; then
exit "${err}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ for fhr3 in ${fhrlst}; do
if ((fhr % 3 == 0)); then
export fcsthr="${fhr3}"
export DATA="${DATAROOT}/${jobid}.${fcsthr}"
"${HOMEgfs}/jobs/JGFS_ATMOS_AWIPS_20KM_1P0DEG"
"${HOMEgfs}/dev/jobs/JGFS_ATMOS_AWIPS_20KM_1P0DEG"
fi
# Process every 6 hrs from hour 90 up to hour 240
elif [[ ${fhr} -ge 90 ]] && [[ ${fhr} -le 240 ]]; then
if ((fhr % 6 == 0)); then
export fcsthr="${fhr3}"
export DATA="${DATAROOT}/${jobid}.${fcsthr}"
"${HOMEgfs}/jobs/JGFS_ATMOS_AWIPS_20KM_1P0DEG"
"${HOMEgfs}/dev/jobs/JGFS_ATMOS_AWIPS_20KM_1P0DEG"
fi
fi
done
Expand Down
2 changes: 1 addition & 1 deletion dev/jobs/cleanup.sh → dev/job_cards/rocoto/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export jobid="${job}.$$"

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

exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export jobid="${job}.$$"

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

exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export jobid="${job}.$$"

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

exit "${status}"
2 changes: 1 addition & 1 deletion dev/jobs/ecen.sh → dev/job_cards/rocoto/ecen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ for fhr in ${fhrlst}; do
export job=ecen
export jobid="${job}.$$"

"${HOMEgfs}/jobs/JGLOBAL_ENKF_ECEN"
"${HOMEgfs}/dev/jobs/JGLOBAL_ENKF_ECEN"
status=$?
if [[ ${status} -ne 0 ]]; then
exit "${status}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}"/jobs/JGLOBAL_ENKF_ECEN_FV3JEDI
"${HOMEgfs}"/dev/jobs/JGLOBAL_ENKF_ECEN_FV3JEDI
status=$?
exit "${status}"
2 changes: 1 addition & 1 deletion dev/jobs/echgres.sh → dev/job_cards/rocoto/echgres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export jobid="${job}.$$"

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

exit "${status}"
2 changes: 1 addition & 1 deletion dev/jobs/ediag.sh → dev/job_cards/rocoto/ediag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export jobid="${job}.$$"

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

exit "${status}"
2 changes: 1 addition & 1 deletion dev/jobs/eobs.sh → dev/job_cards/rocoto/eobs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export jobid="${job}.$$"

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

exit "${status}"
2 changes: 1 addition & 1 deletion dev/jobs/epos.sh → dev/job_cards/rocoto/epos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ for fhr in ${fhrlst}; do
export FHMIN_EPOS=${fhr}
export FHMAX_EPOS=${fhr}
export FHOUT_EPOS=${fhr}
"${HOMEgfs}/jobs/JGDAS_ENKF_POST"
"${HOMEgfs}/dev/jobs/JGDAS_ENKF_POST"
status=$?
if [[ ${status} -ne 0 ]]; then
exit "${status}"
Expand Down
2 changes: 1 addition & 1 deletion dev/jobs/esfc.sh → dev/job_cards/rocoto/esfc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export jobid="${job}.$$"

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

exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_SNOWENS_ANALYSIS"
"${HOMEgfs}/dev/jobs/JGLOBAL_SNOWENS_ANALYSIS"
status=$?
exit "${status}"
2 changes: 1 addition & 1 deletion dev/jobs/eupd.sh → dev/job_cards/rocoto/eupd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export jobid="${job}.$$"

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

exit "${status}"
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export jobid="${job}.$$"
echo
echo "=============== START TO RUN EXTRACTVARS ==============="
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_EXTRACTVARS"
"${HOMEgfs}/dev/jobs/JGLOBAL_EXTRACTVARS"
status=$?
if [[ "${status}" -ne 0 ]]; then
exit "${status}"
Expand Down
2 changes: 1 addition & 1 deletion dev/jobs/fbwind.sh → dev/job_cards/rocoto/fbwind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export job="fbwind"
export jobid="${job}.$$"

# Execute the JJOB
"${HOMEgfs}/jobs/JGFS_ATMOS_FBWIND"
"${HOMEgfs}/dev/jobs/JGFS_ATMOS_FBWIND"

status=$?
exit "${status}"
2 changes: 1 addition & 1 deletion dev/jobs/fcst.sh → dev/job_cards/rocoto/fcst.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export job="fcst"
export jobid="${job}.$$"

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

exit "${status}"
2 changes: 1 addition & 1 deletion dev/jobs/fetch.sh → dev/job_cards/rocoto/fetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export job="fetch"
export jobid="${job}.$$"

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

exit "${status}"
2 changes: 1 addition & 1 deletion dev/jobs/fit2obs.sh → dev/job_cards/rocoto/fit2obs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export jobid="${job}.$$"
echo
echo "=============== START TO RUN FIT2OBS ==============="
# Execute the JJOB
"${HOMEgfs}/jobs/JGDAS_FIT2OBS"
"${HOMEgfs}/dev/jobs/JGDAS_FIT2OBS"
status=$?
if [[ ${status} -ne 0 ]]; then
exit "${status}"
Expand Down
Loading