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

Add more CI to GW-CI #1365

Merged
merged 75 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
68c1a45
point at NOAA-EMC saber bugfix/wcoss2
RussTreadon-NOAA Oct 14, 2024
97cf270
replace DELP with delp
RussTreadon-NOAA Oct 14, 2024
8f36daa
point at NOAA-EMC fv3-jedi patch/fv3-jedi
RussTreadon-NOAA Oct 16, 2024
34e8596
Merge branch 'develop' into patch/saber
RussTreadon-NOAA Oct 17, 2024
c7ea876
Revert "JCB-based obs+bias staging (#1312)"
RussTreadon-NOAA Oct 17, 2024
c33fbab
update .gitmodules to point at NOAA-EMC fv3-jedi branch patch/fv3-jedi
RussTreadon-NOAA Oct 17, 2024
0325836
Merge branch 'develop' into patch/gwci
RussTreadon-NOAA Oct 17, 2024
764f58c
Merge branch 'develop' at f1222ec into patch/gwci
RussTreadon-NOAA Oct 23, 2024
88af2ab
Initial commit
DavidNew-NOAA Nov 4, 2024
80d3280
Update
DavidNew-NOAA Nov 4, 2024
984ea31
Forgot a test
DavidNew-NOAA Nov 5, 2024
b270c60
Add beginning of testing infrastucture to JCB
DavidNew-NOAA Nov 5, 2024
97cfa2b
Polishing up
DavidNew-NOAA Nov 5, 2024
e4357c4
polishing
DavidNew-NOAA Nov 5, 2024
d0f0b80
Change RUN_GW_CI to WORKFLOW_TESTS
DavidNew-NOAA Nov 5, 2024
3652f9a
Add JEDI test references for gw-ci
DavidNew-NOAA Nov 6, 2024
2473cec
Update
DavidNew-NOAA Nov 6, 2024
e144bc8
Update jcb-gdas hash
DavidNew-NOAA Nov 6, 2024
26e5aa1
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Nov 6, 2024
e63ab3f
Update git modules
DavidNew-NOAA Nov 6, 2024
6c2e245
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Nov 6, 2024
972dd93
Update yamls
DavidNew-NOAA Nov 6, 2024
08fe673
Update hashes
DavidNew-NOAA Nov 6, 2024
be8919a
Revert .gitmodules to develop
DavidNew-NOAA Nov 6, 2024
79c4eb9
More reverting
DavidNew-NOAA Nov 6, 2024
ebb7654
More reverting
DavidNew-NOAA Nov 6, 2024
9472b1e
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Nov 6, 2024
086f696
Coding norms and test references
DavidNew-NOAA Nov 6, 2024
60b39d4
Coding norms
DavidNew-NOAA Nov 6, 2024
e8465d2
Fix recentering in GSI CI
DavidNew-NOAA Nov 7, 2024
ba1e83d
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Nov 7, 2024
47c32c8
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Nov 7, 2024
3126500
Update
DavidNew-NOAA Nov 7, 2024
9e16866
Update GDAS hash
DavidNew-NOAA Nov 7, 2024
262d451
Adding DO_CI_TESTING parameter to config.base
DavidNew-NOAA Nov 7, 2024
929f7c7
Update
DavidNew-NOAA Nov 8, 2024
fd87792
Revert hashes
DavidNew-NOAA Nov 8, 2024
1e7c362
Update
DavidNew-NOAA Nov 8, 2024
c702c47
Accidentally deleted reference file
DavidNew-NOAA Nov 8, 2024
256b356
Debug
DavidNew-NOAA Nov 8, 2024
c2dc473
Update
DavidNew-NOAA Nov 8, 2024
84b80e5
Quick change
DavidNew-NOAA Nov 8, 2024
ad32cd1
Add GFS 17 test back
DavidNew-NOAA Nov 8, 2024
ea4a39f
Update jcb hashes
DavidNew-NOAA Nov 14, 2024
1da115d
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Nov 14, 2024
e1c16f8
Update
DavidNew-NOAA Nov 14, 2024
bad9b7d
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Nov 19, 2024
100a585
Use ecbuild_add_test instead of add_test
DavidNew-NOAA Nov 19, 2024
54f6cf5
Save progress
DavidNew-NOAA Nov 21, 2024
5d4510e
Save progress
DavidNew-NOAA Nov 21, 2024
2f9409b
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Nov 21, 2024
523d0f7
Make running rocoto more robust and change DO_JEDI_TESTING to DO_TEST…
DavidNew-NOAA Nov 21, 2024
cea3cb3
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Nov 21, 2024
262445b
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Nov 22, 2024
52ab488
Move test references to directory in GW
DavidNew-NOAA Nov 22, 2024
5092425
Move test reference files to GW
DavidNew-NOAA Nov 22, 2024
4ee3e2c
Wrong test output filenames
DavidNew-NOAA Nov 22, 2024
56bf04a
Move test reference/output locations around
DavidNew-NOAA Nov 22, 2024
62964b6
Cleanup
DavidNew-NOAA Nov 22, 2024
6cc9f0a
Fix typo
DavidNew-NOAA Nov 22, 2024
692eed0
Save progress before the weekend
DavidNew-NOAA Nov 22, 2024
2ea4811
Merge branch 'develop' into feature/gw-ci
DavidNew-NOAA Nov 22, 2024
3e8ae90
Add marine var regression test
DavidNew-NOAA Nov 24, 2024
c136656
Cleaning up
DavidNew-NOAA Nov 24, 2024
5044d5a
Get rid of standalone fv3inc ctest
DavidNew-NOAA Nov 24, 2024
502004d
Merge branch 'foo' into feature/gw-ci
DavidNew-NOAA Nov 24, 2024
93fbcfe
Update
DavidNew-NOAA Nov 24, 2024
6cac185
Update
DavidNew-NOAA Nov 24, 2024
5ef43b7
Hopefully final commit
DavidNew-NOAA Nov 24, 2024
cb672bf
Run gw-ci tests in parallel for nightly testing
DavidNew-NOAA Nov 24, 2024
0302bee
Address comments
DavidNew-NOAA Nov 25, 2024
b1ae4d2
Redo setting on ntasks for tests
DavidNew-NOAA Nov 25, 2024
0ff6174
Revert "Redo setting on ntasks for tests"
DavidNew-NOAA Nov 25, 2024
27ac65f
Revert "Address comments"
DavidNew-NOAA Nov 25, 2024
a857a8f
Readdress comments
DavidNew-NOAA Nov 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
1 change: 1 addition & 0 deletions ci/hera.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ export SALLOC_ACCOUNT=$SLURM_ACCOUNT
export SBATCH_ACCOUNT=$SLURM_ACCOUNT
export SLURM_QOS=debug
export PATH=$PATH:/home/role.jedipara/bin
export NTASKS_TESTS=12
1 change: 1 addition & 0 deletions ci/orion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ export SLURM_QOS=debug
export SLURM_EXCLUSIVE=user
export OMP_NUM_THREADS=1
ulimit -s unlimited
export NTASKS_TESTS=12
2 changes: 1 addition & 1 deletion ci/run_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module use $GDAS_MODULE_USE
module load GDAS/$TARGET
echo "---------------------------------------------------" >> $outfile
rm -rf log.ctest
ctest -R gdasapp --output-on-failure &>> log.ctest
ctest -j${NTASKS_TESTS} -R gdasapp --output-on-failure &>> log.ctest
ctest_status=$?
npassed=$(cat log.ctest | grep "tests passed")
if [ $ctest_status -eq 0 ]; then
Expand Down
2 changes: 1 addition & 1 deletion ci/run_gw_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module use $repodir/sorc/gdas.cd/modulefiles
module load GDAS/$TARGET
echo "---------------------------------------------------" >> $outfile
rm -rf log.ctest
ctest -R gdasapp --output-on-failure &>> log.ctest
ctest -j${NTASKS_TESTS} -R gdasapp --output-on-failure &>> log.ctest
ctest_status=$?
npassed=$(cat log.ctest | grep "tests passed")
if [ $ctest_status -eq 0 ]; then
Expand Down
5 changes: 5 additions & 0 deletions parm/atm/jcb-base.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ final_prints_frequency: PT3H
number_of_outer_loops: 2
analysis_variables: [ua,va,t,ps,sphum,ice_wat,liq_wat,o3mr]

# Testing
danholdaway marked this conversation as resolved.
Show resolved Hide resolved
# -------

do_testing: {{ DO_TEST_MODE | default(false, true) }}

# Model things
# ------------
# Geometry
Expand Down
10 changes: 10 additions & 0 deletions parm/atm/jcb-prototype_3dvar-fv3inc.yaml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Algorithm
# ---------
algorithm: fv3jedi_fv3inc_variational

# Testing things
danholdaway marked this conversation as resolved.
Show resolved Hide resolved
# --------------
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/testreference/C96C48_ufs_hybatmDA_3dvar-fv3inc.ref
test_output_filename: {{ HOMEgfs }}/sorc/gdas.cd/build/gdas/test/testoutput/C96C48_ufs_hybatmDA_3dvar-fv3inc.test.out
test_float_relative_tolerance: 1.0e-3
test_float_absolute_tolerance: 1.0e-5
7 changes: 7 additions & 0 deletions parm/atm/jcb-prototype_3dvar.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,10 @@ observations:
# - scatwind_ascat_metop-a
# - snowcvr
# - abi_g16

# Testing things
# --------------
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/testreference/C96C48_ufs_hybatmDA_3dvar.ref
test_output_filename: {{ HOMEgfs }}/sorc/gdas.cd/build/gdas/test/testoutput/C96C48_ufs_hybatmDA_3dvar.test.out
test_float_relative_tolerance: 1.0e-3
test_float_absolute_tolerance: 1.0e-5
10 changes: 10 additions & 0 deletions parm/atm/jcb-prototype_lgetkf-fv3inc.yaml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Algorithm
# ---------
algorithm: fv3jedi_fv3inc_lgetkf

# Testing things
danholdaway marked this conversation as resolved.
Show resolved Hide resolved
# --------------
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/testreference/C96C48_ufs_hybatmDA_lgetkf-fv3inc.ref
test_output_filename: {{ HOMEgfs }}/sorc/gdas.cd/build/gdas/test/testoutput/C96C48_ufs_hybatmDA_lgetkf-fv3inc.test.out
test_float_relative_tolerance: 1.0e-3
test_float_absolute_tolerance: 1.0e-5
7 changes: 7 additions & 0 deletions parm/atm/jcb-prototype_lgetkf.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,10 @@ observations:
- satwnd.viirs_npp
# - scatwind_ascat_metop-a
# - snowcvr

# Testing things
# --------------
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/testreference/C96C48_ufs_hybatmDA_lgetkf.ref
test_output_filename: {{ HOMEgfs }}/sorc/gdas.cd/build/gdas/test/testoutput/C96C48_ufs_hybatmDA_lgetkf.test.out
test_float_relative_tolerance: 1.0e-3
test_float_absolute_tolerance: 1.0e-5
7 changes: 7 additions & 0 deletions parm/atm/jcb-prototype_lgetkf_observer.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,10 @@ atmosphere_obsdataout_prefix: diag_lobs_

# Distribution type
distribution_type: RoundRobin

# Testing things
# --------------
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/testreference/C96C48_ufs_hybatmDA_lgetkf_observer.ref
test_output_filename: {{ HOMEgfs }}/sorc/gdas.cd/build/gdas/test/testoutput/C96C48_ufs_hybatmDA_lgetkf_observer.test.out
test_float_relative_tolerance: 1.0e-3
test_float_absolute_tolerance: 1.0e-5
7 changes: 7 additions & 0 deletions parm/atm/jcb-prototype_lgetkf_solver.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,10 @@ atmosphere_obsdataout_prefix: diag_solv_

# Distribution type
distribution_type: Halo

# Testing things
# --------------
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/testreference/C96C48_ufs_hybatmDA_lgetkf_solver.ref
test_output_filename: {{ HOMEgfs }}/sorc/gdas.cd/build/gdas/test/testoutput/C96C48_ufs_hybatmDA_lgetkf_solver.test.out
test_float_relative_tolerance: 1.0e-3
test_float_absolute_tolerance: 1.0e-5
7 changes: 7 additions & 0 deletions parm/soca/marine-jcb-3dfgat.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,10 @@ algorithm: 3dfgat

# Observations
observations: !INC ${OBS_LIST_SHORT}

# Testing things
# --------------
test_reference_filename: '{{HOMEgfs}}/sorc/gdas.cd/test/testreference/C48mx500_3DVarAOWCDA_3dfgat.ref'
test_output_filename: '{{HOMEgfs}}/sorc/gdas.cd/build/gdas/test/testoutput/C48mx500_3DVarAOWCDA_3dfgat.test.out'
test_float_relative_tolerance: 1.0e-3
test_float_absolute_tolerance: 1.0e-5
4 changes: 4 additions & 0 deletions parm/soca/marine-jcb-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ final_prints_frequency: PT3H
number_of_outer_loops: 1
analysis_variables: [sea_ice_area_fraction, sea_ice_thickness, sea_ice_snow_thickness, sea_water_salinity, sea_water_potential_temperature, eastward_sea_water_velocity, northward_sea_water_velocity, sea_surface_height_above_geoid]

# Testing
# -------

do_testing: '{{ DO_TEST_MODE | default(false, true) }}'

# Model things
# ------------
Expand Down
7 changes: 0 additions & 7 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ file(ARCHIVE_EXTRACT INPUT ${CMAKE_CURRENT_BINARY_DIR}/${TAR}
DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
# list of test binary/data files to install
list(APPEND test_data
${CMAKE_CURRENT_BINARY_DIR}/testdata/atminc_compress.nc4
${CMAKE_CURRENT_BINARY_DIR}/testdata/adt.nc
${CMAKE_CURRENT_BINARY_DIR}/testdata/sst.nc
${CMAKE_CURRENT_BINARY_DIR}/testdata/sss.nc
Expand Down Expand Up @@ -120,11 +119,6 @@ add_test(NAME test_gdasapp_check_yaml_keys
# WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/)
# commented out above test because it does not really do as advertised with all these templates which are not valid yaml

# test for ush/jediinc2fv3.py
add_test(NAME test_gdasapp_jedi_increment_to_fv3
COMMAND ${Python3_EXECUTABLE} ${PROJECT_SOURCE_DIR}/ush/jediinc2fv3.py ${PROJECT_BINARY_DIR}/test/testdata/atmges_compress.nc4 ${PROJECT_BINARY_DIR}/test/testdata/atminc_compress.nc4 ${PROJECT_BINARY_DIR}/test/testoutput/fv_increment.nc
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/)

# high level tests that require the global-workflow
# TODO(AFE) see GDASApp issue #1213
#if (WORKFLOW_TESTS)
Expand All @@ -136,7 +130,6 @@ add_test(NAME test_gdasapp_jedi_increment_to_fv3
#endif()

if (${BUILD_GDASBUNDLE})
add_subdirectory(fv3jedi) # fv3jedi tests
add_subdirectory(snow) # snow da tests
add_subdirectory(gw-ci) # subset of the global-workflow ci tests
endif()
Expand Down
139 changes: 81 additions & 58 deletions test/atm/global-workflow/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,63 +1,86 @@
# test for creating an experiment directory within the global-workflow
file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun)

add_test(NAME test_gdasapp_setup_atm_cycled_exp
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/setup_workflow_exp.sh
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun)

add_test(NAME test_gdasapp_atm_jjob_var_init
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_var_init.sh
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun)

add_test(NAME test_gdasapp_atm_jjob_var_run
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_var_run.sh
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun)

add_test(NAME test_gdasapp_atm_jjob_var_inc
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_var_inc.sh
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun)

add_test(NAME test_gdasapp_atm_jjob_var_final
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_var_final.sh
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun)

add_test(NAME test_gdasapp_atm_jjob_ens_init
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_init.sh
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun)

add_test(NAME test_gdasapp_atm_jjob_ens_letkf
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_letkf.sh
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun)

add_test(NAME test_gdasapp_atm_jjob_ens_init_split
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_init_split.sh
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun)

add_test(NAME test_gdasapp_atm_jjob_ens_obs
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_obs.sh
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun)

add_test(NAME test_gdasapp_atm_jjob_ens_sol
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_sol.sh
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun)
ecbuild_add_test(TARGET test_gdasapp_setup_atm_cycled_exp
DavidNew-NOAA marked this conversation as resolved.
Show resolved Hide resolved
TYPE SCRIPT
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/setup_workflow_exp.sh
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun)

ecbuild_add_test(TARGET test_gdasapp_atm_jjob_var_init
TYPE SCRIPT
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_var_init.sh
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun
TEST_DEPENDS test_gdasapp_setup_atm_cycled_exp)

ecbuild_add_test(TARGET test_gdasapp_atm_jjob_var_run
TYPE SCRIPT
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_var_run.sh
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun
TEST_DEPENDS test_gdasapp_atm_jjob_var_init)

ecbuild_add_test(TARGET test_gdasapp_atm_jjob_var_inc
TYPE SCRIPT
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_var_inc.sh
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun
TEST_DEPENDS test_gdasapp_atm_jjob_var_run)

ecbuild_add_test(TARGET test_gdasapp_atm_jjob_var_final
TYPE SCRIPT
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_var_final.sh
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun
TEST_DEPENDS test_gdasapp_atm_jjob_var_inc)

ecbuild_add_test(TARGET test_gdasapp_atm_jjob_ens_init
TYPE SCRIPT
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_init.sh
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun
TEST_DEPENDS test_gdasapp_setup_atm_cycled_exp)

ecbuild_add_test(TARGET test_gdasapp_atm_jjob_ens_letkf
TYPE SCRIPT
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_letkf.sh
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun
TEST_DEPENDS test_gdasapp_atm_jjob_ens_init)

ecbuild_add_test(TARGET test_gdasapp_atm_jjob_ens_init_split
TYPE SCRIPT
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_init_split.sh
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun
TEST_DEPENDS test_gdasapp_atm_jjob_ens_letkf)

ecbuild_add_test(TARGET test_gdasapp_atm_jjob_ens_obs
TYPE SCRIPT
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_obs.sh
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun
TEST_DEPENDS test_gdasapp_atm_jjob_ens_init_split)

ecbuild_add_test(TARGET test_gdasapp_atm_jjob_ens_sol
TYPE SCRIPT
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_sol.sh
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun
TEST_DEPENDS test_gdasapp_atm_jjob_ens_obs)

add_test(NAME test_gdasapp_atm_jjob_ens_inc
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_inc.sh
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun)

add_test(NAME test_gdasapp_atm_jjob_ens_final
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_final.sh
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun)
ecbuild_add_test(TARGET test_gdasapp_atm_jjob_ens_inc
TYPE SCRIPT
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_inc.sh
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun
TEST_DEPENDS test_gdasapp_atm_jjob_ens_sol)

ecbuild_add_test(TARGET test_gdasapp_atm_jjob_ens_final
TYPE SCRIPT
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_final.sh
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun
TEST_DEPENDS test_gdasapp_atm_jjob_ens_inc)

3 changes: 3 additions & 0 deletions test/atm/global-workflow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ base:
DUMPDIR: "@dumpdir@"
STMP: "@bindir@/test/atm/global-workflow/testrun"
PTMP: "@bindir@/test/atm/global-workflow/testrun"
DO_TEST_MODE: "YES"

atmanl:
JCB_ALGO_YAML_VAR: "@srcdir@/test/atm/global-workflow/jcb-prototype_3dvar.yaml.j2"
JCB_ALGO_YAML_FV3INC: "@srcdir@/test/atm/global-workflow/jcb-prototype_3dvar-fv3inc.yaml.j2"
STATICB_TYPE: "identity"
ATMRES_ANL: "C48"
LAYOUT_X_ATMANL: 1
Expand All @@ -20,5 +22,6 @@ atmensanl:
JCB_ALGO_YAML_LETKF: "@srcdir@/test/atm/global-workflow/jcb-prototype_lgetkf.yaml.j2"
JCB_ALGO_YAML_OBS: "@srcdir@/test/atm/global-workflow/jcb-prototype_lgetkf_observer.yaml.j2"
JCB_ALGO_YAML_SOL: "@srcdir@/test/atm/global-workflow/jcb-prototype_lgetkf_solver.yaml.j2"
JCB_ALGO_YAML_FV3INC: "@srcdir@/test/atm/global-workflow/jcb-prototype_lgetkf-fv3inc.yaml.j2"
LAYOUT_X_ATMENSANL: 1
LAYOUT_Y_ATMENSANL: 1
10 changes: 10 additions & 0 deletions test/atm/global-workflow/jcb-prototype_3dvar-fv3inc.yaml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Algorithm
# ---------
algorithm: fv3jedi_fv3inc_variational

# Testing things
# --------------
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/testreference/atm_jjob_3dvar-fv3inc.ref
test_output_filename: {{ HOMEgfs }}/sorc/gdas.cd/build/gdas/test/testoutput/atm_jjob_3dvar-fv3inc.test.out
test_float_relative_tolerance: 1.0e-3
test_float_absolute_tolerance: 1.0e-5
4 changes: 2 additions & 2 deletions test/atm/global-workflow/jcb-prototype_3dvar.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ atmosphere_obsdatain_suffix: ".{{ current_cycle | to_YMDH }}.nc"

# Testing things
# --------------
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/atm/global-workflow/3dvar.ref
test_output_filename: ./3dvar.out
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/testreference/atm_jjob_3dvar.ref
test_output_filename: {{ HOMEgfs }}/sorc/gdas.cd/build/gdas/test/testoutput/atm_jjob_3dvar.test.out
test_float_relative_tolerance: 1.0e-3
test_float_absolute_tolerance: 1.0e-5
10 changes: 10 additions & 0 deletions test/atm/global-workflow/jcb-prototype_lgetkf-fv3inc.yaml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Algorithm
# ---------
algorithm: fv3jedi_fv3inc_lgetkf

# Testing things
# --------------
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/testreference/atm_jjob_lgetkf-fv3inc.ref
test_output_filename: {{ HOMEgfs }}/sorc/gdas.cd/build/gdas/test/testoutput/atm_jjob_lgetkf-fv3inc.test.out
test_float_relative_tolerance: 1.0e-3
test_float_absolute_tolerance: 1.0e-5
4 changes: 2 additions & 2 deletions test/atm/global-workflow/jcb-prototype_lgetkf.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ atmosphere_obsdatain_suffix: ".{{ current_cycle | to_YMDH }}.nc"

# Testing things
# --------------
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/atm/global-workflow/lgetkf.ref
test_output_filename: ./lgetkf.out
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/testreference/atm_jjob_lgetkf.ref
test_output_filename: {{ HOMEgfs }}/sorc/gdas.cd/build/gdas/test/testoutput/atm_jjob_lgetkf.test.out
test_float_relative_tolerance: 1.0e-3
test_float_absolute_tolerance: 1.0e-5
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ distribution_type: RoundRobin

# Testing things
# --------------
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/atm/global-workflow/lgetkf_observer.ref
test_output_filename: ./lgetkf_observer.out
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/testreference/atm_jjob_lgetkf_observer.ref
test_output_filename: {{ HOMEgfs }}/sorc/gdas.cd/build/gdas/test/testoutput/atm_jjob_lgetkf_observer.test.out
test_float_relative_tolerance: 1.0e-3
test_float_absolute_tolerance: 1.0e-5
4 changes: 2 additions & 2 deletions test/atm/global-workflow/jcb-prototype_lgetkf_solver.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ distribution_type: Halo

# Testing things
# --------------
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/atm/global-workflow/lgetkf_solver.ref
test_output_filename: ./lgetkf_solver.out
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/testreference/atm_jjob_lgetkf_solver.ref
test_output_filename: {{ HOMEgfs }}/sorc/gdas.cd/build/gdas/test/testoutput/atm_jjob_lgetkf_solver.test.out
test_float_relative_tolerance: 1.0e-3
test_float_absolute_tolerance: 1.0e-5
Loading