Merge remote-tracking branch 'origin/release-v4.5.2'
[WRF.git] / var / da / da_obs / da_check_missing.inc
blob3d38b2ab11fea06a6227145b5593ef7fa028bcc6
1 subroutine da_check_missing(qc_flag, y_in, y_out)
3    !-----------------------------------------------------------------------
4    ! Purpose: TBD
5    !-----------------------------------------------------------------------
7    implicit none
8    
9    integer, intent(in)   :: qc_flag
10    real, intent(in)      :: y_in
11    real, intent(out)     :: y_out
13    if (qc_flag < obs_qc_pointer) then
14       y_out = missing_r
15    else
16       y_out = y_in
17    end if
19 end subroutine da_check_missing