blimpy/guppi.py
def get_data(self):
        """
        returns a generator object that reads data a block at a time;
        the generator prints "File depleted" and returns nothing when all data in the file has been read.
        :return:
        """
        with self as gr:
            while True:
                try:
                    yield gr.read_next_data_block_int8()
                except Exception as e:
                    print("File depleted")
                    yield None, None, None
def get_data(self):
        """
        returns a generator object that reads data a block at a time;
        the generator prints "File depleted" and returns nothing when all data in the file has been read.
        :return:
        """
        with self as gr:
            while True:
                try:
                    yield gr.read_next_data_block_int8()
                except Exception as e:
                    print("File depleted")
                    yield None, None, None
def get_data ( self ) : with self as gr : while True : try : yield gr . read_next_data_block_int8 ( ) except Exception as e : print ( "File depleted" ) yield None , None , None
returns a generator object that reads data a block at a time;
        the generator prints "File depleted" and returns nothing when all data in the file has been read.
        :return:
returns a generator object that reads data a block at a time ; the generator prints File depleted and returns nothing when all data in the file has been read . : return :