def generate_circle(coordinate):  # Coordinate of form "-26,54,14"
    """ Specify a range around a given coordinate to search the database. """

    ordered = [int(x) for x in coordinate.split(",")][0:3]  # Ignore z-score
    search_terms = []
    for i in range(len(ordered)):
        for j in range(-1, 2, 1):
            val = list(ordered)
            val[i] = val[i] + j
            search_terms.append(",".join([str(x) for x in val]))
    return search_terms