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