def METHOD_NAME(self, data: ndarray) -> Cube:
    """Puts the data array into a CF-compliant cube"""
    attributes = {}
    if self.model_id_attr:
        attributes[self.model_id_attr] = self.t_at_ccl.attributes[
            self.model_id_attr
        ]
    cube = create_new_diagnostic_cube(
        "air_temperature_at_convective_cloud_top",
        "K",
        self.t_at_ccl,
        mandatory_attributes=generate_mandatory_attributes(
            [self.t_at_ccl, self.p_at_ccl]
        ),
        optional_attributes=attributes,
        data=data,
    )
    return cube