##// END OF EJS Templates
Bug Fixed: AMISR Setup File does not correspond with the experiment range dates...
Daniel Valdez -
r510:de96659ace58
parent child
Show More
@@ -248,11 +248,19 class AMISRReader(ProcessingUnit):
248 else:
248 else:
249 self.status = 0
249 self.status = 0
250 return None
250 return None
251 return 1
251
252 else:
252 else:
253 #get the last file - 1
253 #get the last file - 1
254 self.filenameList = [self.filenameList[-2]]
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 def __searchFilesOnline(self,
265 def __searchFilesOnline(self,
258 path,
266 path,
@@ -282,7 +282,7 class CohInt(Operation):
282 self.n = n
282 self.n = n
283 self.__byTime = False
283 self.__byTime = False
284 else:
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 self.n = 9999
286 self.n = 9999
287 self.__byTime = True
287 self.__byTime = True
288
288
General Comments 0
You need to be logged in to leave comments. Login now