@classmethod
def setUpClass(cls):
    cls.dir = TemporaryDirectory()
    path = os.path.join(cls.dir.name, 'test_masked_raster.tif')
    cls.masked_raster().save(path)
    cls.read_only_vgr = GeoRaster2.open(path)
@classmethod
def setUpClass(cls):
    cls.dir = TemporaryDirectory()
    path = os.path.join(cls.dir.name, 'test_masked_raster.tif')
    cls.masked_raster().save(path)
    cls.read_only_vgr = GeoRaster2.open(path)