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.9.tar.gz (63.1 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.9-py3-none-any.whl (74.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gimfu-0.0.9.tar.gz
Algorithm Hash digest
SHA256 5da25166552815e33013e60cef1506dab1cde322831811ae79d9444a6c670d78
MD5 fb2c4517f75db3436a93e0aab9783f49
BLAKE2b-256 0ef97611b91277302cf93cbe81610c60dad3966c8976d200accc3c5dffa93fb7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gimfu-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d83645ba2f5774cf7a6d80efc9d696c84d79668455563a47e50999a5833d955f
MD5 9087ed0f49b6201bee5cc47f0466f873
BLAKE2b-256 b44e9759a7bc3e7df6b7025b566a811b92958d2970766e6aed44620e9a0c1fcb

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