Scientific modelling can be accessible, interoperable and user friendly: A case study for pasture and livestock modelling in Spain
View/ Open
Date
2023Author
Torres, A.M.
Balbi, S.
Villa, F.
Metadata
Show full item record
PLoS ONE: 18 (2 February) (2023)
Abstract
This article describes the adaptation of a non-spatial model of pastureland dynamics, including vegetation life cycle, livestock management and nitrogen cycle, for use in a spatially explicit and modular modelling platform (k.LAB) dedicated to make data and models more interoperable. The aim is to showcase to the social-ecological modelling community the delivery of an existing, monolithic model, into a more modular, transparent and accessible approach to potential end users, regional managers, farmers and other stakeholders. This also allows better usability and adaptability of the model beyond its originally intended geographical scope (the Cantabrian Region in the North of Spain). The original code base (written in R in 1,491 lines of code divided into 13 files) combines several algorithms drawn from the literature in an opaque fashion due to lack of modularity, non-semantic variable naming and implicit assumptions. The spatiotemporal rewrite is structured around a set of 10 namespaces called PaL (Pasture and Livestock), which includes 198 interoperable and independent models. The end user chooses the spatial and temporal context of the analysis through an intuitive web-based user interface called k.Explorer. Each model can be called individually or in conjunction with the others, by querying any PaL-related concepts in a search bar. A scientific dataflow and a provenance diagram are produced in conjunction with the model results for full transparency. We argue that this work demonstrates key steps needed to create more Findable, Accessible, Interoperable and Reusable (FAIR) models beyond the selected example. This is particularly essential in environments as complex as agricultural systems, where multidisciplinary knowledge needs to be integrated across diverse spatial and temporal scales in order to understand complex and changing problems. © 2023 Marquez Torres et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.