LogoClim
Allows researchers to integrate high-resolution climate data into agent-based models, supporting reproducible research in ecology, agriculture, environmental sciences, and other fields that rely on climate data.
https://github.com/sustentarea/logoclim
Category: Climate Change
Sub Category: Climate Data Access and Visualization
Keywords
agent-based-modeling climate-change climate-data-visualization cmip6 complex-systems complexity-science environmental-sciences future-climate-scenarios geospatial-analysis historical-climate-data levelspace logonia netlogo parallel-execution reproducible-research shared-socioeconomic-pathways simulations spatial-analysis time-series worldclim
Last synced: about 14 hours ago
JSON representation
Repository metadata
⛅ WorldClim in NetLogo
- Host: GitHub
- URL: https://github.com/sustentarea/logoclim
- Owner: sustentarea
- License: gpl-3.0
- Created: 2024-09-13T19:25:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-02-26T21:09:04.000Z (11 days ago)
- Last Synced: 2026-03-01T17:32:13.170Z (8 days ago)
- Topics: agent-based-modeling, climate-change, climate-data-visualization, cmip6, complex-systems, complexity-science, environmental-sciences, future-climate-scenarios, geospatial-analysis, historical-climate-data, levelspace, logonia, netlogo, parallel-execution, reproducible-research, shared-socioeconomic-pathways, simulations, spatial-analysis, time-series, worldclim
- Language: NetLogo
- Homepage: https://sustentarea.github.io/logoclim/
- Size: 207 MB
- Stars: 18
- Watchers: 1
- Forks: 0
- Open Issues: 4
- Releases: 8
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Security: SECURITY.md
- Codemeta: codemeta.json
README.md
LogoClim
Overview
LogoClim is a NetLogo model designed to
simulate and visualize global climate conditions. It allows researchers
to pull high-resolution climate data directly into agent-based models,
making it easier to study how climate variables interact with complex
systems over time.
Learn more about the model in the user
manual.
If you find this project useful, please consider giving it a star!
[!NOTE]
LogoClimis 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 withinLogoClimmust comply with WorldClim's licensing terms.
How It Works
LogoClim uses 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).
The model operates on a grid of patches, where each patch represents a
geographical area and stores values for latitude, longitude, and
selected climate variables. During the simulation, patches update their
colors based on the data values. The results can be visualized on a map,
accompanied by plots that display the mean, minimum, maximum, and
standard deviation of the selected variable over time.
All climate inputs come from WorldClim 2.1, a
widely used source of high-resolution climate datasets based on weather
station observations worldwide (Fick & Hijmans,
2017). These data series are offered
at various spatial resolutions, ranging from 10 minutes (~340 km² at the
equator) to 30 seconds (~1 km² at the equator), and can be chosen within
the model interface.
Historical Climate Data
This series includes
only 12 monthly data points representing long-term average climate
conditions for the period 1970-2000. It provides averages on minimum,
mean, and maximum temperature, precipitation, solar radiation, wind
speed, vapor pressure, elevation, and on bioclimatic
variables.
Historical Monthly Weather Data
This series includes
12 monthly data points for each year from 1951 to 2024, based on
downscaled data from
CRU-TS-4.09,
developed by the Climatic Research
Unit
at the University of East Anglia. It provides
monthly averages for minimum temperature, maximum temperature, and total
precipitation.
Future Climate Data
This series
includes 12 monthly data points from
downscaled climate
projections derived from
CMIP6 models for
four future periods: 2021-2040, 2041-2060, 2061-2080, and 2081-2100. The
projections cover four
SSPs:
126, 245, 370, and 585, with data available for average minimum
temperature, average maximum temperature, total precipitation, and
bioclimatic variables.
Learn more about the data series in the
WorldClim website.
Usage
To get started using LogoClim, you must have
NetLogo version 7 or later installed. The
NetLogo website provides easy installers for
Windows, macOS, and Linux, along with detailed instructions for
installation.
The model also depends on four NetLogo extensions:
GIS,
Pathdir,
String, and
Time. No manual installation is
required since they are automatically installed the first time the model
runs.
[!TIP]
Linux users can install NetLogo viaLogoPak, a Flatpak package that bundles all four NetLogo applications: NetLogo, NetLogo 3D, HubNet Client, and BehaviorSearch.
With NetLogo ready, follow these 5 steps to get LogoClim up and
running.
A. Downloading the Model
You can download the latest release of the model from the CoMSES
Network.
This is the recommended option for most users, as it provides a stable
version of the model that has been tested and documented.
For the development version, you can clone or download the model GitHub
code repository directly.
B. Opening the Model
After downloading and uncompressing the model files, open the
logoclim.nlogox file in NetLogo. You can find this file in the code
directory when using the CoMSES
Network
release or in the nlogox folder when using the development version.
C. Preparing the Data
The CoMSES Network
release
includes an example dataset that is ready to use with LogoClim. You
can use it as a starting point. But, ideally you should prepare your own
data to suit your research needs. The user
manual will guide you through
the process of downloading and preparing
WorldClim data for use with LogoClim.
We also provide other example datasets for testing and demonstration.
These files are available in the model’s OSF
repository and are ready to use
with LogoClim. Please note that these datasets are for demonstration
purposes only and are not be suitable for research applications. Always
verify the suitability of the data for your specific research questions
and objectives.
D. Running the Model
With files at hand, use the Select Data Directory button in the model
interface to specify their location. This will set the data-path
global variable to the correct path, allowing the model to access the
data. After that, you can configure the other parameters as needed and
start the simulation.
Once everything is set, click Setup and then Go buttons to start the
simulation. Learn more about the model interface and parameters in the
user
manual.
Note that the example dataset included in the CoMSES Network
release
is intentionally small to keep downloads fast and easy. The model’s
default configuration already points to this dataset, so you can simply
click Setup and then Go to run the model with it.
E. Integrating with Other Models
LogoClim was created to be integrated with other models using
NetLogo’s
LevelSpace
extension. This extension enables parallel execution and data exchange
between models. See the user
manual for
integration instructions.
To facilitate this integration, we created the
Logônia model, a fictional
plant-growth model providing a practical example of how to integrate
LogoClim with other models. It is also available on the CoMSES
Network
and its code repository is available on
GitHub.
User Manual
[!NOTE]
This section describes the technical setup required to render the user manual locally. You do not need any of this to simply useLogoClim.
LogoClim’s user manual is
developed using the latest versions of the Quarto
publishing system, the NetLogo environment,
and the R programming language. To ensure
consistent results, the renv
package is used to manage and restore the R environment.
To render the manual or reproduce its analyses locally, install the four
dependencies listed above and follow the steps below.
- Clone this repository to your local machine.
- Open the project in the terminal or in your preferred
IDE. - Install package dependencies by running
Rscript -e "renv::restore()"in the terminal or
renv::restore()
in an R console. Make sure R is installed and available in your
system’s PATH
before running this command. - Open the Quarto notebook files (
.qmd) and run the code as
described.
When running
renv::restore(),
check the output for any missing system dependencies like
GDAL. They are usually installed automatically via
your OS package manager, but if something fails, you may need to handle
them manually. See
render-manual.yaml for a list
of system dependencies required for your operating system.
We do not recommend using external environments such as
Anaconda, as these can cause issues with R
package installation and management. This project relies on several
system dependencies, all of which are automatically installed via the
Comprehensive R Archive Network (CRAN).
We recommend using the installers provided by the R
Project or the
rig installation manager from
r-lib when installing R. If your
IDE
lacks a built-in R console, consider installing
radian for a better experience.
Avoid using
VPNs, corporate
proxies, or other network-routing tools while processing the data, as
these can interfere with the downloads.
If you run into issues with renv
(it can be a bit of a
pain sometimes), you
can use
renv::deactivate(clean = TRUE)
to remove the environment completely. In that case, you will need to
install all required packages manually.
To render the entire manual, run the following command in the terminal:
quarto render --profile html
The rendering process may take some time depending on your machine. Once
complete, the Quarto book will be available in
the docs folder.
Contributing
Contributions are always welcome! Whether you want to report bugs,
suggest new features, or help improve the code or documentation, your
input makes a difference.
Before opening a new issue, please check the issues
tab to see if your
topic has already been reported.
You can also support the development of LogoClim by becoming a
sponsor.
Click here to make a
donation. Please mention LogoClim in your donation message.
Citation
[!NOTE]
When using WorldClim data, you must also cite the original data sources.The appropriate citation depends on the specific dataset utilized. Please refer to the WorldClim website for up-to-date citation guidelines and dataset references.
If you use this model in your research, please cite it to acknowledge
the effort invested in its development and maintenance. Your citation
helps support the ongoing improvement of the model.
To cite LogoClim in publications please use the following format:
Vartanian, D., Garcia, L., & Carvalho, A. M. (2026). LogoClim:
WorldClim in NetLogo [Computer software].
https://doi.org/10.17605/OSF.IO/EAPZU
A BibLaTeX entry for LaTeX users is:
@software{vartanian2026,
title = {LogoClim: WorldClim in NetLogo},
author = {{Daniel Vartanian} and {Leandro Garcia} and {Aline Martins de Carvalho}},
year = {2026},
doi = {10.17605/OSF.IO/EAPZU}
}
License
Copyright (C) 2026 Sustentarea Research and Extension Center
LogoClim is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program. If not, see <https://www.gnu.org/licenses/>.
Acknowledgments
We gratefully acknowledge Robert J.
Hijmans, Stephen E.
Fick, and the entire
WorldClim team for their outstanding work in
creating and maintaining the WorldClim datasets.
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.
We are grateful to the climate modeling groups for producing and sharing
their model outputs, the Earth System Grid Federation
(ESGF) for archiving and providing access to
the data, and the many funding agencies that support
CMIP6 and
ESGF.
Citation (CITATION.cff)
cff-version: 1.2.0
title: "LogoClim: WorldClim in NetLogo"
message: >-
If you use this software, please cite it using the metadata from this file.
type: software
authors:
- given-names: Daniel
family-names: Vartanian
email: danielvartan@proton.me
affiliation: University of São Paulo
orcid: https://orcid.org/0000-0001-7782-759X
- given-names: Leandro
family-names: Garcia
email: l.garcia@qub.ac.uk
affiliation: Queen's University Belfast
orcid: https://orcid.org/0000-0001-5947-2617
- given-names: Aline Martins
family-names: Carvalho
email: alinenutri@usp.br
affiliation: University of São Paulo
orcid: https://orcid.org/0000-0002-4900-5609
abstract: >-
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 sciences, and other fields that rely on climate
data.
keywords:
- Agent-Based Modeling
- Climate Change
- Climate Data Visualization
- Climate Projections
- Climate Simulations
- CMIP6
- Complex Systems
- Complexity Science
- Environmental Sciences
- Future Climate Scenarios
- Geospatial Analysis
- Historical Climate Data
- LevelSpace
- Logônia
- Models
- NetLogo
- Parallel Execution
- Raster Data
- Reproducible Research
- Shared Socioeconomic Pathways
- Simulations
- Spatial Analysis
- SSPs
- Time Series
- WorldClim
preferred-citation:
type: software
title: "LogoClim: WorldClim in NetLogo"
authors:
- given-names: Daniel
family-names: Vartanian
email: danielvartan@proton.me
affiliation: University of São Paulo
orcid: https://orcid.org/0000-0001-7782-759X
- given-names: Leandro
family-names: Garcia
email: l.garcia@qub.ac.uk
affiliation: Queen's University Belfast
orcid: https://orcid.org/0000-0001-5947-2617
- given-names: Aline Martins
family-names: Carvalho
email: alinenutri@usp.br
affiliation: University of São Paulo
orcid: https://orcid.org/0000-0002-4900-5609
doi: 10.17605/OSF.IO/EAPZU
identifiers:
- type: doi
value: 10.17605/OSF.IO/EAPZU
description: OSF Research Compendium
- type: url
value: https://github.com/danielvartan/logoclim
description: GitHub Code Repository
repository-code: https://github.com/sustentarea/logoclim
repository: https://doi.org/10.17605/OSF.IO/EAPZU
repository-artifact: https://doi.org/10.17605/OSF.IO/RE95Z
license: GPL-3.0-or-later
version: 2.1.0.9000
Owner metadata
- Name: Sustentarea
- Login: sustentarea
- Email: sustentarea@usp.br
- Kind: organization
- Description: Research and Extension Center at the University of São Paulo (USP)
- Website: https://www.fsp.usp.br/sustentarea
- Location: Brazil
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/171078414?v=4
- Repositories: 1
- Last ynced at: 2024-05-29T10:59:20.000Z
- Profile URL: https://github.com/sustentarea
GitHub Events
Total
- Release event: 4
- Member event: 1
- Pull request event: 1
- Issues event: 18
- Watch event: 12
- Issue comment event: 29
- Push event: 113
- Public event: 1
- Create event: 6
Last Year
- Release event: 4
- Member event: 1
- Pull request event: 1
- Issues event: 18
- Watch event: 12
- Issue comment event: 29
- Push event: 113
- Public event: 1
- Create event: 6
Committers metadata
Last synced: 6 days ago
Total Commits: 208
Total Committers: 2
Avg Commits per committer: 104.0
Development Distribution Score (DDS): 0.005
Commits in past year: 201
Committers in past year: 2
Avg Commits per committer in past year: 100.5
Development Distribution Score (DDS) in past year: 0.005
| Name | Commits | |
|---|---|---|
| Daniel Vartanian | d****n@p****e | 207 |
| Leandro Garcia | l****a@q****k | 1 |
Committer domains:
Issue and Pull Request metadata
Last synced: 8 days ago
Total issues: 15
Total pull requests: 1
Average time to close issues: 3 months
Average time to close pull requests: N/A
Total issue authors: 3
Total pull request authors: 1
Average comments per issue: 5.13
Average comments per pull request: 0.0
Merged pull request: 0
Bot issues: 0
Bot pull requests: 0
Past year issues: 15
Past year pull requests: 1
Past year average time to close issues: 3 months
Past year average time to close pull requests: N/A
Past year issue authors: 3
Past year pull request authors: 1
Past year average comments per issue: 5.13
Past year average comments per pull request: 0.0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- danielvartan (7)
- platipodium (5)
- jamesdamillington (3)
Top Pull Request Authors
- leandromtg (1)
Top Issue Labels
- enhancement (8)
- documentation (6)
Top Pull Request Labels
Dependencies
- actions/checkout v4 composite
- softprops/action-gh-release v2 composite
- actions/cache v4 composite
- actions/checkout v4 composite
- danielvartan/netlogo-actions/check-netlogo v1 composite
- danielvartan/netlogo-actions/setup-netlogo v1 composite
Score: 3.7841896339182615