2 1 nav_sun_ref, nav_sen_mat, nav_scan_ell, iret)
4 real*4 nav_orb_vec(3), nav_sun_ref(3), nav_sen_mat(3,3),
8 integer*4 l1_id, or_id, su_id, se_id, sc_id, nf_id, ind
9 integer*4 istart(3), istr(3), idims(3), nflags(8)
10 integer sfn2index, sfselect, sfrdata
12 data istart/3*0/, istr/3*1/, idims/3*1/
14 common /idcom/l1_id, or_id, su_id, se_id, sc_id, nf_id
19 ind = sfn2index(prod_id,
'l1a_data')
22 write(*,*)
'Error getting index for l1a_data'
25 l1_id = sfselect(prod_id, ind)
28 write(*,*)
'Error selecting l1a_data'
32 ind = sfn2index(prod_id,
'orb_vec')
35 write(*,*)
'Error getting index for orb_vec'
38 or_id = sfselect(prod_id, ind)
41 write(*,*)
'Error selecting orb_vec'
45 ind = sfn2index(prod_id,
'sun_ref')
48 write(*,*)
'Error getting index for sun_ref'
51 su_id = sfselect(prod_id, ind)
54 write(*,*)
'Error selecting sun_ref'
58 ind = sfn2index(prod_id,
'sen_mat')
61 write(*,*)
'Error getting index for sen_mat'
64 se_id = sfselect(prod_id, ind)
67 write(*,*)
'Error selecting sen_mat'
71 ind = sfn2index(prod_id,
'scan_ell')
74 write(*,*)
'Error getting index for scan_ell'
77 sc_id = sfselect(prod_id, ind)
80 write(*,*)
'Error selecting scan_ell'
84 ind = sfn2index(prod_id,
'nflag')
87 write(*,*)
'Error getting index for nflag'
90 nf_id = sfselect(prod_id, ind)
93 write(*,*)
'Error selecting nflag'
101 iret = sfrdata(nf_id, istart, istr, idims, nflags)
103 write(*,*)
'End of l1a_data'
107 dowhile(nflags(1).ne.0)
110 iret = sfrdata(nf_id, istart, istr, idims, nflags)
112 write(*,*)
'End of l1a_data'
121 iret = sfrdata(l1_id, istart, istr, idims, dat)
123 write(*,*)
'End of l1a_data'
129 iret = sfrdata(se_id, istart, istr, idims, nav_sen_mat)
131 write(*,*)
'Error reading sen_mat'
137 iret = sfrdata(or_id, istart, istr, idims, nav_orb_vec)
139 write(*,*)
'Error reading orb_vec'
143 iret = sfrdata(su_id, istart, istr, idims, nav_sun_ref)
145 write(*,*)
'Error reading sun_ref'
150 iret = sfrdata(sc_id, istart, istr, idims, nav_scan_ell)
152 write(*,*)
'Error reading scan_ell'