Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Juan C. Espinoza
- Fri, 04 Aug 2017 15:30:34
Show More
0
schainpy/model/io/jroIO_base.py
schainpy/model/io/jroIO_base.py
+1
-4
@@
-1000,7
+1000,6
class JRODataReader(JRODataIO):
1000
1000
1001
# if self.online:
1001
# if self.online:
1002
# self.__jumpToLastBlock()
1002
# self.__jumpToLastBlock()
1003
print 'xxxx'
1004
1003
1005
if self . flagIsNewFile :
1004
if self . flagIsNewFile :
1006
self . lastUTTime = self . basicHeaderObj . utc
1005
self . lastUTTime = self . basicHeaderObj . utc
@@
-1012,7
+1011,6
class JRODataReader(JRODataIO):
1012
return 0
1011
return 0
1013
else :
1012
else :
1014
return 1
1013
return 1
1015
print 'xxxx'
1016
#if self.server is None:
1014
#if self.server is None:
1017
currentSize = self . fileSize - self . fp . tell ()
1015
currentSize = self . fileSize - self . fp . tell ()
1018
neededSize = self . processingHeaderObj . blockSize + self . basicHeaderSize
1016
neededSize = self . processingHeaderObj . blockSize + self . basicHeaderSize
@@
-1045,11
+1043,10
class JRODataReader(JRODataIO):
1045
1043
1046
#Skip block out of startTime and endTime
1044
#Skip block out of startTime and endTime
1047
while True :
1045
while True :
1048
print 'cxxxx'
1049
if not ( self . __setNewBlock ()):
1046
if not ( self . __setNewBlock ()):
1050
print 'returning'
1047
print 'returning'
1051
return 0
1048
return 0
1052
print 'dxxx'
1049
1053
if not ( self . readBlock ()):
1050
if not ( self . readBlock ()):
1054
return 0
1051
return 0
1055
1052
0
schainpy/model/io/jroIO_voltage.py
schainpy/model/io/jroIO_voltage.py
0
-2
@@
-217,7
+217,6
class VoltageReader(JRODataReader, ProcessingUnit):
217
Si un bloque leido no es un bloque valido
217
Si un bloque leido no es un bloque valido
218
"""
218
"""
219
219
220
print 'READ BLOCK'
221
# if self.server is not None:
220
# if self.server is not None:
222
# self.zBlock = self.receiver.recv()
221
# self.zBlock = self.receiver.recv()
223
# self.zHeader = self.zBlock[:24]
222
# self.zHeader = self.zBlock[:24]
@@
-232,7
+231,6
class VoltageReader(JRODataReader, ProcessingUnit):
232
231
233
try :
232
try :
234
junk = junk . reshape ( ( self . processingHeaderObj . profilesPerBlock , self . processingHeaderObj . nHeights , self . systemHeaderObj . nChannels ) )
233
junk = junk . reshape ( ( self . processingHeaderObj . profilesPerBlock , self . processingHeaderObj . nHeights , self . systemHeaderObj . nChannels ) )
235
print 'junked'
236
except :
234
except :
237
#print "The read block (%3d) has not enough data" %self.nReadBlocks
235
#print "The read block (%3d) has not enough data" %self.nReadBlocks
238
236
0
schainpy/model/proc/jroproc_voltage.py
schainpy/model/proc/jroproc_voltage.py
0
-2
@@
-634,8
+634,6
class Decoder(Operation):
634
634
635
for i in range ( self . __nChannels ):
635
for i in range ( self . __nChannels ):
636
for j in range ( self . __nProfiles ):
636
for j in range ( self . __nProfiles ):
637
print self . datadecTime [ i , j ,:] . shape
638
print numpy . correlate ( data [ i , j ,:], code_block [ j ,:], mode = 'full' )[ self . nBaud - 1 :] . shape
639
self . datadecTime [ i , j ,:] = numpy . correlate ( data [ i , j ,:], code_block [ j ,:], mode = 'full' )[ self . nBaud - 1 :]
637
self . datadecTime [ i , j ,:] = numpy . correlate ( data [ i , j ,:], code_block [ j ,:], mode = 'full' )[ self . nBaud - 1 :]
640
638
641
return self . datadecTime
639
return self . datadecTime
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages