#NEWLINE# def parseTable( self ) : #NEWLINE# #INDENT# '\n\n        :return:\n        ' #NEWLINE# series = self . recordService . get_series ( ) #NEWLINE# objects = self . olv . GetObjects ( ) #NEWLINE# isIncorrect = False #NEWLINE# points = [ ] #NEWLINE# for i in objects : #NEWLINE# #INDENT# if self . olv . isCorrect ( i ) : #NEWLINE# #INDENT# row = ( [ None ] * 10 ) #NEWLINE# if ( i . valueAccuracy != 'NULL' ) : #NEWLINE# #INDENT# row [ 1 ] = i . valueAccuracy #NEWLINE# #UNINDENT# if ( i . offSetType != 'NULL' ) : #NEWLINE# #INDENT# row [ 6 ] = i . offSetType #NEWLINE# #UNINDENT# if ( i . qualifierCode != 'NULL' ) : #NEWLINE# #INDENT# row [ 8 ] = dt . qualifierCode #NEWLINE# #UNINDENT# if ( i . labSampleCode != 'NULL' ) : #NEWLINE# #INDENT# row [ 9 ] = i . labSampleCode #NEWLINE# #UNINDENT# row [ 0 ] = i . dataValue #NEWLINE# dt = self . combineDateTime ( i . date , i . time ) #NEWLINE# row [ 2 ] = dt #NEWLINE# row [ 3 ] = i . utcOffSet #NEWLINE# row [ 4 ] = ( dt - datetime . timedelta ( hours = int ( i . utcOffSet ) ) ) #NEWLINE# row [ 7 ] = i . censorCode #NEWLINE# row . extend ( [ series . site_id , series . variable_id , series . method_id , series . source_id , series . quality_control_level_id ] ) #NEWLINE# points . append ( tuple ( row ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# isIncorrect = True #NEWLINE# #UNINDENT# #UNINDENT# return ( points , isIncorrect )