Published May 29, 2023
| Version v1.2.0
Software
Open
PyCrop2ML : Python library to exchange and reuse crop model compponents between languages and platforms
Authors/Creators
- 1. CIRAD
- 2. Institute of Crop Science and Resource Conservation (INRES), University of Bonn, Bonn, Germany,
- 3. Institute for Environment and Sustainability
- 4. INRAE
- 5. CREAA
- 6. Wageningen University, Wageningen, The Netherlands
- 7. Agricultural & Biological Engineering, University of Florida, Gainesville, USA
- 8. CSIRO Agriculture and Food, Toowoomba, Australia
Description
The increasing impact of climate change and variability on food security and agriculture, and the need for agroecological transition require improving the performance of crop simulation models and to model new biophysical processes to tackle new challenges. Recently, the Agricultural Models Exchange Initiative (AMEI) proposed Crop2ML, an open-source modeling framework for exchanging and reusing crop model components between modeling platforms. This framework provides a unified description of model components at a high level of abstraction based on shared concepts, lifting constraints of modeling platforms through an automatic system that transforms high-level models into platform-compliant components. This paper presents an approach based on reverse engineering to automatically extract and transform meta-information and algorithms of existing crop model processes into a platform-independent model component. A search algorithm using Crop2ML concepts, and a many-to-one transformation system was adopted as the main reverse engineering techniques to produce high-level models. The system consists in parsing the codebase of model components from different high-level languages (Python, R, Java, C++, C#, and Fortran) using the ANother Tool for Language Recognition (ANTLR) parser generator and processing the generated syntax trees to produce the various model implementations. It is implemented and evaluated on three crop model components: an energy balance model provided by BioMA platform and two soil temperature models provided by SIMPLACE and DSSAT platforms. We demonstrated the extensibility of our approach with the STICS, OpenAlea, and SiriusQuality modeling platforms. CyMLTx is a significant contribution towards the interoperability of crop modeling platforms and the reuse of crop model components beyond programming languages. It will thus contribute to foster model intercomparison and improvement activities.
Notes
Files
AgriculturalModelExchangeInitiative/PyCrop2ML-v1.2.0.zip
Files
(3.8 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:6b0d7cb8305eacf591001c33c9cc3896
|
3.8 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/AgriculturalModelExchangeInitiative/PyCrop2ML/tree/v1.2.0 (URL)