def x2trace(distance, interval):
    """Return the trace number closest to a given distance. The input distance is effectively dimesionless given that the interval is proportional to it. NB: Not sure if the returned trace is a python index or gpr trace but that needs to be specified here.
    Attributes:
        distance <float>: the distance along a GPR line that a trace must be identified;
        interval <float>: the distance interval in meters between adjacent traces.
    Alternative names:
	line_trace
    """
    trace = round(distance / interval)
    return(trace)