def check_los(path_input, point):
    '\n    Find potential LOS high points.\n\n    Parameters\n    ----------\n    path_input : string\n        File path for the digital elevation raster tile.\n    point : tuple\n        Coordinate point being queried.\n\n    Returns\n    -------\n    los : string\n        The Line of Sight (los) of the path queried.\n\n    '
    with rasterio.open(path_input) as src:
        x = point[0]
        y = point[1]
        for val in src.sample([(x, y)]):
            if np.isnan(val):
                los = 'nlos'
                return los
            else:
                los = 'clos'
                return los
Find potential LOS high points.

Parameters
----------
path_input : string
    File path for the digital elevation raster tile.
point : tuple
    Coordinate point being queried.

Returns
-------
los : string
    The Line of Sight (los) of the path queried.
def check_los(path_input, point):
    '\n    Find potential LOS high points.\n\n    Parameters\n    ----------\n    path_input : string\n        File path for the digital elevation raster tile.\n    point : tuple\n        Coordinate point being queried.\n\n    Returns\n    -------\n    los : string\n        The Line of Sight (los) of the path queried.\n\n    '
    with rasterio.open(path_input) as src:
        x = point[0]
        y = point[1]
        for val in src.sample([(x, y)]):
            if np.isnan(val):
                los = 'nlos'
                return los
            else:
                los = 'clos'
                return los