1 subroutine da_print_stats_rain(stats_unit, nrain, rain)
3 !-----------------------------------------------------------------------
5 !-----------------------------------------------------------------------
9 integer, intent(in) :: stats_unit
10 integer, intent(inout) :: nrain
11 type (stats_rain_type), intent(in) :: rain
13 if (trace_use) call da_trace_entry("da_print_stats_rain")
17 write(unit=stats_unit, fmt='(a/)') ' var rainfall(mm) n'
19 write(unit=stats_unit, fmt='(a,i14)') ' Number: ', nrain
21 write(unit=stats_unit, fmt='(a, f12.4,i5)') &
22 ' Minimum(n): ', rain%minimum%rain%value, &
23 rain%minimum%rain%n , &
24 ' Maximum(n): ', rain%maximum%rain%value, &
26 write(unit=stats_unit, fmt='(a, f12.4,5x)') &
27 ' Average : ', rain%average%rain/real(nrain), &
28 ' RMSE : ', sqrt(rain%rms_err%rain/real(nrain))
31 if (trace_use) call da_trace_exit("da_print_stats_rain")
33 end subroutine da_print_stats_rain