1 subroutine scpar(nlines, attxfm, att_ang, attangfl,
2 1 timref, time, pos, tiltpr, tiltfl, navctl, navblk)
56 #include "navblk_s.fin"
57 #include "navctl_s.fin"
59 #include "nav_cnst.fin"
71 integer*4 attangfl(nlines), tiltfl(nlines), j
73 real*4 attxfm(3,3,nlines), att_ang(3,nlines), pos(3,nlines)
74 real*8 timref(3), time(nlines), sec, rs
76 integer*4 ilin, iyr, iday
85 navblk(ilin)%l_vert(1) = attxfm(1,1,ilin)
86 navblk(ilin)%l_vert(2) = attxfm(1,2,ilin)
87 navblk(ilin)%l_vert(3) = attxfm(1,3,ilin)
94 call ydsadd(iyr, iday, sec, 0, time(ilin) )
95 call l_sun(iyr, iday, sec, navblk(ilin)%sun_ref(1), rs )
99 navblk(ilin)%nflag(7) = tiltfl(ilin)
100 navblk(ilin)%nflag(5) = attangfl(ilin)
101 if ((navblk(ilin)%nflag(5) .eq. 1) .or.
102 * (navblk(ilin)%nflag(7) .eq. 1))
then
103 navblk(ilin)%nflag(1) = 1
108 call ellxfm( attxfm(1,1,ilin), att_ang(1,ilin),
109 1 tiltpr(ilin), pos(1,ilin), navctl,
110 1 navblk(ilin)%sen_mat, navblk(ilin)%scan_ell )
114 navblk(ilin)%att_ang(j) = att_ang(j,ilin)