Online Voronoi Modflow 6 groundwater modeling with Hakuchik - Tutorial
/Because a new year has come with a new way to model groundwater flow using the latest developments of Modflow 6 Disv. We are not exactly sure that we have done a tutorial, or a procedure or a bunch of code and tools together but we are sure that we have done something that can model geospatial groundwater flow online with awesome 3d representations. At the time we launched all the code on the Hakuchik server, we had a feeling of "we did it" and you are entitled to see if our work is good, bad or in progress. We are sure that more development needs to be done but this will be the way of groundwater modeling in the future, hoping that improving the capacities of professionals and concern of the general population will lead to a sustainable management of our groundwater resources.
What is Hakuchik?
Hachucik is a web server implemented on Kubernetes that can run several Jupyterhub instances with tools and packages optimized for groundwater modeling, the name come from the Quechua language and means “lets go”. The server runs under this url and currently requires an Github account for authentication:
The server is limited on it capacities and we are researching the server performance to dimension a new server… basically we will measure how many users / processes can handle the server until it breaks.
Hakuchik comes with:
Geospatial libraries as: gdal, geopandas, rasterio, shapely, fiona
Groundwater modeling libraries as flopy
Visualization libraries as pyvista, matplotlib
Jupyter widgets as ipywidgets, itkwidgets
And miraculously all work together, taking you off the distress of dealing with the software installation.
You can run hakuchik on your computer taking advange of all your computational resources. On Docker in windows or linux just type:
In Windows powershell: docker run -it -p 8888:8888 hatarilabs/hakuchik:74a2c9c18726
In Ubuntu: sudo docker run -it -p 8888:8888 hatarilabs/hakuchik:74a2c9c18726
Screenshots
Tutorial
We have done an applied tutorial of regional groundwater modeling with voronoi mesh on this video:
Input files
All files for the applied modeling case can be found in this Github repository:
https://github.com/SaulMontoya/voronoiModflow6