@@ -124,7 +124,7 class ParametersProc(ProcessingUnit): | |||
|
124 | 124 | self.dataOut.abscissaList = self.dataIn.getVelRange(1) |
|
125 | 125 | self.dataOut.spc_noise = self.dataIn.getNoise() |
|
126 | 126 | self.dataOut.spc_range = (self.dataIn.getFreqRange(1) , self.dataIn.getAcfRange(1) , self.dataIn.getVelRange(1)) |
|
127 |
|
|
|
127 | self.dataOut.normFactor = self.dataIn.normFactor | |
|
128 | 128 | self.dataOut.pairsList = self.dataIn.pairsList |
|
129 | 129 | self.dataOut.groupList = self.dataIn.pairsList |
|
130 | 130 | self.dataOut.flagNoData = False |
@@ -2119,7 +2119,8 class WindProfiler(Operation): | |||
|
2119 | 2119 | def run(self, dataOut, technique, nHours=1, hmin=70, hmax=110, **kwargs): |
|
2120 | 2120 | |
|
2121 | 2121 | param = dataOut.data_param |
|
2122 |
if dataOut.abscissaList |
|
|
2122 | if dataOut.abscissaList.any(): | |
|
2123 | #if dataOut.abscissaList != None: | |
|
2123 | 2124 | absc = dataOut.abscissaList[:-1] |
|
2124 | 2125 | # noise = dataOut.noise |
|
2125 | 2126 | heightList = dataOut.heightList |
@@ -583,7 +583,10 class SendToServer(ProcessingUnit): | |||
|
583 | 583 | self.clientObj = None |
|
584 | 584 | |
|
585 | 585 | def setup(self, server, username, password, remotefolder, localfolder, ext='.png', period=60, protocol='ftp', **kwargs): |
|
586 | ||
|
586 | self.server = server | |
|
587 | self.username = username | |
|
588 | self.password = password | |
|
589 | self.remotefolder = remotefolder | |
|
587 | 590 | self.clientObj = None |
|
588 | 591 | self.localfolder = localfolder |
|
589 | 592 | self.ext = ext |
@@ -947,7 +950,7 class FTP(object): | |||
|
947 | 950 | |
|
948 | 951 | """ |
|
949 | 952 | self.ftp.close() |
|
950 | ||
|
953 | @MPDecorator | |
|
951 | 954 | class SendByFTP(Operation): |
|
952 | 955 | |
|
953 | 956 | def __init__(self, **kwargs): |
General Comments 0
You need to be logged in to leave comments.
Login now