Giter VIP home page Giter VIP logo

lgrass's Introduction

License

Documentation Status

L-Grass

L-Grass is a Functional Structural Plant Model (FSPM) of perennial rye grass morphogenesis and phenology.

L-Grass simulates:

  • Above-ground 3D architecture and morphogenesis (leaf extension, growth and tillering) as a self-regulated system. See Verdenal et al. (2008).
  • Morphogenesis of the root system in 3D. The model is inspired from ArchiSimple model and accounts for C partioning between shoot and roots. See [Migault thesis (2015)] (https://hal.inrae.fr/tel-02799991)
  • Floral transition of individual apex and heading of the spike according to temperature, photoperiod and vegetative morphogenesis. See Rouet et al. (2022).

Table of Contents

Installation

Lgrass has been tested on Windows 10 64 bit. Lgrass was iniatially implemented in Python 2.7 and is now under Python 3.

Prerequisites

Lgrass has the following dependencies (see documentation in the links provided, instructions for their installation are given in Installing):

Installing

Lgrass has to be installed in a conda environment containing all dependencies.

  • Install Miniconda 2 or 3 for Python 3.7: https://docs.conda.io/en/latest/miniconda.html
  • Create a new environment in an Anaconda prompt: conda create -n Lgrass python=3.7 openalea.mtg openalea.plantgl openalea.lpy alinea.caribu ephem geopy xlrd -c conda-forge -c fredboudon

Users

Developers

  • Fork Lgrass repository in your own account
  • Clone your fork with git : git clone https://github.com/my_account/lgrass.git
  • Open an Anaconda promt in your cloned copy of Lgrass,
  • Activate the conda environment: conda activate Lgrass
  • Run command: python setup.py develop --user

Updating submodules

If you want to update Lgrass:

git pull origin/master

Usage

  • For a basic usage of Lgrass, go to lgrass/lgrass and open lgrass.lpy with the Lpy software which was installed in your conda environment. Then click on Run
  • For external call of lgrass, examples are provided in lgrass/example

The version of lgrass integrating the flowering stages (Lgrass-F) is available in:

  • lgrass/example/calibration_GEVES_2021

calibration_GEVES_2021

This example deals with the implementation of the reproductive development in the model and its calibration by Rouet et coll. This work led to the research article Rouet et al. (2022). Results were obtained from the tag paper_ISPLANTS_2022. To run the model used for the paper, please download the code archives at DOI

Credits

Authors

  • Alban VERDENAL - model designing, development and validation
  • Vincent MIGAULT - model designing, development and validation
  • Simon ROUET - model designing, development and validation - SimonRouet
  • Abraham ESCOBAR-GUTIERREZ - model designing and validation, scientific project management
  • Didier COMBES - model designing, development and validation, scientific project management - dicombes

Contributors

Funding

  • INRAE: salaries of permanent staff
  • itk company and ANRT: funded the Cifre PhD thesis of V. Migault
  • Région Nouvelle-Aquitaine: funding of PhD thesis of S. Rouet to be continued...

License

This project is licensed under the CeCILL-C License - see file LICENSE for details

lgrass's People

Contributors

dicombes avatar rbarillot avatar simonrouet avatar traquet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

lgrass's Issues

Dormancy ApexTal

ApexTal modules are removed after canopy closure although they could probably grow later on the season or after cutting

Option senescence

Option senescence not taking into account even if = False.
Todo: add a test in the production rule au leaf, same for interpretation
Computation of 'Agesenesc' of homogeneous with that of the production rules
@SimonRouet : didn't we fix this issue somewhere?

In codecs.py: 'utf-8' codec can't decode.

When I run: lpy lgrass.lpy, errors happened.

codecs.py:322:UnicodeDecodeError:'utf-8' codec can't decode byte 0xb0 in position 62805: invalid start byte

I guess is because of the encoding of input files so I changed all the file in "~/lgrass-master/lgrass/inputs/" to UTF-8 but did not work.

Planteur

  • genotype id is attributed according to the plant position (1 geno per row)

  • Bug with 3 plants: the array has only 2 rows and 1 column

  • Bug with odd numbers of plants: a cell will be empty in the array
    For instance for 5 plants: array with 6 cells (3 rows * 2 columns)

Todo: add a correct 'planteur' function

Identifiant génotype

@SimonRouet

  • For leaves, there are 2 variables for describing the genotype : id_geno et geno
    Todo: only use one

  • For the 1st created leaf: attribute a genotype arg to the leaf also

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.