def copy_scene(scene):
    """Create a copy of this scene with images converted to tifs in s3

    Args:
        scene (Scene): scene to copy images from

    Return:
        Scene: the copied scene with substitute images
    """

    copied = Scene.from_dict(scene.to_dict())
    copied.images = [make_tif_image_copy(image) for image in scene.images]
    return copied
 def setUp(self):
     cwd = os.path.abspath(os.path.dirname(__file__))
     scene_path = os.path.join(cwd, 'data', 'scene.json')
     with open(scene_path) as fh:
         self.scene = Scene.from_dict(json.load(fh))