##// END OF EJS Templates
actualización hdf5, reemplazo .value por [()] en kamisr
joabAM -
r1421:9ecadbbaf80a
parent child
Show More
@@ -93,7 +93,7 class AMISRReader(ProcessingUnit):
93 93 code = None,
94 94 nCode = 0,
95 95 nBaud = 0,
96 online=False
96 online=False,
97 97 old_beams=False):
98 98
99 99
@@ -188,7 +188,7 class AMISRReader(ProcessingUnit):
188 188
189 189 #filling radar controller header parameters
190 190 self.__ippKm = self.ippSeconds *.15*1e6 # in km
191 self.__txA = (txAus.value)*.15 #(ipp[us]*.15km/1us) in km
191 self.__txA = (txAus[()])*.15 #(ipp[us]*.15km/1us) in km
192 192 self.__txB = 0
193 193 nWindows=1
194 194 self.__nSamples = self.nsa
@@ -514,7 +514,7 class AMISRReader(ProcessingUnit):
514 514
515 515 self.dataOut.nProfiles = self.newProfiles*self.nblocks
516 516 #self.dataOut.heightList = self.__firstHeigth + numpy.arange(self.__nSamples, dtype = numpy.float)*self.__deltaHeigth
517 ranges = numpy.reshape(self.rangeFromFile.value,(-1))
517 ranges = numpy.reshape(self.rangeFromFile[()],(-1))
518 518 self.dataOut.heightList = ranges/1000.0 #km
519 519 self.dataOut.channelList = self.__channelList
520 520 self.dataOut.blocksize = self.dataOut.nChannels * self.dataOut.nHeights
General Comments 0
You need to be logged in to leave comments. Login now