def METHOD_NAME(
    self,
    vertical_updraught: Cube,
    hail_size: Cube,
    cloud_condensation_level: Cube,
    convective_cloud_top: Cube,
    hail_melting_level: Cube,
    orography: Cube,
) -> Cube:
    """Calculates the hail fraction using the maximum vertical updraught,
    the hail_size, the cloud condensation level temperature, the convective cloud
    top temperature, the altitude of the hail to rain phase change and the
    orography.
    Args:
        vertical_updraught: Maximum vertical updraught.
        hail_size: Hail size.
        cloud_condensation_level: Cloud condensation level temperature.
        convective_cloud_top: Convective cloud top.
        hail_melting_level: Altitude of the melting of hail to rain.
        orography: Altitude of the orography.
    Returns:
        Hail fraction cube.
    """
    vertical_updraught.convert_units("m s-1")
    hail_size.convert_units("m")
    cloud_condensation_level.convert_units("K")
    convective_cloud_top.convert_units("K")
    hail_melting_level.convert_units("m")
    orography.convert_units("m")
    assert_spatial_coords_match(
        [
            vertical_updraught,
            hail_size,
            cloud_condensation_level,
            convective_cloud_top,
            hail_melting_level,
            orography,
        ]
    )
    hail_fraction = self._compute_hail_fraction(
        vertical_updraught,
        hail_size,
        cloud_condensation_level,
        convective_cloud_top,
        hail_melting_level,
        orography,
    )
    hail_fraction_cube = create_new_diagnostic_cube(
        "hail_fraction",
        "1",
        template_cube=vertical_updraught,
        mandatory_attributes=generate_mandatory_attributes(
            [
                vertical_updraught,
                hail_size,
                cloud_condensation_level,
                convective_cloud_top,
                hail_melting_level,
            ],
            model_id_attr=self.model_id_attr,
        ),
        data=hail_fraction,
    )
    return hail_fraction_cube