

def tiff_to_array(path):
    'Function that loads a geotiff into a numpy array\n\n    Args:\n      path (str): s3 or local path to load tiff from\n\n    Returns:\n      numpy array\n    '
    if path.startswith('s3'):
        local_raster_path = get_from_s3(path)
    else:
        local_raster_path = path
    return raster_to_array(path)

dataset/ETHPy150Open notthatbreezy/nyc-taxi-spark-ml/python/geo_vars.py tiff_to_array/VarMisuse@42/129 `local_raster_path`->`path`