Crop modeling frameworks interoperability through bidirectional source code transformation
Abstract
Recently, we proposed Crop2ML, an open-source modeling framework for exchanging and reusing crop model components between modeling platforms. Here, we present an approach based on reverse engineering to automatically extract and transform meta-information and algorithms of existing crop biophysical models into a platform-independent model component. A search algorithm using Crop2ML concepts, and a many-to-one transformation system were used for producing high-level models. The system consists of parsing the codebase of model components written in different languages using the ANother Tool for Language Recognition (ANTLR) parser generator and processing the generated syntax trees to produce various model implementations. The system was evaluated for three crop model components provided by the BioMA, 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 model components beyond programming languages.
Download full text in pdf format
Published as:
C. A. Midingoyi,
C. Pradal,
A. Enders,
D. Fumagalli,
P. Lecharpentier,
H. Raynal,
M. Donatelli,
D. Fanchini,
I. N. Athanasiadis,
C. Porter,
G. Hoogenboom,
F.A.A. Oliveira,
D. Holzworth,
P. Martre,
Crop modeling frameworks interoperability through bidirectional source code transformation,
Environmental Modelling & Software, 168:105790,
2023, doi:10.1016/j.envsoft.2023.105790.
You might also enjoy (View all publications)
- CY-Bench: A comprehensive benchmark dataset for sub-national crop yield forecasting
- Fully automatic extraction of morphological traits from the Web: utopia or reality?
- Transdisciplinary coordination is essential for advancing agricultural modeling with machine learning