@@ -336,15 +336,16 class RadarControllerHeader(Header): | |||
|
336 | 336 | |
|
337 | 337 | # if self.line5Function == RCfunction.FLIP: |
|
338 | 338 | # self.flip1 = numpy.fromfile(fp,'<u4',1) |
|
339 | # | |
|
339 | # | |
|
340 | 340 | # if self.line6Function == RCfunction.FLIP: |
|
341 | 341 | # self.flip2 = numpy.fromfile(fp,'<u4',1) |
|
342 | 342 | |
|
343 | 343 | endFp = size + startFp |
|
344 | 344 | |
|
345 | 345 | if fp.tell() != endFp: |
|
346 | print "Radar Controller Header is not consistent" | |
|
347 | return 0 | |
|
346 | # fp.seek(endFp) | |
|
347 | print "Radar Controller Header is not consistent read[%d] != header[%d]" %(fp.tell()-startFp,endFp) | |
|
348 | # return 0 | |
|
348 | 349 | |
|
349 | 350 | return 1 |
|
350 | 351 |
General Comments 0
You need to be logged in to leave comments.
Login now