A toolkit and python library for generating future scenarios in AUTOUGH2.
Project description
gimfu
A toolkit for generating future scenarios in AUTOUGH2.
Table of Contents
Installation
pip install -U gimfu
If 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.yml
Commands
Make Scenario
To build a scenario from a .cfg and its parts (.geners):
make_scenarios make_scenarios_sXXX.cfg
This will generate a folder with the scenario name. Use run_all_models.bat for Windows or ./run_all_models.sh for Linux/MacOS.
Convert SAVE file to INCON file
save2incon a.save b.incon
NOTE this command is used during the scenario run.
Related Packages
These packages may be required to generate a full scenario report:
- LaTeX (
latex,dvips) - gnuplot (
gnuplot) - Ghostscript (
gs)
License
gimfu is distributed under the terms of the MIT license.
Developer
Build and Publish
To bump version, create a tag, eg. v0.1.0
PyPI token is expected in ~/.pypirc
Publish to PyPI:
hatch build
hatch publish
TODO
xlwtonly available in Python <= 3.11 if using conda, replace it withxlsxwriter
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gimfu-0.0.6.tar.gz.
File metadata
- Download URL: gimfu-0.0.6.tar.gz
- Upload date:
- Size: 59.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1790cd688e9ac1d30a6b3307f6b67e1b9690c6ef318854fbb6b899e780c44d6a
|
|
| MD5 |
1190d9225171de8c01ddcc60cd343b84
|
|
| BLAKE2b-256 |
3477cb8fe98a0ce2e1a06e4b27e78ad6dfa72232c70afc04324d3d5cdbda0928
|
File details
Details for the file gimfu-0.0.6-py3-none-any.whl.
File metadata
- Download URL: gimfu-0.0.6-py3-none-any.whl
- Upload date:
- Size: 70.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d636e04d9487b66eb7a5983abb4a88dd9cd01c57348a1a33fff8f301d9141f3
|
|
| MD5 |
4c996b067bea0a6f12a5219957373d5d
|
|
| BLAKE2b-256 |
017a1dee699ec7b2da2c70cd0e459efa70388b4b85ca2d24887dd266005ac54a
|