Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct scattering index and enable error inflation in ATMS data, #812

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions src/gsi/clw_mod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1961,6 +1961,7 @@ subroutine ret_amsua(tb_obs,nchanl,tsavg5,zasat,clwp_amsua,ierrret,scat)
! Declare local variables
real(r_kind) :: d0, d1, d2, coszat
! real(r_kind) :: c0, c1, c2
real(r_kind) :: tb890 = zero


coszat=cos(zasat)
Expand All @@ -1979,9 +1980,18 @@ subroutine ret_amsua(tb_obs,nchanl,tsavg5,zasat,clwp_amsua,ierrret,scat)
endif

if (present(scat)) then
scat=-113.2_r_kind+(2.41_r_kind-0.0049_r_kind*tb_obs(1))*tb_obs(1) &
+0.454_r_kind*tb_obs(2)-tb_obs(15)
scat=max(zero,scat)
if (nchanl == 15) then
! AMSU-A
tb890 = tb_obs(15)
else if (nchanl == 22) then
! ATMS
tb890 = tb_obs(16)
endif
if (tb890 > zero) then
scat=-113.2_r_kind+(2.41_r_kind-0.0049_r_kind*tb_obs(1))*tb_obs(1) &
+0.454_r_kind*tb_obs(2)-tb890
endif
scat=max(zero,scat)
end if

end subroutine ret_amsua
Expand Down
2 changes: 1 addition & 1 deletion src/gsi/qcmod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -3670,7 +3670,7 @@ subroutine qc_amsua(nchanl,is,ndat,nsig,npred,sea,land,ice,snow,mixed,luse, &
ework = ework+min(0.002_r_kind*sfc_speed**2*error0(i), 0.5_r_kind*error0(i))
clwtmp=min(abs(clwp_amsua-clw_guess_retrieval), one)
ework = ework+min(13.0_r_kind*clwtmp*error0(i), 3.5_r_kind*error0(i))
if (scatp>9.0_r_kind .and. nchanl==15) then
if (scatp>9.0_r_kind) then
ework = ework+min(1.5_r_kind*(scatp-9.0_r_kind)*error0(i), 2.5_r_kind*error0(i))
end if
ework=ework**2
Expand Down
Loading