1 subroutine da_check_max_iv_gpspw(iv, it, num_qcstat_conv)
3 !-------------------------------------------------------------------------
6 ! Removed Outerloop check as it is done in da_get_innov
7 ! Author: Syed RH Rizvi, MMM/NESL/NCAR, Date: 07/12/2009
8 !-------------------------------------------------------------------------
13 type(iv_type), intent(inout) :: iv
14 integer, intent(in) :: it ! Outer iteration
15 integer, intent(inout) :: num_qcstat_conv(:,:,:,:)
20 if (trace_use_dull) call da_trace_entry("da_check_max_iv_gpspw")
24 do n=iv%info(gpspw)%n1,iv%info(gpspw)%n2
27 if( iv%gpspw(n)%tpw%qc >= obs_qc_pointer ) then
28 call da_max_error_qc(it, iv%info(gpspw), n, iv%gpspw(n)%tpw, max_error_pw,failed)
29 if( iv%info(gpspw)%proc_domain(1,n) ) then
30 num_qcstat_conv(1,gpspw,7,1) = num_qcstat_conv(1,gpspw,7,1) + 1
32 num_qcstat_conv(2,gpspw,7,1) = num_qcstat_conv(2,gpspw,7,1) + 1
33 if ( write_rej_obs_conv ) then
34 write(qcstat_conv_unit,'(2x,a10,2x,a4,2f12.2,a12)')&
35 'gpspw',ob_vars(7),iv%info(gpspw)%lat(1,n),iv%info(gpspw)%lon(1,n),'1013.25'
42 if (trace_use_dull) call da_trace_exit("da_check_max_iv_gpspw")
44 end subroutine da_check_max_iv_gpspw