

def assemble_stack(index_stacker):
    '\n        returns stack_info_dict - a dict keyed by stack file name containing a list of tile_info dicts\n        '

    def date2datetime(input_date, time_offset=time.min):
        if (not input_date):
            return None
        return datetime.combine(input_date, time_offset)
    stack_info_dict = index_stacker.stack_derived(x_index=index_stacker.x_index, y_index=index_stacker.y_index, stack_output_dir=stack_info_dict.output_dir, start_datetime=date2datetime(index_stacker.start_date, time.min), end_datetime=date2datetime(index_stacker.end_date, time.max), satellite=index_stacker.satellite, sensor=index_stacker.sensor)
    log_multiline(logger.debug, stack_info_dict, 'stack_info_dict', '\t')
    logger.info('Finished creating %d temporal stack files in %s.', len(stack_info_dict), index_stacker.output_dir)
    return stack_info_dict

dataset/ETHPy150Open GeoscienceAustralia/agdc/examples/rgb_stacker.py assemble_stack/VarMisuse@70/151 `index_stacker`->`stack_info_dict`