esoreader.py
def _read_data(self):
        '''parse the data from the .eso file returning,
        NOTE: eso_file should be the same file object that was passed to
        read_data_dictionary(eso_file) to obtain dd.'''
        data = {}  # id => [value]
        for id in self.dd.variables.keys():
            data[id] = []
        for line in self.eso_file:
            if line.startswith('End of Data'):
                break
            fields = [f.strip() for f in line.split(',')]
            id = int(fields[0])
            if id not in self.dd.ids:
                # skip entries that are not output:variables
                continue
            data[id].append(float(fields[1]))
        return data
parse the data from the .eso file returning,
        NOTE: eso_file should be the same file object that was passed to
        read_data_dictionary(eso_file) to obtain dd.
parse the data from the .eso file returning,
NOTE: eso_file should be the same file object that was passed to
read_data_dictionary(eso_file) to obtain dd.
parse the data from the . eso file returning NOTE : eso_file should be the same file object that was passed to read_data_dictionary ( eso_file ) to obtain dd .
def _read_data(self):
        data = {}  
        for id in self.dd.variables.keys():
            data[id] = []
        for line in self.eso_file:
            if line.startswith('End of Data'):
                break
            fields = [f.strip() for f in line.split(',')]
            id = int(fields[0])
            if id not in self.dd.ids:
                continue
            data[id].append(float(fields[1]))
        return data
def _read_data ( self ) : data = { } for id in self . dd . variables . keys ( ) : data [ id ] = [ ] for line in self . eso_file : if line . startswith ( 'End of Data' ) : break fields = [ f . strip ( ) for f in line . split ( ',' ) ] id = int ( fields [ 0 ] ) if id not in self . dd . ids : continue data [ id ] . append ( float ( fields [ 1 ] ) ) return data
parse the data from the .eso file returning,
NOTE: eso_file should be the same file object that was passed to
read_data_dictionary(eso_file) to obtain dd.
parse the data from the . eso file returning NOTE : eso_file should be the same file object that was passed to read_data_dictionary ( eso_file ) to obtain dd .
'''parse the data from the .eso file returning,
        NOTE: eso_file should be the same file object that was passed to
        read_data_dictionary(eso_file) to obtain dd.''' # id => [value]
 # skip entries that are not output:variables

self