def absolutify_paths(doc, path):
    """
    Return absolute paths from input doc and path
    """
    for band in doc["image"]["bands"].values():
        band["path"] = str(path / band["path"])
    return doc