From 39af0b6e404b0c146140ba9eaef50747a6fa64b6 2017-08-04 15:30:34 From: Juan C. Espinoza Date: 2017-08-04 15:30:34 Subject: [PATCH] remove prints --- diff --git a/schainpy/model/io/jroIO_base.py b/schainpy/model/io/jroIO_base.py index 1ebc6b2..24f94aa 100644 --- a/schainpy/model/io/jroIO_base.py +++ b/schainpy/model/io/jroIO_base.py @@ -999,8 +999,7 @@ class JRODataReader(JRODataIO): return 0 # if self.online: -# self.__jumpToLastBlock() - print 'xxxx' +# self.__jumpToLastBlock() if self.flagIsNewFile: self.lastUTTime = self.basicHeaderObj.utc @@ -1011,8 +1010,7 @@ class JRODataReader(JRODataIO): if not(self.setNextFile()): return 0 else: - return 1 - print 'xxxx' + return 1 #if self.server is None: currentSize = self.fileSize - self.fp.tell() neededSize = self.processingHeaderObj.blockSize + self.basicHeaderSize @@ -1044,12 +1042,11 @@ class JRODataReader(JRODataIO): def readNextBlock(self): #Skip block out of startTime and endTime - while True: - print 'cxxxx' + while True: if not(self.__setNewBlock()): print 'returning' return 0 - print 'dxxx' + if not(self.readBlock()): return 0 diff --git a/schainpy/model/io/jroIO_voltage.py b/schainpy/model/io/jroIO_voltage.py index 9d1dec2..629b49b 100644 --- a/schainpy/model/io/jroIO_voltage.py +++ b/schainpy/model/io/jroIO_voltage.py @@ -217,7 +217,6 @@ class VoltageReader(JRODataReader, ProcessingUnit): Si un bloque leido no es un bloque valido """ - print 'READ BLOCK' # if self.server is not None: # self.zBlock = self.receiver.recv() # self.zHeader = self.zBlock[:24] @@ -232,7 +231,6 @@ class VoltageReader(JRODataReader, ProcessingUnit): try: junk = junk.reshape( (self.processingHeaderObj.profilesPerBlock, self.processingHeaderObj.nHeights, self.systemHeaderObj.nChannels) ) - print'junked' except: #print "The read block (%3d) has not enough data" %self.nReadBlocks diff --git a/schainpy/model/proc/jroproc_voltage.py b/schainpy/model/proc/jroproc_voltage.py index d188999..5899cab 100644 --- a/schainpy/model/proc/jroproc_voltage.py +++ b/schainpy/model/proc/jroproc_voltage.py @@ -633,9 +633,7 @@ class Decoder(Operation): code_block = numpy.reshape(junk, (self.nCode*repetitions, self.nBaud)) for i in range(self.__nChannels): - for j in range(self.__nProfiles): - print self.datadecTime[i,j,:].shape - print numpy.correlate(data[i,j,:], code_block[j,:], mode='full')[self.nBaud-1:].shape + for j in range(self.__nProfiles): self.datadecTime[i,j,:] = numpy.correlate(data[i,j,:], code_block[j,:], mode='full')[self.nBaud-1:] return self.datadecTime