Skip to content

Commit

Permalink
update markdown and any remaining test scripts with old table format
Browse files Browse the repository at this point in the history
  • Loading branch information
rem1776 authored and rem1776 committed Aug 20, 2024
1 parent 9054d4d commit c496f38
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion diag_manager/diag_yaml_format.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ diag_files:
### 2.1 Global Section
The diag_yaml requires “title” and the “baseDate”.
- The **title** is a string that labels the diag yaml. The equivalent in the legacy diag_table would be the experiment. It is recommended that each diag_yaml have a separate title label that is descriptive of the experiment that is using it.
- The **basedate** is an array of 6 integers indicating the base_date in the format [year, month, day, hour, minute, second].
- The **base_date** is a comma-separated array of 6 integers indicating the base_date in the format [year, month, day, hour, minute, second]. Spacing is not significant.

**Example:**

Expand Down
2 changes: 1 addition & 1 deletion test_fms/diag_manager/test_cell_measures.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ output_dir

cat <<_EOF > diag_table.yaml
title: test_diag_manager
base_date: 2 1 1 0 0 0
base_date: [2, 1, 1, 0, 0, 0]
diag_files:
- file_name: static_file
Expand Down
2 changes: 1 addition & 1 deletion test_fms/diag_manager/test_dm_weights.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ output_dir

cat <<_EOF > diag_table.yaml
title: test_weights
base_date: 2 1 1 0 0 0
base_date: [2, 1, 1, 0, 0, 0]
diag_files:
- file_name: test_weights
time_units: hours
Expand Down
2 changes: 1 addition & 1 deletion test_fms/diag_manager/test_flush_nc_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ output_dir

cat <<_EOF > diag_table.yaml
title: test_nc_flush
base_date: 2 1 1 0 0 0
base_date: [2, 1, 1, 0, 0, 0]
diag_files:
- file_name: test_flush
time_units: hours
Expand Down
2 changes: 1 addition & 1 deletion test_fms/diag_manager/test_multiple_send_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ output_dir

cat <<_EOF > diag_table.yaml
title: test_multiple_sends
base_date: 2 1 1 0 0 0
base_date: [2, 1, 1, 0, 0, 0]
diag_files:
- file_name: test_multiple_sends
time_units: hours
Expand Down
2 changes: 1 addition & 1 deletion test_fms/diag_manager/test_output_every_freq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ output_dir

cat <<_EOF > diag_table.yaml
title: test_diag_manager_01
base_date: 2 1 1 0 0 0
base_date: [2, 1, 1, 0, 0, 0]
diag_files:
- file_name: test_0days
time_units: days
Expand Down
2 changes: 1 addition & 1 deletion test_fms/diag_manager/test_prepend_date.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ output_dir

cat <<_EOF > diag_table.yaml
title: test_prepend_date
base_date: 1 1 1 0 0 0
base_date: [1, 1, 1, 0, 0, 0]
diag_files:
- file_name: test_non_static
time_units: hours
Expand Down
2 changes: 1 addition & 1 deletion test_fms/diag_manager/test_subregional.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ output_dir

cat <<_EOF > diag_table.yaml
title: test_subregional
base_date: 2 1 1 0 0 0
base_date: [2, 1, 1, 0, 0, 0]
diag_files:
# This is to test a file with multiple z axis
Expand Down
2 changes: 1 addition & 1 deletion test_fms/diag_manager/test_time_avg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ output_dir

cat <<_EOF > diag_table.yaml
title: test_avg
base_date: 2 1 1 0 0 0
base_date: [2, 1, 1, 0, 0, 0]
diag_files:
- file_name: test_avg
time_units: hours
Expand Down
2 changes: 1 addition & 1 deletion test_fms/diag_manager/test_time_diurnal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ output_dir

cat <<_EOF > diag_table.yaml
title: test_diurnal
base_date: 2 1 1 0 0 0
base_date: [2, 1, 1, 0, 0, 0]
diag_files:
- file_name: test_diurnal
time_units: hours
Expand Down
2 changes: 1 addition & 1 deletion test_fms/diag_manager/test_time_max.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ output_dir
#TODO replace with yaml diag_table and set diag_manager_nml::use_modern_diag=.true.
cat <<_EOF > diag_table.yaml
title: test_max
base_date: 2 1 1 0 0 0
base_date: [2, 1, 1, 0, 0, 0]
diag_files:
- file_name: test_max
time_units: hours
Expand Down
2 changes: 1 addition & 1 deletion test_fms/diag_manager/test_time_min.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ output_dir
#TODO replace with yaml diag_table and set diag_manager_nml::use_modern_diag=.true.
cat <<_EOF > diag_table.yaml
title: test_min
base_date: 2 1 1 0 0 0
base_date: [2, 1, 1, 0, 0, 0]
diag_files:
- file_name: test_min
time_units: hours
Expand Down
2 changes: 1 addition & 1 deletion test_fms/diag_manager/test_time_none.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ output_dir

cat <<_EOF > diag_table.yaml
title: test_none
base_date: 2 1 1 0 0 0
base_date: [2, 1, 1, 0, 0, 0]
diag_files:
- file_name: test_none
freq: 6 hours
Expand Down
2 changes: 1 addition & 1 deletion test_fms/diag_manager/test_time_pow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ output_dir

cat <<_EOF > diag_table.yaml
title: test_pow
base_date: 2 1 1 0 0 0
base_date: [2, 1, 1, 0, 0, 0]
diag_files:
- file_name: test_pow
time_units: hours
Expand Down
2 changes: 1 addition & 1 deletion test_fms/diag_manager/test_time_rms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ output_dir

cat <<_EOF > diag_table.yaml
title: test_rms
base_date: 2 1 1 0 0 0
base_date: [2, 1, 1, 0, 0, 0]
diag_files:
- file_name: test_rms
time_units: hours
Expand Down
2 changes: 1 addition & 1 deletion test_fms/diag_manager/test_time_sum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ output_dir

cat <<_EOF > diag_table.yaml
title: test_sum
base_date: 2 1 1 0 0 0
base_date: [2, 1, 1, 0, 0, 0]
diag_files:
- file_name: test_sum
time_units: hours
Expand Down
2 changes: 1 addition & 1 deletion test_fms/diag_manager/test_var_masks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ output_dir

cat <<_EOF > diag_table.yaml
title: test_var_masks
base_date: 2 1 1 0 0 0
base_date: [2, 1, 1, 0, 0, 0]
diag_files:
- file_name: test_var_masks
freq: 1 days
Expand Down

0 comments on commit c496f38

Please sign in to comment.