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

Yaml tables for ensembles and nests #1585

Merged
merged 17 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
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
add a test to check that the code fails when both diag_table.yaml and…
… diag_table.ensXX.yaml files are present
  • Loading branch information
uramirez8707 committed Sep 4, 2024
commit f2ea7f64aa898b047c0e8db50d70780b9dff7ff6
2 changes: 1 addition & 1 deletion test_fms/data_override/test_data_override_ensembles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ data_table:
factor: 1.0
_EOF

test_expect_failure "test_data_override with both data_table.yaml and data_table.ens_xx.yaml files (${KIND})" '
test_expect_failure "test_data_override with both data_table.yaml and data_table.ens_xx.yaml files" '
mpirun -n 12 ../test_data_override_ongrid_${KIND}
'
rm -rf INPUT
Expand Down
20 changes: 20 additions & 0 deletions test_fms/diag_manager/test_ens_runs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,25 @@ test_expect_success "Running diag_manager with 2 ensembles (test $my_test_count)
mpirun -n 2 ../test_ens_runs
'

cat <<_EOF > diag_table.yaml
title: test_diag_manager_01
base_date: 2 1 1 0 0 0
diag_files:
- file_name: test_0days
time_units: days
unlimdim: time
freq: 0 days
varlist:
- module: ocn_mod
var_name: var0
reduction: none
kind: r8
_EOF

my_test_count=`expr $my_test_count + 1`
test_expect_failure "Running diag_manager with both diag_table.yaml and diag_table.ens_xx.yaml files present (test $my_test_count)" '
mpirun -n 2 ../test_ens_runs
'

fi
test_done