def filter_dataset(self, path, row, date):
        (start_date, end_date) = self.get_date_range()
        (min_path, max_path) = self.get_path_range()
        (min_row, max_row) = self.get_row_range()

        include = ((int(max_path) is None or path is None or int(path) <= int(max_path)) and
                   (int(min_path) is None or path is None or int(path) >= int(min_path)) and
                   (end_date is None or date is None or date <= end_date) and
                   (start_date is None or date is None or date >= start_date))

        return include
L{StringTransport.resumeProducing} raises L{RuntimeError} if the
dataset/ETHPy150Open GeoscienceAustralia/agdc/src/modis_ingester/__init__.py/ModisIngester.filter_dataset--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_stringtransport.py/StringTransportTests.test_disconnectingTransportCannotResume