If TiMBA was available from within the TiMBA_Charts' virtual environment, then
you could import configuration variables from TiMBA into TiMBA_charts and
define the path to the model output data in one place, i.e. only in the
TIMBA_DATA_DIR variable by importing it from TiMBA_Charts as such:
from TiMBA import TIMBA_DATA_DIR
See the related TiMBA issue: TI-Forest-Sector-Modelling/TiMBA#72
The reverse is not needed. This proposal doesn't mean that you have to use the
same virtual environment for the TiMBA runs. There can be a separate virtual
env that contains TiMBA only. In other words TiMBA doesn't need to depend on
TiMBA_Charts, it can retain it's own/separate virtual environment.
Proposal
Add Timba to the dependencies in pyproject.toml.
If TiMBA was available from within the TiMBA_Charts' virtual environment, then
you could import configuration variables from TiMBA into TiMBA_charts and
define the path to the model output data in one place, i.e. only in the
TIMBA_DATA_DIR variable by importing it from TiMBA_Charts as such:
See the related TiMBA issue: TI-Forest-Sector-Modelling/TiMBA#72
The reverse is not needed. This proposal doesn't mean that you have to use the
same virtual environment for the TiMBA runs. There can be a separate virtual
env that contains TiMBA only. In other words TiMBA doesn't need to depend on
TiMBA_Charts, it can retain it's own/separate virtual environment.
Proposal
Add Timba to the
dependenciesin pyproject.toml.