LogoClim: WorldClim in NetLogo 2.1.0
LogoClim is a NetLogo model designed to be integrated into other simulations through the LevelSpace extension (Hjorth et al., 2020), providing high resolution climate data from sources validated and used by the Intergovernmental Panel on Climate Change (IPCC).
The model simplifies and standardizes the integration of climate data into NetLogo, allowing researchers to focus their efforts on the model itself with the assurance of using reliable and widely recognized data. Although its main use is as a component of larger simulations, LogoClim also has its own graphical interface for monitoring and checking the datasets.
The climate data comes from the WorldClim 2.1 project (Fick & Hijmans, 2017), for which LogoClim works as an interface to NetLogo. The model supports all three WorldClim data series: (1) Historical Climate Data (1970 to 2000), with 12 monthly points for minimum, mean, and maximum temperature, precipitation, solar radiation, wind speed, vapor pressure, elevation, and bioclimatic variables; (2) Historical Monthly Weather Data (1951 to 2024), based on downscaling of CRU-TS-4.09, developed by the Climatic Research Unit at the University of East Anglia (Harris et al., 2020), with minimum and maximum temperature and total precipitation; and (3) Future Climate Data, based on downscaling climate projections derived from global climate models of the Coupled Model Intercomparison Project Phase 6 (CMIP6) (Eyring et al., 2016) for four future periods (2021 to 2040, 2041 to 2060, 2061 to 2080, and 2081 to 2100) and four scenarios based on the Shared Socioeconomic Pathways (SSPs 126, 245, 370, and 585), covering minimum and maximum temperature, total precipitation, and bioclimatic variables. All series are available at multiple spatial resolutions, from 10 minutes (about 340 km² at the equator) to 30 seconds (about 1 km² at the equator).
The model was developed according to the FAIR principles for research software (Barker et al., 2022). It has extensive documentation and is published on GitHub and on the CoMSES Network. It recently passed a peer review for the Journal of Open Source Software (JOSS), documented in this review thread, which confirmed its technical quality, accuracy, and adherence to best practices in scientific software development.
For a deep look into the model’s structure and implementation, see the user manual.
Release Notes
Added
- A
#headless?parameter to thesetupprocedure for improved headless execution. - Two additional patch attributes:
value-12(last 12 months of values) andvalue-12ma(12-month moving average). - A 12-month moving average pen to plots, along with indicators for the start of each 12-month cycle. The y-axis now dynamically adjusts based on the minimum, maximum, and interquartile range of the 12-month data window.
- The
Logôniamodel as a reference forLogoClimintegration.
Changed
- The
#tickand#waitparameters were removed from thegoprocedure; it now has no parameters, simplifying execution. - The
go-backprocedure now resets ticks and clears all plots. - String parameters and interface text were converted to title case.
- The
show-valueprocedure was improved to provide better contrast for patch labels. - The
haltprocedure was removed; error messages now provide more descriptive text. - Quarto notebooks were updated.
- Documentation updated to reflect all changes.
Fixed
NaNvalues produced by the GIS extension are now converted tofalse, following Seth Tisue’s suggestion. This fixes problems with primitives such asexport-worldandimport-world(see GIS Known Issues).