1 subroutine da_print_stats_tamdar(stats_unit, nu, nv, nt, nq, tamdar)
3 !-----------------------------------------------------------------------
5 !-----------------------------------------------------------------------
9 integer, intent(in) :: stats_unit
10 integer, intent(inout) :: nu, nv, nt, nq
11 type (stats_tamdar_type), intent(in) :: tamdar
13 if (trace_use_dull) call da_trace_entry("da_print_stats_tamdar")
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): ', tamdar%minimum%u, tamdar%minimum%v, &
32 tamdar%minimum%t, tamdar%minimum%q, &
33 ' Maximum(n,k): ', tamdar%maximum%u, tamdar%maximum%v, &
34 tamdar%maximum%t, tamdar%maximum%q
35 write(unit=stats_unit, fmt='((a,3(f12.4,10x),e12.4,10x))') &
36 ' Average : ', tamdar%average%u/real(nu), &
37 tamdar%average%v/real(nv), &
38 tamdar%average%t/real(nt), &
39 tamdar%average%q/real(nq), &
40 ' RMSE : ', sqrt(tamdar%rms_err%u/real(nu)), &
41 sqrt(tamdar%rms_err%v/real(nv)), &
42 sqrt(tamdar%rms_err%t/real(nt)), &
43 sqrt(tamdar%rms_err%q/real(nq))
45 if (trace_use_dull) call da_trace_exit("da_print_stats_tamdar")
47 end subroutine da_print_stats_tamdar