Go to the documentation of this file. 1 subroutine earcnst(gaclac,navqc,earrng,earth)
41 #include "tlm_str.fin"
42 #include "navqc_s.fin"
43 type(earth_struct) :: earth(2)
46 integer*4 gaclac, earrng(2,2)
50 integer*4 i1, i2, j1, j2, nper, nrng, isens, maxgap
51 logical found, end, gottwo
61 if( gaclac .eq. 1 )
then
69 if( earrng(1,isens) .ne. -1 )
then
77 nrng = earrng(2,isens)
82 call fndflg(
earth(isens)%flag, nrng, earrng(1,isens), i1 )
88 100
format(
' EARCNST: no unflagged earth angle values found',
89 1 /,
' for sensor:',i7)
105 1
earth(isens)%widphse(1,i1)
107 1
earth(isens)%widphse(2,i1)
108 toldif(1) = navqc%ear_del_wd* ( i2 - i1 ) *
110 toldif(2) = navqc%ear_del_ph* ( i2 - i1 ) *
113 if( (
abs(
diff(1)) .gt. toldif(1) ) .or.
114 1 (
abs(
diff(2)) .gt. toldif(2) ) .or.
115 2 ( (i2-i1) .gt. maxgap ) )
then
116 if ( .not. gottwo)
earth(isens)%flag(i1) = 1
135 if ( .not. gottwo)
earth(isens)%flag(i1) = 1
140 if( .not. found )
then
141 write( 6, 500 ) isens
142 500
format(
' EARCNST: no consistent pairs of earth sensor',/,
143 1
' width, phase were found for sensor:',i7)
149 if (j1 .gt. earrng(1,isens)) earrng(1,isens) = j1
150 if (j2 .lt. earrng(2,isens)) earrng(2,isens) = j2
subroutine earcnst(gaclac, navqc, earrng, earth)
subroutine earth(pos, vel, widphse1, widphfl1, widphse2,
subroutine fndflg(flag, nflag, istndx, next)
subroutine diff(x, conec, n, dconecno, dn, dconecmk, units, u, inno, i, outno, o, input, deriv)