def METHOD_NAME(self, data: ndarray, cube: Cube) -> Cube:
    """
    Returns a shower condition cube, with coordinates and mandatory
    attributes based upon the provided cube. The threshold coordinate is
    modified to describe shower conditions, such that the probabilities
    describe the likelihood of conditions being showery. The arbitrary
    threshold value is 1.
    Args:
        data:
            The shower condition probabilities to populate the new cube.
        cube:
            The cube to use as a template, and from which to extract
            attributes for use in the new diagnostic cube.
    Returns:
        A probability of shower conditions cube.
    """
    template = make_shower_condition_cube(cube)
    attributes = generate_mandatory_attributes(
        [cube], model_id_attr=self.model_id_attr
    )
    result = create_new_diagnostic_cube(
        template.name(), "1", template, mandatory_attributes=attributes, data=data,
    )
    return result