Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    11 of 31 committers (35.5%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: Plant-Root-Soil-Interactions-Modelling
  • License: gpl-3.0
  • Language: Python
  • Default Branch: master
  • Size: 1.33 GB
Statistics
  • Stars: 59
  • Watchers: 8
  • Forks: 22
  • Open Issues: 5
  • Releases: 6
Created about 9 years ago · Last pushed 11 months ago
Metadata Files
Readme License

README.md

drawing

Introduction

CPlantBox is a functional-structural plant model that is built in a modular way that can be used at several levels of complexity. CPlantBox describes the geometry of plants by their individual organs, such as roots, stems, and leaves, which evolve over time. It can model functional aspects such as water and carbon dynamics within the plant, and provides gerneral tools to build plant soil-interaction models. To solve partial differential equations CPlantBox can use the finite volume solver DuMux and offers simplified Python interfaces in the repository dumux-rosi.

Installation

Linux - with Python script

This installation method requires Ubuntu >= 20.04 and Python >= 3.7. For CPlantBox without dumux-rosi, download the Python file "installCPlantBox.py", and run it: bash sudo apt-get update sudo apt-get upgrade [ ! -d 'cpbenv' ] && python3 -m venv cpbenv && source cpbenv/bin/activate || source cpbenv/bin/activate wget https://raw.githubusercontent.com/Plant-Root-Soil-Interactions-Modelling/CPlantBox/master/installCPlantBox.py python3 installCPlantBox.py For CPlantBox with dumux-rosi, download and run the Python file "installDumuxRosiUbuntu.py" (the file is based on the DuMu$^x$ installation file). ```bash sudo apt-get update sudo apt-get upgrade [ ! -d 'cpbenv' ] && python3 -m venv cpbenv && source cpbenv/bin/activate || source cpbenv/bin/activate wget https://raw.githubusercontent.com/Plant-Root-Soil-Interactions-Modelling/CPlantBox/master/installDumuxRosiUbuntu.py python3 installDumuxRosi_Ubuntu.py The script will install DuMu<sup>x</sup> and CPlantBox, and CPlantBox is setup within the virtual environment 'cpbenv'. Activate the 'cpbenv' environment when using CPlantBox: bash source cpbenv/bin/activate ``` The scripts might work on other Linux OS but has not been tested.

Linux - with conda environment

This installation method uses conda to setup the building environment for CPlantBox. It'll pull the packages from the conda-forge channel to avoid licensing restrictions from default channels. For more info on conda restrictions, check this article

  1. Clone the repository:

bash git clone --depth 1 -b master https://github.com/Plant-Root-Soil-Interactions-Modelling/CPlantBox.git

  1. Create the conda environment and build CPlantBox:

bash cd CPlantBox conda env create -f environment.yml conda activate cpb git submodule update --init --recursive cmake . make

  1. Test the installation by running a tutorial example, e.g.:

bash cd tutorial/examples/ python example1a_small.py

Linux - manual installation

Clone the repository by running bash git clone --depth 1 -b master https://github.com/Plant-Root-Soil-Interactions-Modelling/CPlantBox.git and use CMake to configure and compile the CPlantBox libraries bash cmake . && make To test the installation run a tutorial example, e.g bash cd tutorial/examples/python python3 example1a.py Dependecies are listed in the requirements.txt file.

Windows

CPlantBox is currently not available on windows. Some pointers to setup a Linux environment on windows are given on the wiki.

Installation on the JSC agrocluster

Please refer to the wiki

Folder sructure

/modelparameter Plant parameter files\ /src CPlantBox C++ codes\ /test Python tests for all CPlantBox classes\ /tutorial learn to use CPlantBox\ /experimental Specific applications (in sub-folders). contrary to scripts in /tutorial, might not be kept up to date

Code documentation

Create the documentation by running doxygen in the docs/ folder bash doxygen doxy_config The documentation will be created in this folder. Compile doc/latex/refman.tex to generate the full doxygen documentation in doc/latex/refman.pdf. Additionally, collaboration diagrams give an overview of the code in folder /docs.

Online resources

WebApps

The official CPlantBox webapp helps to demonstrate the impact of various CPlantBox parameters and to analyse and explore the resulting 3D plant geometry.

Another web application was designed to conduct simulations and visualize the dynamics of plant growth. The source code is avialable at github-xiaoranzhou.

Jupyter notebooks

  1. Structure definition and analysis
  2. Water flow in CPlantBox

Videos

Simulation videos availabe in Youtube channel.

Owner

  • Name: Plant-Root-Soil-Interactions-Modelling
  • Login: Plant-Root-Soil-Interactions-Modelling
  • Kind: organization

GitHub Events

Total
  • Create event: 76
  • Release event: 2
  • Issues event: 4
  • Watch event: 10
  • Delete event: 59
  • Member event: 1
  • Issue comment event: 10
  • Push event: 350
  • Gollum event: 1
  • Pull request review event: 1
  • Pull request event: 111
  • Fork event: 3
Last Year
  • Create event: 76
  • Release event: 2
  • Issues event: 4
  • Watch event: 10
  • Delete event: 59
  • Member event: 1
  • Issue comment event: 10
  • Push event: 350
  • Gollum event: 1
  • Pull request review event: 1
  • Pull request event: 111
  • Fork event: 3

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 1,757
  • Total Committers: 31
  • Avg Commits per committer: 56.677
  • Development Distribution Score (DDS): 0.772
Past Year
  • Commits: 386
  • Committers: 15
  • Avg Commits per committer: 25.733
  • Development Distribution Score (DDS): 0.513
Top Committers
Name Email Commits
Daniel Leitner d****r@s****t 401
xiaoranzhou z****r@g****m 338
Daniel Leitner d****r@f****e 274
m-giraud 7****d@u****m 247
m-giraud m****d@f****e 196
Daniel Leitner d****r@u****t 121
Andrea Schnepf a****f@f****e 47
magdalena m****l@f****e 33
annasheck a****k@o****m 24
Andrea Schnepf a****f@i****e 12
Guillaume Lobet g****t@g****m 7
Murilo Vianna m****a@f****e 7
deepanshukhare d****e@l****m 7
JuanCBaca 1****a@u****m 6
TobiasSelzner s****z@u****e 5
Arnaud Bouvry a****y@u****e 4
Dirk Helmrich d****h@f****e 4
hpagel h****l@f****e 4
Murilo Vianna m****v@g****m 3
t-selzner k****s@g****m 3
Sibghat Ullah s****t@g****m 3
VincentVerbeke 8****e@u****m 2
Adrien Heymans a****s@u****e 1
Anna Sophia Heck a****k@i****e 1
Deepanshu Khare d****e@f****e 1
Dirk Baker d****2@h****s 1
Dirk Helmrich d****h@a****e 1
HeymansAdrien 3****n@u****m 1
Mona Giraud g****1@j****s 1
ThomasFeron 3****n@u****m 1
and 1 more...

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 13
  • Total pull requests: 241
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 3 days
  • Total issue authors: 10
  • Total pull request authors: 11
  • Average comments per issue: 1.69
  • Average comments per pull request: 0.09
  • Merged pull requests: 181
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 119
  • Average time to close issues: about 1 month
  • Average time to close pull requests: about 15 hours
  • Issue authors: 1
  • Pull request authors: 9
  • Average comments per issue: 2.0
  • Average comments per pull request: 0.03
  • Merged pull requests: 97
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ArnaudBvr (2)
  • rarygit (2)
  • noemiversluijs (2)
  • andrewfullard (1)
  • capsulecorplab (1)
  • Chiaki59 (1)
  • m-ingenbleek (1)
  • dhelmrich (1)
  • nana784365 (1)
  • Murilodsv (1)
Pull Request Authors
  • m-giraud (189)
  • MagdaLa (12)
  • DanielLeitner (12)
  • JuanCBaca (9)
  • annasheck (8)
  • t-selzner (3)
  • Murilodsv (3)
  • dhelmrich (2)
  • m-weigand (1)
  • HolgerPagel (1)
  • ArnaudBvr (1)
Top Labels
Issue Labels
bug (1) help wanted (1)
Pull Request Labels

Dependencies

requirements.txt pypi
  • ipython ==8.18.1
  • matplotlib ==3.8.2
  • matplotlib-inline ==0.1.6
  • mpi4py ==3.1.5
  • numpy ==1.26.2
  • pandas ==2.1.4
  • pybind11 ==2.11.1
  • pybind11-global ==2.11.1
  • scipy ==1.11.4
  • vtk ==9.3.0
.github/workflows/testing.yml actions
  • actions/checkout v4 composite
environment.yml conda
  • cmake 3.28.3
  • gcc
  • git
  • mpi4py
  • pip
  • pkg-config
  • python 3.11.*
  • wget