From 4cfe78306a91171ab412ea2e2851e5ce6820dad7 2015-03-04 16:24:18 From: Miguel Valdez Date: 2015-03-04 16:24:18 Subject: [PATCH] Bug fixed: Error found selecting Heights and Channels --- diff --git a/schainpy/model/proc/jroproc_voltage.py b/schainpy/model/proc/jroproc_voltage.py index d70003f..234c1cf 100644 --- a/schainpy/model/proc/jroproc_voltage.py +++ b/schainpy/model/proc/jroproc_voltage.py @@ -98,7 +98,7 @@ class VoltageProc(ProcessingUnit): raise ValueError, "The value %d in channelIndexList is not valid" %channelIndex # nChannels = len(channelIndexList) - if dataOut.flagDataAsBlock: + if self.dataOut.flagDataAsBlock: """ Si la data es obtenida por bloques, dimension = [nChannels, nProfiles, nHeis] """ @@ -217,7 +217,7 @@ class VoltageProc(ProcessingUnit): newdelta = deltaHeight * window r = self.dataOut.nHeights % window - if dataOut.flagDataAsBlock: + if self.dataOut.flagDataAsBlock: """ Si la data es obtenida por bloques, dimension = [nChannels, nProfiles, nHeis] """