def tiff_to_array(path):

    if path.startswith('s3'):
        local_raster_path = get_from_s3(path)
    else:
        local_raster_path = path

    return raster_to_array(local_raster_path)
Function that loads a geotiff into a numpy array
dataset/ETHPy150Open notthatbreezy/nyc-taxi-spark-ml/python/geo_vars.py/tiff_to_array