@@ -406,12 +406,10 class HDF5Reader(ProcessingUnit): | |||
|
406 | 406 | blocksPerFile = self.blocksPerFile |
|
407 | 407 | |
|
408 | 408 | #Depending on what mode the data was stored |
|
409 |
|
|
|
410 | # strds = 'channel' | |
|
411 | # nDatas = nDim2 | |
|
412 | # newShapes = (blocksPerFile,nDim1,nDim0) | |
|
409 | if mode == 0: #Divided in channels | |
|
410 | arrayData = dataset.value.astype(numpy.float)[0][blockList] | |
|
413 | 411 | if mode == 1: #Divided in parameter |
|
414 |
strds = ' |
|
|
412 | strds = 'table' | |
|
415 | 413 | nDatas = nDim1 |
|
416 | 414 | newShapes = (blocksPerFile,nDim2,nDim0) |
|
417 | 415 | elif mode==2: #Concatenated in a table |
@@ -428,7 +426,7 class HDF5Reader(ProcessingUnit): | |||
|
428 | 426 | return arrayData |
|
429 | 427 | |
|
430 | 428 | #------- One dimension --------------- |
|
431 |
if nDims == |
|
|
429 | if nDims == 0: | |
|
432 | 430 | arrayData = dataset.value.astype(numpy.float)[0][blockList] |
|
433 | 431 | |
|
434 | 432 | #------- Two dimensions ----------- |
@@ -476,6 +474,8 class HDF5Reader(ProcessingUnit): | |||
|
476 | 474 | setattr(self.dataOut,listDataname[j],listData[j][blockIndex]) |
|
477 | 475 | elif nShapes > 1: |
|
478 | 476 | setattr(self.dataOut,listDataname[j],listData[j][blockIndex,:]) |
|
477 | elif mode==0: | |
|
478 | setattr(self.dataOut,listDataname[j],listData[j][blockIndex]) | |
|
479 | 479 | #Mode Meteors |
|
480 | 480 | elif mode ==2: |
|
481 | 481 | selectedData = self.__selectDataMode2(listData[j], blockIndex) |
General Comments 0
You need to be logged in to leave comments.
Login now