def get_linear_neighbor_index(coord, spatial_res, spatial_sigfigs):
    """
    Returns the index position of the specified coordinate in a linear model.
    :param coord:
    :param spatial_res:
    :param spatial_sigfigs:
    :return:
    """

    index = int(round((coord / spatial_res), spatial_sigfigs))
    return index