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