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

[develop] Transition the var_defns bash file to YAML. #1098

Open
wants to merge 43 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
55b500b
WIP
christinaholtNOAA Apr 11, 2024
46c4805
Add machine to command
christinaholtNOAA Apr 11, 2024
87e549f
Keep same environment behavior for AQM jobs.
christinaholtNOAA Apr 11, 2024
59d07d4
WIP
christinaholtNOAA Apr 18, 2024
446f6eb
Finished up first round of ex-scripts
christinaholtNOAA Apr 18, 2024
38f9daa
Order docs.
christinaholtNOAA Apr 18, 2024
8496c68
Order jobs.
christinaholtNOAA Apr 18, 2024
e5b28da
Ordering for sourced files.
christinaholtNOAA Apr 18, 2024
16da1ef
Cleaning up old functionality.
christinaholtNOAA Apr 18, 2024
444f1f0
WIP
christinaholtNOAA Apr 18, 2024
a12f6fb
WIP
christinaholtNOAA Apr 19, 2024
4bec6b7
WIP
christinaholtNOAA Apr 19, 2024
0d86ab0
Fix all the subshell problems.
christinaholtNOAA Apr 19, 2024
a6513cb
Merge remote-tracking branch 'origin/develop' into to_yaml
christinaholtNOAA Apr 23, 2024
f08e3ef
Boolified.
christinaholtNOAA Apr 27, 2024
94d7970
WIP
christinaholtNOAA Jun 11, 2024
4ef89f6
Merge remote-tracking branch 'origin/develop' into to_yaml
christinaholtNOAA Jun 11, 2024
874af4b
Bump uwtools version.
christinaholtNOAA Jun 11, 2024
d2a0bc2
Source from a function.
christinaholtNOAA Jun 11, 2024
253590f
WIP
christinaholtNOAA Jun 17, 2024
e242490
Add nco section to be sourced always.
christinaholtNOAA Jun 18, 2024
241ef5d
A bit of clean up
christinaholtNOAA Jun 18, 2024
f360da3
Update jobs/JREGIONAL_MAKE_OROG
christinaholtNOAA Jun 28, 2024
b31f6c7
Applying suggested changes from review.
christinaholtNOAA Jul 12, 2024
2ed368f
Update docs for default values.
christinaholtNOAA Jul 12, 2024
8b9eb07
Merge branch 'to_yaml' of https://github.com/ChristinaholtNOAA/ufs-sr…
christinaholtNOAA Jul 12, 2024
0a8cf97
Merge branch 'develop' of https://github.com/ufs-community/ufs-srweat…
christinaholtNOAA Jul 12, 2024
5502cdc
This should no longer be an executable bash file.
christinaholtNOAA Jul 12, 2024
b368974
Linting.
christinaholtNOAA Jul 13, 2024
b7bacbc
Addressing PR comments.
christinaholtNOAA Jul 15, 2024
d7378dc
Apply suggestions from code review
christinaholtNOAA Jul 15, 2024
e29b3b4
Fix reported stat namespace collision.
christinaholtNOAA Jul 16, 2024
d3f40c6
Merge branch 'to_yaml' of https://github.com/ChristinaholtNOAA/ufs-sr…
christinaholtNOAA Jul 16, 2024
8f7ac15
Apply suggestions from code review
christinaholtNOAA Jul 17, 2024
50be36a
Missed one!
christinaholtNOAA Jul 17, 2024
1acdb48
Making additional PR requested changes.
christinaholtNOAA Jul 17, 2024
ce0a6e6
Merge branch 'to_yaml' of https://github.com/ChristinaholtNOAA/ufs-sr…
christinaholtNOAA Jul 17, 2024
ff4f030
[to_yaml] Update wrapper scripts to allow them to run using var_defns…
MichaelLueken Jul 23, 2024
1afdf51
Merge pull request #4 from MichaelLueken/to_yaml
christinaholtNOAA Jul 23, 2024
060ecc9
Remove tests that are no longer relevant.
christinaholtNOAA Jul 23, 2024
072e8eb
Merge branch 'to_yaml' of https://github.com/ChristinaholtNOAA/ufs-sr…
christinaholtNOAA Jul 23, 2024
2ce08ae
[to_yaml] Update .cicd/scripts/wrapper_srw_ftest.sh to add third argu…
MichaelLueken Jul 25, 2024
85070ad
Merge pull request #5 from MichaelLueken/to_yaml
christinaholtNOAA Jul 25, 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
Prev Previous commit
Next Next commit
WIP
  • Loading branch information
christinaholtNOAA committed Apr 19, 2024
commit 4bec6b72517fd13dc5fbc75fa8b87eeb9ec86a27
2 changes: 1 addition & 1 deletion scripts/exregional_get_extrn_mdl_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ for sect in user platform workflow global task_get_extrn_lbcs \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exregional_get_verif_obs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ for sect in user ; do
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exregional_make_grid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ for sect in user platform workflow constants grid_params task_make_grid ; do
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exregional_make_ics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ for sect in user platform workflow global cpl_aqm_parm constants task_get_extrn_
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exregional_make_lbcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ for sect in user platform workflow global cpl_aqm_parm constants task_get_extrn
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exregional_make_orog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ for sect in user platform workflow constants grid_params task_make_grid task_mak
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done

#
Expand Down
2 changes: 1 addition & 1 deletion scripts/exregional_make_sfc_climo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ for sect in user platform workflow constants task_make_sfc_climo ; do
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exregional_run_fcst.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ for sect in user platform workflow global cpl_aqm_parm constants fixed_files \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done

#
Expand Down
2 changes: 1 addition & 1 deletion scripts/exregional_run_met_genensprod_or_ensemblestat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exregional_run_met_gridstat_or_pointstat_vx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exregional_run_met_pb2nc_obs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exregional_run_met_pcpcombine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exregional_run_post.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ for sect in user platform workflow global cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exregional_run_prdgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exsrw_aqm_ics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exsrw_aqm_lbcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exsrw_bias_correction_o3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exsrw_bias_correction_pm25.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exsrw_fire_emission.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exsrw_nexus_emission.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exsrw_nexus_gfs_sfc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exsrw_nexus_post_split.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exsrw_point_source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exsrw_post_stat_o3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exsrw_post_stat_pm25.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/exsrw_pre_post_stat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for sect in user platform workflow nco global verification cpl_aqm_parm \
while read -r line ; do
source <( echo "${line}" )
done < <(uw config realize -i ${GLOBAL_VAR_DEFNS_FP} --output-format sh \
done
--output-block ${sect})
done
#
#-----------------------------------------------------------------------
Expand Down