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