Skip to content

Commit

Permalink
Explicitly test for boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidNew-NOAA committed Dec 2, 2024
1 parent 1316dc3 commit bcb86eb
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ algorithm: fv3jedi_fv3inc_variational

# Testing things
# --------------
{% if DO_TEST_MODE and RUN == 'gdas' and current_cycle | to_YMDH == '2021032318' %}
{% if DO_TEST_MODE == true and RUN == 'gdas' and current_cycle | to_YMDH == '2021032318' %}
do_testing: true
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
Expand Down
2 changes: 1 addition & 1 deletion 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
# --------------
{% if DO_TEST_MODE and RUN == 'gdas' and current_cycle | to_YMDH == '2021032318' %}
{% if DO_TEST_MODE == true and RUN == 'gdas' and current_cycle | to_YMDH == '2021032318' %}
do_testing: true
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ algorithm: fv3jedi_fv3inc_lgetkf

# Testing things
# --------------
{% if DO_TEST_MODE and RUN == 'enkfgdas' and current_cycle | to_YMDH == '2021032318' %}
{% if DO_TEST_MODE == true and RUN == 'enkfgdas' and current_cycle | to_YMDH == '2021032318' %}
do_testing: true
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
Expand Down
2 changes: 1 addition & 1 deletion 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
# --------------
{% if DO_TEST_MODE and RUN == 'enkfgdas' and current_cycle | to_YMDH == '2021032318' %}
{% if DO_TEST_MODE == true and RUN == 'enkfgdas' and current_cycle | to_YMDH == '2021032318' %}
do_testing: true
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ distribution_type: RoundRobin

# Testing things
# --------------
{% if DO_TEST_MODE and RUN == 'enkfgdas' and current_cycle | to_YMDH == '2021032318' %}
{% if DO_TEST_MODE == true and RUN == 'enkfgdas' and current_cycle | to_YMDH == '2021032318' %}
do_testing: true
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ distribution_type: Halo

# Testing things
# --------------
{% if DO_TEST_MODE and RUN == 'enkfgdas' and current_cycle | to_YMDH == '2021032318' %}
{% if DO_TEST_MODE == true and RUN == 'enkfgdas' and current_cycle | to_YMDH == '2021032318' %}
do_testing: true
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ algorithm: fv3jedi_fv3inc_variational

# Testing things
# --------------
{% if DO_TEST_MODE and RUN == 'gdas' and current_cycle | to_YMDH == '2024022400' %}
{% if DO_TEST_MODE == true and RUN == 'gdas' and current_cycle | to_YMDH == '2024022400' %}
do_testing: true
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ observations:

# Testing things
# --------------
{% if DO_TEST_MODE and RUN == 'gdas' and current_cycle | to_YMDH == '2024022400' %}
{% if DO_TEST_MODE == true and RUN == 'gdas' and current_cycle | to_YMDH == '2024022400' %}
do_testing: true
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ algorithm: fv3jedi_fv3inc_lgetkf

# Testing things
# --------------
{% if DO_TEST_MODE and RUN == 'enkfgdas' and current_cycle | to_YMDH == '2024022400' %}
{% if DO_TEST_MODE == true and RUN == 'enkfgdas' and current_cycle | to_YMDH == '2024022400' %}
do_testing: true
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ distribution_type: RoundRobin

# Testing things
# --------------
{% if DO_TEST_MODE and RUN == 'enkfgdas' and current_cycle | to_YMDH == '2024022400' %}
{% if DO_TEST_MODE == true and RUN == 'enkfgdas' and current_cycle | to_YMDH == '2024022400' %}
do_testing: true
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ distribution_type: Halo

# Testing things
# --------------
{% if DO_TEST_MODE and RUN == 'enkfgdas' and current_cycle | to_YMDH == '2024022400' %}
{% if DO_TEST_MODE == true and RUN == 'enkfgdas' and current_cycle | to_YMDH == '2024022400' %}
do_testing: true
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ observations: !INC ${OBS_LIST_SHORT}

# Testing things
# --------------
{% if DO_TEST_MODE and RUN == 'gdas' and current_cycle | to_YMDH == '2021032418' %}
{% if DO_TEST_MODE == true and RUN == 'gdas' and current_cycle | to_YMDH == '2021032418' %}
do_testing: true
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'
Expand Down

0 comments on commit bcb86eb

Please sign in to comment.