def build_pos_criteria(source_list, radius_degrees):
    """
    Build up a list of POS criteria that can be used in both SIA2 and SODA requests to specify locations with a
    radius. When used in SIA2 the positions will cause the results to be restricted to images and cubes which contain
    the specified areas. When used in SODA, the criteria specify individual regions to be extracted.

    :param source_list: The list of SkyCoord objects specifying source positions
    :param radius_degrees:  The number of degrees around the central point to extract or find.
    :return: An array of parameters for use with a POS keyword in either SIA2 or SODA.
    """
    pos_params = []
    for sky_loc in source_list:
        ra = sky_loc.ra.degree
        dec = sky_loc.dec.degree
        # print ra, dec, cutout_radius_degrees
        criterion = "CIRCLE " + str(ra) + " " + str(dec) + " " + str(radius_degrees)
        pos_params.append(criterion)
    return pos_params