@classmethod
def masked_raster(cls):
    data = np.array([[0, 1, 1, 1], [0, 2, 0, 2], [0, 3, 3, 3]], dtype=np.uint8)
    mask = np.array([[True, False, False, False], [True, False, False, False], [True, False, False, False]], dtype=bool)
    image = np.ma.array(np.repeat(data[np.newaxis, :, :], 3, 0), mask=np.repeat(mask[np.newaxis, :, :], 3, 0))
    affine = (Affine.scale(1, (- 1.0001)) * Affine.translation(0, (- 3)))
    crs = WGS84_CRS
    return GeoRaster2(image, affine=affine, crs=crs)
@classmethod
def masked_raster(cls):
    data = np.array([[0, 1, 1, 1], [0, 2, 0, 2], [0, 3, 3, 3]], dtype=np.uint8)
    mask = np.array([[True, False, False, False], [True, False, False, False], [True, False, False, False]], dtype=bool)
    image = np.ma.array(np.repeat(data[np.newaxis, :, :], 3, 0), mask=np.repeat(mask[np.newaxis, :, :], 3, 0))
    affine = (Affine.scale(1, (- 1.0001)) * Affine.translation(0, (- 3)))
    crs = WGS84_CRS
    return GeoRaster2(image, affine=affine, crs=crs)