-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reformat snowDA templates to jinja2 (#2371)
# Description This PR: - replaces use of non-jinja2 templates in the yaml templates. Specifically `$( )` in favor of pure jinja2. - uses jinja2's built-in capability to include templates within templates, thereby allowing to assemble a completely rendered template before passing it to for e.g. yaml loader. - requires updates to `wxflow` and `gdasapp` - Changes in `wxflow` in `parse_j2yaml` are **not** backwards compatible Additionally, this PR: - renames `config.base.emc.dyn` to `config.base`. Resolves #2347
- Loading branch information
Showing
15 changed files
with
73 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
[submodule "sorc/ufs_model.fd"] | ||
path = sorc/ufs_model.fd | ||
url = https://github.com/ufs-community/ufs-weather-model | ||
ignore = dirty | ||
path = sorc/ufs_model.fd | ||
url = https://github.com/ufs-community/ufs-weather-model | ||
ignore = dirty | ||
[submodule "sorc/wxflow"] | ||
path = sorc/wxflow | ||
url = https://github.com/NOAA-EMC/wxflow | ||
path = sorc/wxflow | ||
url = https://github.com/NOAA-EMC/wxflow | ||
[submodule "sorc/gfs_utils.fd"] | ||
path = sorc/gfs_utils.fd | ||
url = https://github.com/NOAA-EMC/gfs-utils | ||
path = sorc/gfs_utils.fd | ||
url = https://github.com/NOAA-EMC/gfs-utils | ||
[submodule "sorc/ufs_utils.fd"] | ||
path = sorc/ufs_utils.fd | ||
url = https://github.com/ufs-community/UFS_UTILS.git | ||
path = sorc/ufs_utils.fd | ||
url = https://github.com/ufs-community/UFS_UTILS.git | ||
[submodule "sorc/verif-global.fd"] | ||
path = sorc/verif-global.fd | ||
url = https://github.com/NOAA-EMC/EMC_verif-global.git | ||
path = sorc/verif-global.fd | ||
url = https://github.com/NOAA-EMC/EMC_verif-global.git | ||
[submodule "sorc/gsi_enkf.fd"] | ||
path = sorc/gsi_enkf.fd | ||
url = https://github.com/NOAA-EMC/GSI.git | ||
path = sorc/gsi_enkf.fd | ||
url = https://github.com/NOAA-EMC/GSI.git | ||
[submodule "sorc/gdas.cd"] | ||
path = sorc/gdas.cd | ||
url = https://github.com/NOAA-EMC/GDASApp.git | ||
path = sorc/gdas.cd | ||
url = https://github.com/NOAA-EMC/GDASApp.git | ||
[submodule "sorc/gsi_utils.fd"] | ||
path = sorc/gsi_utils.fd | ||
url = https://github.com/NOAA-EMC/GSI-Utils.git | ||
path = sorc/gsi_utils.fd | ||
url = https://github.com/NOAA-EMC/GSI-Utils.git | ||
[submodule "sorc/gsi_monitor.fd"] | ||
path = sorc/gsi_monitor.fd | ||
url = https://github.com/NOAA-EMC/GSI-Monitor.git | ||
path = sorc/gsi_monitor.fd | ||
url = https://github.com/NOAA-EMC/GSI-Monitor.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,5 @@ arguments: | |
|
||
skip_ci_on_hosts: | ||
- orion | ||
- hera | ||
- hercules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
mkdir: | ||
- '{{ DATA }}/fv3jedi' | ||
copy: | ||
- ['{{ HOMEgfs }}/fix/gdas/fv3jedi/fv3files/akbk{{ npz }}.nc4', '{{ DATA }}/fv3jedi/akbk.nc4'] | ||
- ['{{ HOMEgfs }}/fix/gdas/fv3jedi/fv3files/fmsmpp.nml', '{{ DATA }}/fv3jedi/fmsmpp.nml'] | ||
- ['{{ HOMEgfs }}/fix/gdas/fv3jedi/fv3files/field_table_gfdl', '{{ DATA }}/fv3jedi/field_table'] | ||
- ['{{ HOMEgfs }}/sorc/gdas.cd/parm/io/fv3jedi_fieldmetadata_restart.yaml', '{{ DATA }}/fv3jedi/fv3jedi_fieldmetadata_restart.yaml'] |
Submodule gdas.cd
updated
33 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule wxflow
updated
40 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters