An open API service indexing awesome lists of open source software.

https://github.com/sustentarea/brazil-historical-climate

🇧🇷🌥️ A Reproducible Pipeline for Processing WorldClim 2.1 Historical Monthly Climate Data in Brazil
https://github.com/sustentarea/brazil-historical-climate

brazil data-munging data-science historical-climate-data open-data open-science pipelines rstats spatial-data time-series worldclim

Last synced: 11 months ago
JSON representation

🇧🇷🌥️ A Reproducible Pipeline for Processing WorldClim 2.1 Historical Monthly Climate Data in Brazil

Awesome Lists containing this project

README

          

# brazil-historical-climate

[![Project Status: Inactive – The project has reached a stable, usable state but is no longer being actively developed; support/maintenance will be provided as time allows.](https://www.repostatus.org/badges/latest/inactive.svg)](https://www.repostatus.org/#inactive)
[![OSF DOI](https://img.shields.io/badge/OSF-10.17605/OSF.IO/2UD7C-1284C5.svg)](https://doi.org/10.17605/OSF.IO/2UD7C)
[![License: GPLv3](https://img.shields.io/badge/license-GPLv3-bd0000.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![License: CC0-1.0](https://img.shields.io/badge/license-CC0_1.0-lightgrey.svg)](http://creativecommons.org/publicdomain/zero/1.0/)

## Overview

This repository provides a fully reproducible pipeline for processing [WorldClim 2.1](https://www.worldclim.org/) [Historical Monthly Weather Data](https://www.worldclim.org/data/monthlywth.html) for Brazil using the [R programming language](https://www.r-project.org/).

You can access the pipeline [here](https://sustentarea.github.io/brazil-historical-climate/).

## Data Availability

[![OSF DOI](https://img.shields.io/badge/OSF-10.17605/OSF.IO/2UD7C-1284C5.svg)](https://doi.org/10.17605/OSF.IO/2UD7C)

The processed data are available in the `tif` format via a dedicated repository on the Open Science Framework ([OSF](https://osf.io/)), accessible [here](https://doi.org/10.17605/OSF.IO/2UD7C). You can also access these files directly from R using the [`osfr`](https://docs.ropensci.org/osfr/) package.

## How to Use

The pipeline is fully reproducible. It was developed using the [Quarto](https://quarto.org/) publishing system and the [R programming language](https://www.r-project.org/). To ensure consistent results, the [`renv`](https://rstudio.github.io/renv/) package is used to manage and restore the R environment.

After installing the three dependencies mentioned above, follow these steps to reproduce the analyses:

1. **Clone** this repository to your local machine.
2. **Open** the project in your preferred IDE.
3. **Restore the R environment** by running [`renv::restore()`](https://rstudio.github.io/renv/reference/restore.html) in the R console. This will install all required software dependencies.
4. **Open** `index.qmd` and run the code as described in the report.

## How to Cite

> [!IMPORTANT]
> When using this data, you must also cite the original data sources.

To cite this work, please use the following format:

Vartanian, D., & Carvalho, A. M. (2025). *A reproducible pipeline for processing WorldClim 2.1 Historical Monthly Weather Data in Brazil* \[Computer software\]. Sustentarea Research and Extension Group of the University of São Paulo.

A BibTeX entry for LaTeX users is

```
@misc{vartanian2025,
title = {A reproducible pipeline for processing WorldClim 2.1 Historical Monthly Weather Data in Brazil},
author = {{Daniel Vartanian} and {Aline Martins de Carvalho}},
year = {2025},
address = {São Paulo},
institution = {Sustentarea Research and Extension Group of the University of São Paulo},
langid = {en},
url = {https://sustentarea.github.io/brazil-historical-climate}
}
```

## License

[![License: GPLv3](https://img.shields.io/badge/license-GPLv3-bd0000.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![License: CC0-1.0](https://img.shields.io/badge/License-CC0_1.0-lightgrey.svg)](http://creativecommons.org/publicdomain/zero/1.0/)

> [!IMPORTANT]
> The original data sources may have their own license terms and conditions.

The code in this repository is licensed under the [GNU General Public License Version 3](https://www.gnu.org/licenses/gpl-3.0), while the report is available under the [Creative Commons CC0 License](https://creativecommons.org/public-domain/cc0/).

``` text
Copyright (C) 2025 Daniel Vartanian

The code in this repository 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 .
```

## Acknowledgments

















This work was developed with support from the
Sustentarea
Research and Extension Center of 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).