@@ -248,11 +248,19 class AMISRReader(ProcessingUnit): | |||
|
248 | 248 | else: |
|
249 | 249 | self.status = 0 |
|
250 | 250 | return None |
|
251 |
|
|
|
251 | ||
|
252 | 252 | else: |
|
253 | 253 | #get the last file - 1 |
|
254 | 254 | self.filenameList = [self.filenameList[-2]] |
|
255 | return 1 | |
|
255 | ||
|
256 | new_dirnameList = [] | |
|
257 | for dirname in self.dirnameList: | |
|
258 | junk = numpy.array([dirname in x for x in self.filenameList]) | |
|
259 | junk_sum = junk.sum() | |
|
260 | if junk_sum > 0: | |
|
261 | new_dirnameList.append(dirname) | |
|
262 | self.dirnameList = new_dirnameList | |
|
263 | return 1 | |
|
256 | 264 | |
|
257 | 265 | def __searchFilesOnline(self, |
|
258 | 266 | path, |
@@ -282,7 +282,7 class CohInt(Operation): | |||
|
282 | 282 | self.n = n |
|
283 | 283 | self.__byTime = False |
|
284 | 284 | else: |
|
285 | self.__integrationtime = timeInterval * 60. #if (type(timeInterval)!=integer) -> change this line | |
|
285 | self.__integrationtime = timeInterval #* 60. #if (type(timeInterval)!=integer) -> change this line | |
|
286 | 286 | self.n = 9999 |
|
287 | 287 | self.__byTime = True |
|
288 | 288 |
General Comments 0
You need to be logged in to leave comments.
Login now