def __int__(self):
        if self.__den == 1:
            try:
                return int(self.__num)
            except OverflowError:
                raise OverflowError, ("%s too large to convert to int" %
                                      repr(self))
        raise ValueError, "can't convert %s to int" % repr(self)
Populate the CoverageDataset from the protobuf information
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_binop.py/Rat.__int__--crossover with--dataset/ETHPy150Open Unidata/siphon/siphon/cdmr/coveragedataset.py/CoverageDataset.load_from_stream