Skip to content
/ ITR Public
forked from os-climate/ITR

This Python module implements the ITR methodology.

License

Notifications You must be signed in to change notification settings

eb-oss/ITR

 
 

Repository files navigation

ITR

This Python module implements the ITR methodology, elaborated in this Functional Overview. A graphical representation of the fundamental calculations is also available in the docs directory.

Getting started with the user interface:

If you use Anaconda environments, open an Anaconda prompt window, navigate to the 'examples' directory and run:

conda env create -f environment.yml
conda activate itr_ui
python ITR_UI.py

For virtual environments, open a command prompt/terminal window, navigate to the 'examples' directory and run:

python3 -m venv itr_ui

On Unix or MacOS, activate the environment with

source itr_ui/bin/activate

On Windows, activate the environment with

itr_ui\Scripts\activate.bat

Next, run:

python3 -m pip install --upgrade pip
pip install -r requirements.txt
python3 ITR_UI.py

Finally, open a browser window and navigate to http://127.0.0.1:8050/ to access the user interface.

Jupyter notebooks

To work with notebooks from the 'examples' directory please register the kernel from your virtual environment such that it is available in Jupyter. Kernels from Anaconda environments will be available by default. Replace <env_name> in the following command by your environment name (itr_ui or itr_env) and run it in your environment.

python -m ipykernel install --user --name=<env_name>

Start Jupyter by activating your environment and running

jupyter-notebook

Getting started for Contributors/Developers:

If you use Anaconda environments, open an Anaconda prompt window, navigate to the project directory and run:

conda env create -f environment.yml
conda activate itr_env

For virtual environments, open a command prompt/terminal window, navigate to the project directory and run:

python3 -m venv itr_env

On Unix or MacOS, activate the environment with

source itr_env/bin/activate

On Windows, activate the environment with

itr_env\Scripts\activate.bat

Next, run:

python3 -m pip install --upgrade pip
pip install -r requirements.txt
pip install -e .[dev]

User Interface

About

This Python module implements the ITR methodology.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%