Skip to content

Commit

Permalink
fix the diag manager tests
Browse files Browse the repository at this point in the history
  • Loading branch information
uramirez8707 committed Apr 29, 2024
1 parent c062cfc commit 720d7c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test_fms/diag_manager/test_diag_manager2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -560,13 +560,13 @@ diag_files:
- module: test_diag_manager_mod
var_name: sstt
output_name: sstt
reduction: average
reduction: none
kind: r4
long_name: S S T
- module: test_diag_manager_mod
var_name: sstt2
output_name: sstt2
reduction: average
reduction: none
kind: r4
long_name: S S T
write_var: false
Expand Down
4 changes: 2 additions & 2 deletions test_fms/diag_manager/test_diag_yaml.F90
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ program test_diag_yaml
use fms_diag_yaml_mod
use diag_data_mod, only: DIAG_NULL, DIAG_ALL, get_base_year, get_base_month, get_base_day, get_base_hour, &
& get_base_minute, get_base_second, diag_data_init, DIAG_HOURS, DIAG_NULL, DIAG_DAYS, &
& time_average, r4, middle_time, end_time
& time_average, r4, middle_time, end_time, time_none
use time_manager_mod, only: set_calendar_type, JULIAN
use mpp_mod
use platform_mod
Expand Down Expand Up @@ -165,7 +165,7 @@ subroutine compare_diag_fields(res)

call compare_result("var_reduction 1", res(1)%get_var_reduction(), time_average)
call compare_result("var_reduction 2", res(2)%get_var_reduction(), time_average)
call compare_result("var_reduction 3", res(3)%get_var_reduction(), time_average)
call compare_result("var_reduction 3", res(3)%get_var_reduction(), time_none)

call compare_result("var_module 1", res(1)%get_var_module(), "test_diag_manager_mod")
call compare_result("var_module 2", res(2)%get_var_module(), "test_diag_manager_mod")
Expand Down

0 comments on commit 720d7c7

Please sign in to comment.