gkvfig is a Python package that generates a summary figure PDF of GKV standard ASCII output.
(Previous fig_stdout tool using shell/awk/gnuplot/latex is converted to Python.)
To install from PyPI:
pip install gkvfigOr install the latest development version from GitHub:
pip install git+https://github.com/GKV-developers/gkvfig.gitpython -m gkvfig -d DIRThe argument DIR is the path of GKV output directory. The namelist file DIR/gkvp.namelist.001, log file DIR/log/gkvp.000000.0.log.001, and hst directory DIR/hst/ should exist.
You get a summary PDF file CWD/figpdf_yyyymmdd_hhmmss/fig_stdout.pdf.
from gkvfig import gkvfig
gkvfig(gkv_stdout_dir="YOUR GKV OUTPUT DIR")You get a summary PDF file CWD/figpdf_yyyymmdd_hhmmss/fig_stdout.pdf, always in the current working directory CWD.
gkvfig requires the following Python packages:
numpy,matplotlib,pandas,reportlab,pypdf
This project is licensed under the MIT License. See the LICENSE file for details.
Developed by Shinya Maeyama (maeyama.shinya@nifs.ac.jp)