A toolkit for generating future scenarios in AUTOUGH2.
pip install -U gimfuIf you use conda, use the supplied environment.yml to create py311-gimfu. This installs packages using conda as much as possible before installing packages from PyPI.
conda env create -f environment.ymlTo build a scenario from a .cfg and its parts (.geners):
make_scenarios make_scenarios_sXXX.cfgThis will generate a folder with the scenario name. Use run_all_models.bat for Windows or ./run_all_models.sh for Linux/MacOS.
save2incon a.save b.inconNOTE this command is used during the scenario run.
These packages may be required to generate a full scenario report:
- LaTeX (
latex,dvips) - gnuplot (
gnuplot) - Ghostscript (
gs)
gimfu is distributed under the terms of the MIT license.
To bump version, create a tag, eg. v0.1.0
PyPI token is expected in ~/.pypirc
Publish to PyPI:
hatch build
hatch publishxlwtonly available in Python <= 3.11 if using conda, replace it withxlsxwriter