Publications des agents du Cirad


Toward virtual modelling environments using notebooks for phenotyping and simulation of plant development

Boudon F., Vaillant J., Pradal C.. 2020. In : Kahlen Katrin (ed.), Chen Tsu-Wei (ed.), Fricke Andreas (ed.), Stützel Hartmut (ed.). Book of Abstracts of the 9th International Conference on Functional-Structural Plant Models:. Hanovre : Institute of Horticultural Production Systems, p. 99-100. International Conference on Functional-Structural Plant Models (FSPM 2020), 2020-10-05/2020-10-09, (Allemagne).

Introduction - Functional-Structural Plant Models give new opportunities to understand plant growth and interaction with their environment. In the last decade, dedicated modelling platforms allowed the creation of a multitude of models, built upon series of dedicated tools for the representation, acquisition, analysis and simulation of plant growth and functioning. Such integrative platforms usually relied on software modules built using multiple computer languages or formalisms. While some efforts have been made for the distribution of these tools over multiple operating systems, the resulting models were usually poorly documented and organized. Models were either created as scripts or scientific workflows. The visual representation of workflows gives an overview of the modelled processes. However, their reuse by non-experts was usually limited to the modification of parameters. Reproducibility was also limited due to deployment and installation complexity on new computers with different configurations. Until recently, no cross-platform packaging suite was robust enough to manage modules built with multiple languages. In a new initiative to alleviate these problems, we explored, in the context of the OpenAlea platform (Pradal et al., 2008), the use of the Jupyter framework (Kluyver et al., 2016) to create virtual research environments for plant modelling. Material and Methods ¿ Our approach is based on Jupyter Notebooks, an increasingly popular web-based interactive computational application. Notebooks allow to formalize modelling scenarios as ¿computational narrative¿ (Perkel, 2018) by combining code with clear documentation based on the markdown language that includes illustration and mathematical formula rendering capability. Users can customize the narratives by editing cells of code and execute these cells in any order to refine operations. Notebooks can combine different modelling languages such as Python, R or Julia. Jupyter, combined with web deployment services such as Binder or Google Colaboratory, allow users to manipulate modelling narratives within web browsers while executing them on the cloud. To ease cloud deployment, OpenAlea packages are built and distributed from the Conda management system over multiple platforms. This allows building deployable virtual environments from docker images. Continuous integration services, based on Travis-CI and AppVeyor, deliver new releases on code update after automatic compilation and tests. Jupyter Notebooks have been extended to allow interaction with FSPMs. Using this approach, computational narratives for plant modelling can be formalized as notebooks and can be re-executed with an up-to-date virtual research environment by the community. Results - Illustration of this approach will be presented on two modelling pipelines. First, we developed a software pipeline to characterize apple tree architecture from point clouds acquired using terrestrial laser scanner. For this, architectural traits of each tree were extracted from their scan and their heritability was then assessed. This example illustrates standard pipelines where analyses are combined and applied on a large dataset. Scalability can be achieved using distributed computation on the cloud (Heidsieck et al., 2019). For the second illustration, we integrate L-Py, a L-systems simulation package, into Jupyter Notebooks. By providing specific widgets, different steps of the simulation can be computed and the resulting 3D structures and associated properties can be iteratively visualized and analysed. 3D visualization of complex vegetal structures through client-server protocol was an important challenge. We developed optimized methods that minimize the size of data to exchange and allow interactive visualization of complex scenes. During the design stage, interaction and responsiveness are of main importance when exploring model parameters space. For this, graphical controls are generated within notebooks to allow...

Documents associés

Communication de congrès

Agents Cirad, auteurs de cette publication :