def check_coord_type(cube, coord):
    """
    Function to test whether coord is classified as scalar or auxiliary

    Args:
        cube (iris.cube.Cube):
            Iris cube containing coordinates to be checked
        coord (iris.coords.Coord):
            Coordinate to check
    """
    coord_scalar = True
    coord_aux = False
    cube_summary = cube.summary()
    aux_ind = cube_summary.find("Auxiliary")
    if coord in cube_summary[aux_ind:]:
        coord_scalar = False
        coord_aux = True
    return coord_scalar, coord_aux