Source
93
93
if nrows > 0:
94
94
95
95
times=st.getcol('TIME')
96
96
gains=st.getcol('CPARAM')
97
97
flags=st.getcol('FLAG')
98
98
flags=mypl.logical_or(flags[0,0,:],flags[1,0,:]) # 1D
99
99
100
100
# Escape if insufficient data
101
101
if (nrows-mypl.sum(flags))<3:
102
102
antok[iant]=False
103
+
st.close()
103
104
continue
104
105
105
106
106
107
# parang
107
108
parang=mypl.zeros(len(times))
108
109
109
110
apos=mymd.antennaposition(iant)
110
111
latr=myme.measure(apos,'WGS84')['m1']['value']
111
112
myme.doframe(apos)
112
113
har=mypl.zeros(nrows)