flask numpy rasterio scikit-learn