##// 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 244 def ltctime(self):
245 245
246 246 if self.useLocalTime:
247 return self.utctime - self.timeZone * 60
248
247 if self.timeZone =='lt':
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 253 return self.utctime
250 254
251 255 @property
@@ -619,7 +619,7 class AMISRReader(ProcessingUnit):
619 619 self.dataOut.timeZone = time.timezone / 60. #get the timezone in minutes
620 620 else:
621 621 self.dataOut.timeZone = 0 #by default time is UTC
622
622
623 623 self.dataOut.dstFlag = 0
624 624 self.dataOut.errorCount = 0
625 625 self.dataOut.nCohInt = 1
General Comments 0
You need to be logged in to leave comments. Login now