I am trying to make a FloPy-based groundwater modeling project runnable in Binder so that the model can be shared with stakeholders. I can easily get the notebook up and running in Binder, but the trick is, FloPy needs to run a separate executable program (MODFLOW-NWT.exe) as a sub-process. I typically just download this .exe into my working directory. Once subprocess runs, MODFLOW-NWT.exe saves output files, and the rest of the script opens these files and post-processes model results.
The model is available at:
If anyone can help to figure out how to run an external (but freely downloadable) .exe program from Binder, and I guess also how to save results as files that can then be re-opened and worked with, I would be very appreciative!