1 subroutine da_transform_xtoy_ssmt1_adj(iv, jo_grad_y, jo_grad_x)
3 !-----------------------------------------------------------------------
5 !-----------------------------------------------------------------------
9 type (iv_type), intent(in) :: iv ! obs. inc vector (o-b).
10 type (y_type) , intent(in) :: jo_grad_y ! grad_y(jo)
11 type (x_type) , intent(inout) :: jo_grad_x ! grad_x(jo)
13 integer :: n ! Loop counter.
15 real, allocatable :: t(:,:)
17 if (trace_use_dull) call da_trace_entry("da_transform_xtoy_ssmt1_adj")
19 allocate (t(iv%info(ssmt1)%max_lev,iv%info(ssmt1)%n1:iv%info(ssmt1)%n2))
21 do n=iv%info(ssmt1)%n1,iv%info(ssmt1)%n2
22 t(1:iv%info(ssmt1)%levels(n),n) = jo_grad_y%ssmt1(n)%t(:)
25 call da_interp_lin_3d_adj (jo_grad_x%t, iv%info(ssmt1), t)
29 if (trace_use_dull) call da_trace_exit("da_transform_xtoy_ssmt1_adj")
31 end subroutine da_transform_xtoy_ssmt1_adj