Skip to main content

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

  • xlwt only available in Python <= 3.11 if using conda, replace it with xlsxwriter

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

gimfu-0.0.8.tar.gz (62.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gimfu-0.0.8-py3-none-any.whl (74.2 kB view details)

Uploaded Python 3

File details

Details for the file gimfu-0.0.8.tar.gz.

File metadata

  • Download URL: gimfu-0.0.8.tar.gz
  • Upload date:
  • Size: 62.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for gimfu-0.0.8.tar.gz
Algorithm Hash digest
SHA256 3f457e47287c05ecde140eb3eacf8c7ec2e50b80dcbba5cadc582c1cc0a8e4b4
MD5 0fca05b411e5a81a368ccf93b9625091
BLAKE2b-256 5ad356ae18af48f7e643687ad2e6bf28b6de51d3c8e401c251e7fdc75d115fd8

See more details on using hashes here.

File details

Details for the file gimfu-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: gimfu-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 74.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for gimfu-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5809d80b51c183c04657a828120971df929bbbb0bd47988c1c0d5763460217cf
MD5 4a6d1fe9d44f07a1ef2306705599695a
BLAKE2b-256 9322abb193c8ff737cd3de471e2689d028a7d99c3cc9876d2231b88185e2ec58

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page