##// END OF EJS Templates
timeZone verification before ltctime calculation
joabAM -
r1742:9af415573ac7
parent child
Show More
@@ -244,8 +244,12 the parameters related to distances such as heightList, or heightResolution wich
244 def ltctime(self):
244 def ltctime(self):
245
245
246 if self.useLocalTime:
246 if self.useLocalTime:
247 return self.utctime - self.timeZone * 60
247 if self.timeZone =='lt':
248
248 return self.utctime - 300 * 60
249 elif self.timeZone =='ut':
250 return self.utctime
251 else:
252 log.error("No valid timeZone detected")
249 return self.utctime
253 return self.utctime
250
254
251 @property
255 @property
@@ -619,7 +619,7 class AMISRReader(ProcessingUnit):
619 self.dataOut.timeZone = time.timezone / 60. #get the timezone in minutes
619 self.dataOut.timeZone = time.timezone / 60. #get the timezone in minutes
620 else:
620 else:
621 self.dataOut.timeZone = 0 #by default time is UTC
621 self.dataOut.timeZone = 0 #by default time is UTC
622
622
623 self.dataOut.dstFlag = 0
623 self.dataOut.dstFlag = 0
624 self.dataOut.errorCount = 0
624 self.dataOut.errorCount = 0
625 self.dataOut.nCohInt = 1
625 self.dataOut.nCohInt = 1
General Comments 0
You need to be logged in to leave comments. Login now