1 subroutine da_print_stats_airsr(stats_unit, nt, nq, airsr)
3 !-----------------------------------------------------------------------
4 ! Purpose: Prints out table for AIRS diagnostics
5 !----------------------------------------------------------------------
9 integer, intent(in) :: stats_unit
10 integer, intent(inout) :: nt, nq
11 type (stats_airsr_type), intent(in) :: airsr
13 if (trace_use_dull) call da_trace_entry("da_print_stats_airsr")
15 write(unit=stats_unit, fmt='(5a/)') &
17 't (K) n k ', 'q (kg/kg) n k'
19 write(unit=stats_unit, fmt='(a,i16,i22)') &
25 write(unit=stats_unit, fmt='((a,2(f12.4,2i5)))') &
26 ' Minimum(n,k): ', airsr%minimum%t, airsr%minimum%q, &
27 ' Maximum(n,k): ', airsr%maximum%t, airsr%maximum%q
28 write(unit=stats_unit, fmt='((a,f12.4,10x,e12.4,10x))') &
29 ' Average : ', airsr%average%t/real(nt), airsr%average%q/real(nq), &
30 ' RMSE : ', sqrt(airsr%rms_err%t/real(nt)), sqrt(airsr%rms_err%q/real(nq))
32 if (trace_use_dull) call da_trace_exit("da_print_stats_airsr")
34 end subroutine da_print_stats_airsr