1 subroutine da_print_stats_mtgirs(stats_unit, nu, nv, nt, nq, mtgirs)
3 !-----------------------------------------------------------------------
5 !-----------------------------------------------------------------------
9 integer, intent(in) :: stats_unit
10 integer, intent(inout) :: nu, nv, nt, nq
11 type (stats_mtgirs_type), intent(in) :: mtgirs
13 if (trace_use_dull) call da_trace_entry("da_print_stats_mtgirs")
15 write(unit=stats_unit, fmt='(5a/)') &
22 write(unit=stats_unit, fmt='(a,i16,4i22)') &
23 ' Number: ', nu, nv, nt, nq
30 write(unit=stats_unit, fmt='((a,3(f12.4,2i5),e12.4,2i5))') &
31 ' Minimum(n,k): ', mtgirs%minimum%u, mtgirs%minimum%v, &
32 mtgirs%minimum%t, mtgirs%minimum%q, &
33 ' Maximum(n,k): ', mtgirs%maximum%u, mtgirs%maximum%v, &
34 mtgirs%maximum%t, mtgirs%maximum%q
35 write(unit=stats_unit, fmt='((a,3(f12.4,10x),e12.4,10x))') &
36 ' Average : ', mtgirs%average%u/real(nu), &
37 mtgirs%average%v/real(nv), &
38 mtgirs%average%t/real(nt), &
39 mtgirs%average%q/real(nq), &
40 ' RMSE : ', sqrt(mtgirs%rms_err%u/real(nu)), &
41 sqrt(mtgirs%rms_err%v/real(nv)), &
42 sqrt(mtgirs%rms_err%t/real(nt)), &
43 sqrt(mtgirs%rms_err%q/real(nq))
45 if (trace_use_dull) call da_trace_exit("da_print_stats_mtgirs")
47 end subroutine da_print_stats_mtgirs