Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
joabAM
- Fri, 19 Apr 2024 14:08:45
Show More
0
schainpy/model/graphics/jroplot_spectra.py
schainpy/model/graphics/jroplot_spectra.py
+1
-1
@@
-734,7
+734,7
class RTIPlot(Plot):
734
734
ax . plot_noise = self . pf_axes [ n ] . plot ( numpy . repeat ( data [ 'noise' ][ n ], len ( self . y )), self . y ,
735
735
color = "k" , linestyle = "dashed" , lw = 1 )[ 0 ]
736
736
else :
737
# ax.collections.remove(ax.collections[0]) # error while running
737
ax . collections . remove ( ax . collections [ 0 ]) # error while running in 3.12
738
738
ax . plt = ax . pcolormesh ( x , y , z [ n ] . T ,
739
739
vmin = self . zmin ,
740
740
vmax = self . zmax ,
0
schainpy/model/io/jroIO_kamisr.py
schainpy/model/io/jroIO_kamisr.py
+2
-3
@@
-685,7
+685,6
class AMISRReader(ProcessingUnit):
685
685
#self.__firstFile = False
686
686
687
687
self . dataset , self . timeset = self . readData ()
688
689
688
if self . endDate != None :
690
689
endDateTime_Reader = datetime . datetime . combine ( self . endDate , self . endTime )
691
690
time_str = self . amisrFilePointer . get ( 'Time/RadacTimeString' )
@@
-700,6
+699,7
class AMISRReader(ProcessingUnit):
700
699
if self . flag_ignoreFiles and ( startDateTime_File >= self . ignStartDateTime and startDateTime_File <= self . ignEndDateTime ):
701
700
print ( "Ignoring..." )
702
701
self . flag_standby = True
702
self . profileIndex = 99999999999999999
703
703
return 1
704
704
self . flag_standby = False
705
705
@@
-721,7
+721,6
class AMISRReader(ProcessingUnit):
721
721
if self . flagNoMoreFiles :
722
722
self . dataOut . flagNoData = True
723
723
return 0
724
725
724
if self . profileIndex >= ( self . newProfiles * self . nblocks ): #
726
725
#if self.__hasNotDataInBuffer():
727
726
if not ( self . readNextFile ( self . online )):
@@
-763,7
+762,7
class AMISRReader(ProcessingUnit):
763
762
# print("kamisr: ",self.dataOut.utctime)
764
763
765
764
self . profileIndex += 1
766
765
767
766
return self . dataOut . data #retorno necesario??
768
767
769
768
0
schainpy/model/proc/jroproc_spectra.py
schainpy/model/proc/jroproc_spectra.py
+6
-4
@@
-32,6
+32,7
class SpectraProc(ProcessingUnit):
32
32
self . firstdatatime = None
33
33
self . profIndex = 0
34
34
self . dataOut = Spectra ()
35
self . dataOut . error = False
35
36
self . id_min = None
36
37
self . id_max = None
37
38
self . setupReq = False #Agregar a todas las unidades de proc
@@
-135,16
+136,17
class SpectraProc(ProcessingUnit):
135
136
self . dataOut . flagShiftFFT = False
136
137
137
138
def run ( self , nProfiles = None , nFFTPoints = None , pairsList = None , ippFactor = None , shift_fft = False ,
138
zeroPad = False , zeroPoints = 0 , runNextUnit = 0 ):
139
139
zeroPad = False , zeroPoints = 0 , runNextUnit = 0 ):
140
140
self . dataIn . runNextUnit = runNextUnit
141
141
try :
142
142
type = self . dataIn . type . decode ( "utf-8" )
143
143
self . dataIn . type = type
144
except :
144
except Exception as e :
145
# print("spc -> ",e)
145
146
pass
146
147
147
148
if self . dataIn . type == "Spectra" :
149
#print("AQUI")
148
150
try :
149
151
self . dataOut . copy ( self . dataIn )
150
152
self . dataOut . radarControllerHeaderObj = self . dataIn . radarControllerHeaderObj . copy ()
@@
-301,7
+303,7
class SpectraProc(ProcessingUnit):
301
303
else :
302
304
raise ValueError ( "The type of input object ' %s ' is not valid" . format (
303
305
self . dataIn . type ))
304
306
# print("SPC done")
305
307
306
308
def __selectPairs ( self , pairsList ):
307
309
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