Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## [v1.1.2] - 2025-12-04

### Added

- Dynamic path setting allowing a flexible usage of the C-Module in combination with other packages (such as TiMBA).
- Safeguards to prevent errors related to missing input data. In the case of missing input data, missing files are
automatically downloaded from GitHub.
- CLI refinement to integrate dynamic path setting.

## [v1.1.1] - 2025-09-16

### Added
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ keywords:
- wood products
- forest sector modelling
license: AGPL-3.0-or-later
version: 1.1.1
date-released: '03.09.2025'
version: 1.1.2
date-released: '04.12.2025'
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ To install the newest version of the C-Module via PyPI, use following command in
### Installation via GitHub
1. Clone the repository
Begin by cloning the repository to your local machine using the following command:
>git clone https://github.com/TI-Forest-Sector-Modelling/C-Module
>git clone https://github.com/TI-Forest-Sector-Modelling/C-Module.git
>
2. Switch to the C-Module directory
Navigate into the C-Module project folder on your local machine.
Expand Down Expand Up @@ -136,6 +136,16 @@ By running the provided example, the C-Module will calculate carbon stocks and s
in forest belowground biomass (-CF_BGB), and in HWP (-C_HWP). Carbon stocks and stock changes in forest soil (-CF_S) and dead wood and
litter (-CF_DWL) will not be calculated.

The target folder for input and output data of the C-Module can be changed from the default settings (\C-Module\c_module\data)
by specifying -FP when executing the package from the CLI.
>run_cmodule -SC 1 -FP "\your_folderpath"

If executed from an IDE, a target folder can be specified in `default_parametres.py` using
`folderpath = "\your_folderpath"`.

When specifying a target folder, necessary input data from the GitHub repository will be automatically downloaded to ensure
the functionlity of the package. The provided path should match OS-specific requirements.

### Test suite and coverage report
The C-Module comes with a test suite to ensure its functionality and allow for continuous and safe development. The
test suite is triggered automatically in GitHub Actions when pushing or pulling into the main branch.
Expand Down Expand Up @@ -245,6 +255,7 @@ Basic module settings include:
| `hist_hwp_start_year_default` | Setting to control the reference year for the historical HWP pool. <br/>Used in combination with `hist_hwp_start_year`="default" | int | 2020 (start year) |
| `show_carbon_dashboard` | Setting to control if the dashboard for explorative result exploration is launched | Bool | True |
| `fao_data_update` | Setting to control if FAO data (FRA and FAOSTAT) is updated or not | Bool | False |
| `folderpath` | Setting to control the target folder for input and output data | None or str | None |

If the C-Module is used as an add-on to TiMBA, the start and end year parameters are automatically adjusted to match TiMBA's start and end years.
The C-Module is delivered with a set of default settings, which were tested and validated. The default settings can be changed when executing the
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "Carbon-Module"
version = "1.1.1"
version = "1.1.2"
authors = [{name = "Tomke Honkomp", email = "tomke.honkomp@thuenen.de"}]
description = "The C-Module tracks global carbon stocks and stock changes across pools of the forestry sector, displaying them interactively"
readme = "README.md"
Expand Down Expand Up @@ -43,7 +43,7 @@ classifiers = [
]

[project.urls]
Homepage = "https://placeholder.com"
Homepage = "https://github.com/TI-Forest-Sector-Modelling"
Documentation = "https://placeholder.com"
Repository = "https://github.com/TI-Forest-Sector-Modelling/C-Module"
Issues = "https://github.com/TI-Forest-Sector-Modelling/C-Module/issues"
Expand Down