LogoClim: WorldClim in NetLogo

Author

Daniel Vartanian, Leandro Garcia, & Aline M. de Carvalho

Published

2025-08-06

License: CC BY 4.0

Overview

This document is a mirror of a paper prepared for the Journal of Open Source Software (JOSS), describing the LogoClim model. The final version is available in the paper folder.

The paper starts here.

Summary

LogoClim is a NetLogo model for simulating and visualizing global climate conditions. It allows researchers to integrate high-resolution climate data into agent-based models, supporting reproducible research in ecology, agriculture, environmental science, and other fields that rely on climate data integration.

The model utilizes raster data to represent climate variables such as temperature and precipitation over time. It incorporates historical data (1951-2024) and future climate projections (2021-2100) derived from global climate models under various Shared Socioeconomic Pathways (SSPs) (O’Neill et al., 2017). All climate inputs come from WorldClim 2.1, a widely used source of high-resolution, interpolated climate datasets based on weather station observations worldwide (Fick & Hijmans, 2017), available for academic and other non-commercial use.

LogoClim follows the FAIR Principles for Research Software (Barker et al., 2022) and is openly available on the CoMSES Network and GitHub. Figure 1 and Figure 2 illustrate the model’s interface and functionality.

Figure 1: LogoClim Graphical User Interface — Brazil.

Statement of need

The lack of reproducibility is a major concern in science (Baker, 2016), including in computational research (Peng, 2011). This challenge is particularly relevant for agent-based models, which are used to simulate complex phenomena (Grimm et al., 2006, 2020). One effective strategy to address this issue is the development of open, specialized tools that enhance transparency and promote standardization, and reusability among researchers (Barba, 2022; Ram et al., 2019). This is why LogoClim was created.

The LogoClim model was developed for seamless integration with other models through NetLogo’s LevelSpace extension (Hjorth et al., 2020), which enables parallel execution and data exchange between models. This integration capability makes it particularly valuable for agent-based simulations that incorporate climate data to study ecological, environmental, or social processes affected by climate conditions.

Motivation

The model was originally developed as part of a project by the Sustentarea Research and Extension Center, aimed at evaluating the impact of climate change on the health and nutrition of Brazilian children under five years old (Carvalho et al., 2023). During development, however, we recognized that the model had broader potential beyond the scope of our study. LogoClim can now be used as a submodel within agent-based models designed to help researchers, policymakers, and practitioners explore the potential impacts of climate change across different contexts and geographical areas.

How it works

LogoClim operates on a grid of patches, with each patch representing a geographic area and storing values for latitude, longitude, and selected climate variables. During simulation, patches update their colors based on the underlying data, enabling users to visualize spatial and temporal changes. The model interface also provides plots showing the mean, minimum, maximum, and standard deviation of the selected variable over time.

The model supports all three climate data series from WorldClim 2.1: long-term historical climate averages (1970–2000), historical monthly weather (1951–2024), and future climate projections (2021–2100). Each series is available at multiple spatial resolutions (from 10 minutes (~340 km² at the equator) to 30 seconds (~1 km² at the equator)), which can be selected within the model interface. Further details about each series are available on the WorldClim website.

The datasets are available for download from WorldClim 2.1, but must be converted to ASCII format for compatibility with NetLogo. To simplify this workflow, we provide Quarto notebooks with reproducible pipelines for downloading and processing the data. These notebooks can be customized to meet specific research needs.

We also provide example datasets for testing and demonstration. These files are available in the model’s OSF repository and are ready to use with LogoClim.

Figure 2: LogoClim Graphical User Interface — United Kingdom.

Acknowledgements

We gratefully acknowledge Stephen E. Fick, Robert J. Hijmans, and the entire WorldClim team for their outstanding work in creating and maintaining the WorldClim datasets, which form the foundation of this project.

We thank the Climatic Research Unit at the University of East Anglia and the United Kingdom’s Met Office for developing and providing access to the CRU-TS-4.09 dataset, a vital source of historical climate data.

We also acknowledge the World Climate Research Programme (WCRP), its Working Group on Coupled Modelling, and the Coupled Model Intercomparison Project Phase 6 (CMIP6) for coordinating and advancing global climate model development.

Finally, we acknowledge the Sustentarea Research and Extension Center at the University of São Paulo (USP), the Department of Science and Technology of the Secretariat of Science, Technology, and Innovation and of the Health Economic-Industrial Complex (SECTICS) of the Ministry of Health of Brazil, and the National Council for Scientific and Technological Development (CNPq) (grant no. 444588/2023-0) for their support in the development of this project.

Author contributions

The roles below were defined based on the Contributor Roles Taxonomy (CRediT).

Daniel Vartanian: Conceptualization, Data curation, Methodology, Project administration, Software, Validation, Visualization, Writing – original draft, and Writing – Review & editing.

Leandro Garcia: Validation, Writing – original draft, and Writing - Review & editing.

Aline Martins de Carvalho: Conceptualization, Funding acquisition, Project administration, Supervision, Validation, Writing – original draft, and Writing – Review & editing.

Additional information

LogoClim is an independent project with no affiliation to WorldClim or its developers. Users should be aware that WorldClim datasets are freely available for academic and other non-commercial use only. Any use of WorldClim data within LogoClim must comply with WorldClim’s licensing terms.

The paper ends here.

How to cite

To cite this paper in publications please use the following format:

Vartanian, D., Garcia, L., & Carvalho, A. M. (2025). LogoClim: WorldClim in NetLogo [Report]. Sustentarea Research and Extension Group at the University of São Paulo. https://sustentarea.github.io/logoclim-article

A BibTeX entry for LaTeX users is

@techreport{vartanian2025,
  title = {LogoClim: WorldClim in NetLogo},
  author = {{Daniel Vartanian} and {Leandro Garcia} and {Aline Martins de Carvalho}},
  year = {2025},
  address = {São Paulo},
  institution = {Sustentarea Research and Extension Group at the University of São Paulo},
  langid = {en},
  url = {https://sustentarea.github.io/logoclim-article}
}

License

License: CC BY 4.0

This document is licensed under the Creative Commons Attribution 4.0 International License. This means you can share and adapt the material for any purpose, even commercially, as long as you give appropriate credit, provide a link to the license, and indicate if changes were made.

Acknowledgements

This work was developed with support from the Sustentarea Research and Extension Center at the University of São Paulo (USP).

This work was supported by the Department of Science and Technology of the Secretariat of Science, Technology, and Innovation and of the Health Economic-Industrial Complex (SECTICS) of the Ministry of Health of Brazil, and the National Council for Scientific and Technological Development (CNPq) (grant no. 444588/2023-0)

References

Baker, M. (2016). 1,500 scientists lift the lid on reproducibility. Nature, 533(7604), 452–454. https://doi.org/10.1038/533452a
Barba, L. A. (2022). Defining the role of open source software in research reproducibility. Computer, 55(8), 40–48. https://doi.org/10.1109/MC.2022.3177133
Barker, M., Chue Hong, N. P., Katz, D. S., Lamprecht, A.-L., Martinez-Ortiz, C., Psomopoulos, F., Harrow, J., Castro, L. J., Gruenpeter, M., Martinez, P. A., & Honeyman, T. (2022). Introducing the FAIR Principles for research software. Scientific Data, 9(1), 622. https://doi.org/10.1038/s41597-022-01710-x
Carvalho, A. M. de, Klapka, C. S., Magalhães, A. R., Barbosa, B. B., Vartanian, D., & Pereira, E. B. (2023). Global syndemic: The impact of anthropogenic climate change on the health and nutrition of children under five years old attended by Brazil’s public health system (SUS) [Data set]. https://doi.org/10.17605/OSF.IO/8W36C
Fick, S. E., & Hijmans, R. J. (2017). WorldClim 2: New 1-km spatial resolution climate surfaces for global land areas. International Journal of Climatology, 37(12), 4302–4315. https://doi.org/10.1002/joc.5086
Grimm, V., Berger, U., Bastiansen, F., Eliassen, S., Ginot, V., Giske, J., Goss-Custard, J., Grand, T., Heinz, S. K., Huse, G., Huth, A., Jepsen, J. U., Jørgensen, C., Mooij, W. M., Müller, B., Pe’er, G., Piou, C., Railsback, S. F., Robbins, A. M., … DeAngelis, D. L. (2006). A standard protocol for describing individual-based and agent-based models. Ecological Modelling, 198(1), 115–126. https://doi.org/10.1016/j.ecolmodel.2006.04.023
Grimm, V., Railsback, S. F., Vincenot, C. E., Berger, U., Gallagher, C., DeAngelis, D. L., Edmonds, B., Ge, J., Giske, J., Groeneveld, J., Johnston, A. S. A., Milles, A., Nabe-Nielsen, J., Polhill, J. G., Radchuk, V., Rohwäder, M.-S., Stillman, R. A., Thiele, J. C., & Ayllón, D. (2020). The ODD protocol for describing agent-based and other simulation models: A second update to improve clarity, replication, and structural realism. Journal of Artificial Societies and Social Simulation, 23(2), 7. https://doi.org/10.18564/jasss.4259
Hjorth, A., Head, B., Brady, C., & Wilensky, U. (2020). LevelSpace: A NetLogo extension for multi-level agent-based modeling. Journal of Artificial Societies and Social Simulation, 23(1), 4. https://doi.org/10.18564/jasss.4130
O’Neill, B. C., Kriegler, E., Ebi, K. L., Kemp-Benedict, E., Riahi, K., Rothman, D. S., van Ruijven, B. J., van Vuuren, D. P., Birkmann, J., Kok, K., Levy, M., & Solecki, W. (2017). The roads ahead: Narratives for shared socioeconomic pathways describing world futures in the 21st century. Global Environmental Change, 42, 169–180. https://doi.org/10.1016/j.gloenvcha.2015.01.004
Peng, R. D. (2011). Reproducible research in computational science. Science, 334(6060), 1226–1227. https://doi.org/10.1126/science.1213847
Ram, K., Boettiger, C., Chamberlain, S., Ross, N., Salmon, M., & Butland, S. (2019). A community of practice around peer review for long-term research software sustainability. Computing in Science & Engineering, 21(2), 59–65. https://doi.org/10.1109/MCSE.2018.2882753