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