@@ -1195,12 +1195,12 class ParameterReader(JRODataReader,ProcessingUnit): | |||
|
1195 | 1195 | endTime = self.endTime |
|
1196 | 1196 | |
|
1197 | 1197 | grp = fp['Data'] |
|
1198 |
thisUtcTime = grp['utctime'].value |
|
|
1198 | thisUtcTime = grp['utctime'].value | |
|
1199 | 1199 | |
|
1200 | 1200 | if self.timezone == 'lt': |
|
1201 | 1201 | thisUtcTime -= 5*3600 |
|
1202 | 1202 | |
|
1203 | thisDatetime = datetime.datetime.fromtimestamp(thisUtcTime + 5*3600) | |
|
1203 | thisDatetime = datetime.datetime.fromtimestamp(thisUtcTime[0] + 5*3600) | |
|
1204 | 1204 | |
|
1205 | 1205 | thisDate = thisDatetime.date() |
|
1206 | 1206 | thisTime = thisDatetime.time() |
@@ -1212,7 +1212,6 class ParameterReader(JRODataReader,ProcessingUnit): | |||
|
1212 | 1212 | |
|
1213 | 1213 | self.blockList = ind |
|
1214 | 1214 | self.blocksPerFile = len(ind) |
|
1215 | ||
|
1216 | 1215 | return |
|
1217 | 1216 | |
|
1218 | 1217 | def __readMetadata(self): |
@@ -1294,7 +1293,7 class ParameterReader(JRODataReader,ProcessingUnit): | |||
|
1294 | 1293 | self.isConfig = True |
|
1295 | 1294 | |
|
1296 | 1295 | if self.blockIndex == self.blocksPerFile: |
|
1297 |
|
|
|
1296 | if not(self.__setNextFileOffline()): | |
|
1298 | 1297 | self.dataOut.flagNoData = True |
|
1299 | 1298 | return 0 |
|
1300 | 1299 |
General Comments 0
You need to be logged in to leave comments.
Login now