TIGER is a Python module for directly accessing Exodus and Nemesis file data as numpy arrays. Examples demonstrate how to generate high quality figures using matplotlib and the TIGER interface.
- Go to your installation directory
cd ~/projects/ - Clone the TIGER repo
git clone https://github.com/chaitanyaBhave26/TIGER.git
- If you don't already have Conda, install by following the instructions on the Conda website. Alternatively, if you are installing TIGER on a HPC with prebuilt conda module, run
module load conda - Install the conda-build package
conda activate base conda install conda-build - Create the TIGER environment and install dependencies
conda create --name tiger_env h5py netcdf4 matplotlib scipy numpy - Build the TIGER package in development mode
conda develop -n tiger_env ~/projects/TIGER - Activate the TIGER environment. This step needs to be run whenever you want to use TIGER in a new terminal tab or window)
conda activate tiger_env - Optionally, you can install OpenCV if you want to perform Computer Vision operations on your exodus file outputs.
conda install -c menpo opencv
- If installing on a HPC, load python module
module load python - Install dependencies using PIP
pip install matplotlib numpy scipy h5py netcdf4 opencv-python - Change to TIGER directory
cd ~/projects/TIGER/ - Add TIGER directory to PYTHONPATH
export PYTHONPATH=$PYTHONPATH:~/projects/TIGER - Importing modules from TIGER requires you to run step #6 every time you open the window. Alternatively you can copy that command into your bash profile (~/.bash_profile) using your choice of text editor. After copying the command, either restart the terminal window or run
source ~/.bash_profile
Once added to your bash profile you can access the python module from any location on the computer.