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

Turn C96C48_ufs_hybatmDA and C48mx500_3DVarAOWCDA into a regression test #3120

Merged
merged 47 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
dc31188
Initial commit
DavidNew-NOAA Nov 19, 2024
0d543c1
Add appropriate GDAS hash
DavidNew-NOAA Nov 19, 2024
70af6af
Add DO_TEST_MODE option and reduce niter
CoryMartin-NOAA Nov 20, 2024
0bb9078
update configs
CoryMartin-NOAA Nov 20, 2024
97f67a8
Update
DavidNew-NOAA Nov 21, 2024
472328b
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Nov 21, 2024
94d555c
Update GDAS hash
DavidNew-NOAA Nov 21, 2024
fe185ed
Change DO_JEDI_TESTING to DO_TEST_MODE
DavidNew-NOAA Nov 21, 2024
4178cb0
Revert C96C48_ufs_hybatmDA.yaml ... not the right file
DavidNew-NOAA Nov 22, 2024
21e0202
Merge branch 'feature/speedup-analysis-jobs' into feature/gw-ci
DavidNew-NOAA Nov 22, 2024
9b0f14f
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Nov 22, 2024
06201f1
oops
DavidNew-NOAA Nov 22, 2024
7f7edf5
Update
DavidNew-NOAA Nov 22, 2024
cd055ec
Save progress before the weekend
DavidNew-NOAA Nov 22, 2024
02e126e
Add marine var regression test
DavidNew-NOAA Nov 24, 2024
980df4c
Udpdate GDAS hash
DavidNew-NOAA Nov 24, 2024
161c060
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Nov 24, 2024
b62c174
Remove old python fv3 increment converter
DavidNew-NOAA Nov 24, 2024
0207257
Update gdas hash
DavidNew-NOAA Nov 24, 2024
d2968df
Forgot one thing
DavidNew-NOAA Nov 24, 2024
f2857b9
Update GDAS hash
DavidNew-NOAA Nov 25, 2024
f74c93b
Update gdas hash
DavidNew-NOAA Nov 25, 2024
d8929d2
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Nov 26, 2024
1f0e3ec
Update GDAS hash
DavidNew-NOAA Nov 27, 2024
103de9d
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Nov 27, 2024
4a773f1
Fix bug
DavidNew-NOAA Nov 27, 2024
4af258c
pynorms
DavidNew-NOAA Nov 27, 2024
14fff8e
Merge branch 'develop' into feature/gw-ci
RussTreadon-NOAA Dec 2, 2024
d907017
Make separate JCB algo yamls for CI tests
DavidNew-NOAA Dec 2, 2024
19efac5
Merge branch 'feature/gw-ci' of https://github.com/DavidNew-NOAA/glob…
DavidNew-NOAA Dec 2, 2024
c133fa0
path bug
DavidNew-NOAA Dec 2, 2024
ee49557
Update gdas hash
DavidNew-NOAA Dec 2, 2024
b13c494
Update GDAS hash
DavidNew-NOAA Dec 2, 2024
b49fb09
Remove resolutions from JCB algorithm YAML filenames
DavidNew-NOAA Dec 2, 2024
8e58c9a
Update GDAS hash to develop branch
DavidNew-NOAA Dec 2, 2024
554a20a
Merge branch 'develop' into feature/gw-ci
RussTreadon-NOAA Dec 3, 2024
2c07d36
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Dec 4, 2024
766ed37
Update Orion resources to match Hera
DavidNew-NOAA Dec 4, 2024
99296cc
typo
DavidNew-NOAA Dec 4, 2024
a544c02
Update gdas hash
DavidNew-NOAA Dec 5, 2024
cda3497
Merge branch 'develop' into feature/gw-ci
RussTreadon-NOAA Dec 5, 2024
65b25aa
Update gdas hash so c384 CI test turned off by default
DavidNew-NOAA Dec 6, 2024
b207f8c
Merge branch 'feature/gw-ci' of https://github.com/DavidNew-NOAA/glob…
DavidNew-NOAA Dec 6, 2024
271fd19
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Dec 9, 2024
4696e3f
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Dec 9, 2024
b4cfe04
Update GDAS hash
DavidNew-NOAA Dec 9, 2024
5243826
Update GDAS hash to include new test reference files
DavidNew-NOAA Dec 11, 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
1 change: 1 addition & 0 deletions ci/cases/yamls/ufs_hybatmDA_defaults.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ base:
DO_JEDIATMVAR: "YES"
DO_JEDIATMENS: "YES"
ACCOUNT: {{ 'HPC_ACCOUNT' | getenv }}
DO_TEST_MODE: "YES"
atmanl:
LAYOUT_X_ATMANL: 4
LAYOUT_Y_ATMANL: 4
Expand Down
1 change: 1 addition & 0 deletions parm/config/gfs/config.atmanl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
echo "BEGIN: config.atmanl"

export JCB_ALGO_YAML_VAR=@JCB_ALGO_YAML_VAR@
export JCB_ALGO_YAML_FV3INC=@JCB_ALGO_YAML_FV3INC@

export STATICB_TYPE=@STATICB_TYPE@
export LOCALIZATION_TYPE="bump"
Expand Down
1 change: 1 addition & 0 deletions parm/config/gfs/config.atmensanl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ echo "BEGIN: config.atmensanl"
export JCB_ALGO_YAML_LETKF=@JCB_ALGO_YAML_LETKF@
export JCB_ALGO_YAML_OBS=@JCB_ALGO_YAML_OBS@
export JCB_ALGO_YAML_SOL=@JCB_ALGO_YAML_SOL@
export JCB_ALGO_YAML_FV3INC=@JCB_ALGO_YAML_FV3INC@

export INTERP_METHOD='barycentric'

Expand Down
2 changes: 2 additions & 0 deletions parm/config/gfs/yaml/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ base:

atmanl:
JCB_ALGO_YAML_VAR: "${PARMgfs}/gdas/atm/jcb-prototype_3dvar.yaml.j2"
JCB_ALGO_YAML_FV3INC: "${PARMgfs}/gdas/atm/jcb-prototype_3dvar-fv3inc.yaml.j2"
STATICB_TYPE: "gsibec"
LAYOUT_X_ATMANL: 8
LAYOUT_Y_ATMANL: 8
Expand All @@ -35,6 +36,7 @@ atmensanl:
JCB_ALGO_YAML_LETKF: "${PARMgfs}/gdas/atm/jcb-prototype_lgetkf.yaml.j2"
JCB_ALGO_YAML_OBS: "${PARMgfs}/gdas/atm/jcb-prototype_lgetkf_observer.yaml.j2"
JCB_ALGO_YAML_SOL: "${PARMgfs}/gdas/atm/jcb-prototype_lgetkf_solver.yaml.j2"
JCB_ALGO_YAML_FV3INC: "${PARMgfs}/gdas/atm/jcb-prototype_lgetkf-fv3inc.yaml.j2"
LAYOUT_X_ATMENSANL: 8
LAYOUT_Y_ATMENSANL: 8
IO_LAYOUT_X: 1
Expand Down
2 changes: 1 addition & 1 deletion parm/gdas/atmanl_jedi_config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ atmanlfv3inc:
exe_src: '{{ EXECgfs }}/fv3jedi_fv3inc.x'
mpi_cmd: '{{ APRUN_ATMANLFV3INC }}'
jcb_base_yaml: '{{ PARMgfs }}/gdas/atm/jcb-base.yaml.j2'
jcb_algo: fv3jedi_fv3inc_variational
jcb_algo_yaml: '{{ JCB_ALGO_YAML_FV3INC }}'
2 changes: 1 addition & 1 deletion parm/gdas/atmensanl_jedi_config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ atmensanlfv3inc:
exe_src: '{{ EXECgfs }}/fv3jedi_fv3inc.x'
mpi_cmd: '{{ APRUN_ATMENSANLFV3INC }}'
jcb_base_yaml: '{{ PARMgfs }}/gdas/atm/jcb-base.yaml.j2'
jcb_algo: fv3jedi_fv3inc_lgetkf
jcb_algo_yaml: '{{ JCB_ALGO_YAML_FV3INC }}'
atmensanlletkf:
rundir: '{{ DATA }}'
exe_src: '{{ EXECgfs }}/gdas.x'
Expand Down
2 changes: 1 addition & 1 deletion sorc/gdas.cd
Submodule gdas.cd updated 47 files
+1 −0 ci/hera.sh
+1 −0 ci/orion.sh
+1 −1 ci/run_ci.sh
+1 −1 ci/run_gw_ci.sh
+5 −0 parm/atm/jcb-base.yaml.j2
+10 −0 parm/atm/jcb-prototype_3dvar-fv3inc.yaml.j2
+7 −0 parm/atm/jcb-prototype_3dvar.yaml.j2
+10 −0 parm/atm/jcb-prototype_lgetkf-fv3inc.yaml.j2
+7 −0 parm/atm/jcb-prototype_lgetkf.yaml.j2
+7 −0 parm/atm/jcb-prototype_lgetkf_observer.yaml.j2
+7 −0 parm/atm/jcb-prototype_lgetkf_solver.yaml.j2
+1 −1 parm/jcb-algorithms
+7 −0 parm/soca/marine-jcb-3dfgat.yaml.j2
+4 −0 parm/soca/marine-jcb-base.yaml
+0 −7 test/CMakeLists.txt
+81 −58 test/atm/global-workflow/CMakeLists.txt
+3 −0 test/atm/global-workflow/config.yaml
+10 −0 test/atm/global-workflow/jcb-prototype_3dvar-fv3inc.yaml.j2
+2 −2 test/atm/global-workflow/jcb-prototype_3dvar.yaml.j2
+10 −0 test/atm/global-workflow/jcb-prototype_lgetkf-fv3inc.yaml.j2
+2 −2 test/atm/global-workflow/jcb-prototype_lgetkf.yaml.j2
+2 −2 test/atm/global-workflow/jcb-prototype_lgetkf_observer.yaml.j2
+2 −2 test/atm/global-workflow/jcb-prototype_lgetkf_solver.yaml.j2
+0 −23 test/fv3jedi/CMakeLists.txt
+0 −65 test/fv3jedi/testinput/gdasapp_fv3jedi_fv3inc.yaml
+0 −41 test/fv3jedi/testoutput/gdasapp_fv3jedi_fv3inc.ref
+363 −90 test/gw-ci/CMakeLists.txt
+35 −19 test/gw-ci/run_exp.sh
+54 −0 test/testreference/C48mx500_3DVarAOWCDA_3dfgat.ref
+41 −0 test/testreference/C96C48_ufs_hybatmDA_3dvar-fv3inc.ref
+124 −0 test/testreference/C96C48_ufs_hybatmDA_3dvar.ref
+82 −0 test/testreference/C96C48_ufs_hybatmDA_lgetkf-fv3inc.ref
+126 −0 test/testreference/C96C48_ufs_hybatmDA_lgetkf_observer.ref
+180 −0 test/testreference/C96C48_ufs_hybatmDA_lgetkf_solver.ref
+41 −0 test/testreference/atm_jjob_3dvar-fv3inc.ref
+0 −0 test/testreference/atm_jjob_3dvar.ref
+123 −0 test/testreference/atm_jjob_lgetkf-fv3inc.ref
+0 −0 test/testreference/atm_jjob_lgetkf.ref
+0 −0 test/testreference/atm_jjob_lgetkf_observer.ref
+0 −0 test/testreference/atm_jjob_lgetkf_solver.ref
+0 −1 ush/CMakeLists.txt
+0 −187 ush/jediinc2fv3.py
+19 −3 utils/fv3jedi/fv3jedi_fv3inc.h
+29 −0 utils/soca/fig_gallery/marine_vrfy_display/README
+724 −0 utils/soca/fig_gallery/marine_vrfy_display/default.css
+422 −0 utils/soca/fig_gallery/marine_vrfy_display/fonts.css
+862 −0 utils/soca/fig_gallery/marine_vrfy_display/index_vrfy_marine.html
1 change: 0 additions & 1 deletion sorc/link_workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ if [[ -d "${HOMEgfs}/sorc/gdas.cd/build" ]]; then
cd "${HOMEgfs}/ush" || exit 1
${LINK_OR_COPY} "${HOMEgfs}/sorc/gdas.cd/ush/soca" .
${LINK_OR_COPY} "${HOMEgfs}/sorc/gdas.cd/ush/ufsda" .
${LINK_OR_COPY} "${HOMEgfs}/sorc/gdas.cd/ush/jediinc2fv3.py" .
${LINK_OR_COPY} "${HOMEgfs}/sorc/gdas.cd/ush/ioda/bufr2ioda/gen_bufr2ioda_json.py" .
${LINK_OR_COPY} "${HOMEgfs}/sorc/gdas.cd/ush/ioda/bufr2ioda/gen_bufr2ioda_yaml.py" .
${LINK_OR_COPY} "${HOMEgfs}/sorc/gdas.cd/ush/ioda/bufr2ioda/run_bufr2ioda.py" .
Expand Down
10 changes: 4 additions & 6 deletions ush/python/pygfs/task/marine_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ def _prep_variational_yaml(self: Task) -> None:
envconfig_jcb['SOCA_NINNER'] = self.task_config.SOCA_NINNER
envconfig_jcb['obs_list'] = ['adt_rads_all']
envconfig_jcb['MOM6_LEVS'] = mdau.get_mom6_levels(str(self.task_config.OCNRES))
envconfig_jcb['HOMEgfs'] = self.task_config.HOMEgfs
envconfig_jcb['DO_TEST_MODE'] = self.task_config.DO_TEST_MODE

# Write obs_list_short
save_as_yaml(parse_obs_list_file(self.task_config.MARINE_OBS_LIST_YAML), 'obs_list_short.yaml')
Expand All @@ -220,12 +222,8 @@ def _prep_variational_yaml(self: Task) -> None:
jcb_base_yaml = os.path.join(self.task_config.PARMsoca, 'marine-jcb-base.yaml')
jcb_algo_yaml = os.path.join(self.task_config.PARMsoca, 'marine-jcb-3dfgat.yaml.j2')

jcb_base_config = YAMLFile(path=jcb_base_yaml)
jcb_base_config = Template.substitute_structure(jcb_base_config, TemplateConstants.DOUBLE_CURLY_BRACES, envconfig_jcb.get)
jcb_base_config = Template.substitute_structure(jcb_base_config, TemplateConstants.DOLLAR_PARENTHESES, envconfig_jcb.get)
jcb_algo_config = YAMLFile(path=jcb_algo_yaml)
jcb_algo_config = Template.substitute_structure(jcb_algo_config, TemplateConstants.DOUBLE_CURLY_BRACES, envconfig_jcb.get)
jcb_algo_config = Template.substitute_structure(jcb_algo_config, TemplateConstants.DOLLAR_PARENTHESES, envconfig_jcb.get)
jcb_base_config = parse_j2yaml(jcb_base_yaml, envconfig_jcb)
jcb_algo_config = parse_j2yaml(jcb_algo_yaml, envconfig_jcb)

# Override base with the application specific config
jcb_config = {**jcb_base_config, **jcb_algo_config}
Expand Down