gaia

gaia: An R package to estimate crop yield responses to temperature and precipitation - Published in JOSS (2025)

https://github.com/jgcri/gaia

Science Score: 100.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 8 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org
  • Academic email domains
  • Institutional organization owner
    Organization jgcri has institutional domain (www.pnnl.gov)
  • JOSS paper metadata
    Published in Journal of Open Source Software

Scientific Fields

Engineering Computer Science - 60% confidence
Last synced: 6 months ago · JSON representation ·

Repository

gaia is an empirical econometric model designed to estimate annual crop yield responses to climate impacts.

Basic Info
Statistics
  • Stars: 2
  • Watchers: 3
  • Forks: 1
  • Open Issues: 0
  • Releases: 3
Created over 2 years ago · Last pushed 7 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation Support

README.md

R-CMD-check test-coverage codecov docs DOI <!-- badges: end -->

Introduction

gaia is an open-source R package designed to estimate crop yield shocks in response to annual temperature and precipitation variations and CO2 concentrations at the country scale for 12 major crops. gaia streamlines the workflow from raw climate data processing to the production of different forms of yield shocks, such as agricultural productivity changes at the region-basin level, which can be directly integrated into the latest Global Change Analysis Model (GCAM).


https://jgcri.github.io/gaia/articles/vignette.html

Citation

Zhao, M., Morris, S.T., Tebaldi, C., Snyder, A., (2025). gaia: An R package to estimate crop yield responses to temperature and precipitation. Journal of Open Source Software, 10(111), 7538, https://doi.org/10.21105/joss.07538


Installation Guide

  1. Download and install:

    • R (https://www.r-project.org/)
    • R studio (https://www.rstudio.com/)
  2. Open R studio:

r install.packages("devtools") devtools::install_github("JGCRI/gaia")

or

r install.packages("remotes") remotes::install_github("JGCRI/gaia")

Additional steps for UBUNTU from a terminal

sudo add-apt-repository ppa:ubuntugis/ppa sudo apt-get update sudo apt-get install libudunits2-dev libgdal-dev libgeos-dev libproj-dev libmagick++-dev

Additional steps for MACOSX from a terminal

brew install pkg-config brew install gdal


Related Publications

Waldhoff, S.T., Wing, I.S., Edmonds, J., Leng, G. and Zhang, X., 2020. Future climate impacts on global agricultural yields over the 21st century. Environmental Research Letters, 15(11), p.114010. https://doi.org/10.1088/1748-9326/abadcb


Contributing

Whether you find a typo in the documentation, find a bug, or want to develop functionality that you think will make gaia more robust, you are welcome to contribute! The contributing page will walk you through processes to contribute to gaia.

Owner

  • Name: Joint Global Change Research Institute
  • Login: JGCRI
  • Kind: organization
  • Location: College Park, MD, USA

Advancing fundamental understanding of human and Earth systems

JOSS Publication

gaia: An R package to estimate crop yield responses to temperature and precipitation
Published
July 16, 2025
Volume 10, Issue 111, Page 7538
Authors
Mengqi Zhao ORCID
Pacific Northwest National Laboratory, Richland, WA, USA
Stephanie T. Morris ORCID
Pacific Northwest National Laboratory, Joint Global Change Research Institute, College Park, MD, USA
Claudia Tebaldi ORCID
Pacific Northwest National Laboratory, Joint Global Change Research Institute, College Park, MD, USA
Abigail Snyder ORCID
Pacific Northwest National Laboratory, Joint Global Change Research Institute, College Park, MD, USA
Editor
Taher Chegini ORCID

Citation (CITATION.cff)

cff-version: "1.2.0"
authors:
- family-names: Zhao
  given-names: Mengqi
  orcid: "https://orcid.org/0000-0001-5385-2758"
- family-names: Morris
  given-names: Stephanie T.
  orcid: "https://orcid.org/0000-0002-8073-0868"
- family-names: Tebaldi
  given-names: Claudia
  orcid: "https://orcid.org/0000-0001-9233-8903"
- family-names: Snyder
  given-names: Abigail
  orcid: "https://orcid.org/0000-0002-9034-9948"
doi: 10.5281/zenodo.15934767
message: If you use this software, please cite our article in the
  Journal of Open Source Software.
preferred-citation:
  authors:
  - family-names: Zhao
    given-names: Mengqi
    orcid: "https://orcid.org/0000-0001-5385-2758"
  - family-names: Morris
    given-names: Stephanie T.
    orcid: "https://orcid.org/0000-0002-8073-0868"
  - family-names: Tebaldi
    given-names: Claudia
    orcid: "https://orcid.org/0000-0001-9233-8903"
  - family-names: Snyder
    given-names: Abigail
    orcid: "https://orcid.org/0000-0002-9034-9948"
  date-published: 2025-07-16
  doi: 10.21105/joss.07538
  issn: 2475-9066
  issue: 111
  journal: Journal of Open Source Software
  publisher:
    name: Open Journals
  start: 7538
  title: "gaia: An R package to estimate crop yield responses to
    temperature and precipitation"
  type: article
  url: "https://joss.theoj.org/papers/10.21105/joss.07538"
  volume: 10
title: "gaia: An R package to estimate crop yield responses to
  temperature and precipitation"

GitHub Events

Total
  • Create event: 8
  • Release event: 1
  • Issues event: 14
  • Watch event: 1
  • Delete event: 4
  • Issue comment event: 44
  • Push event: 107
  • Pull request event: 13
  • Fork event: 1
Last Year
  • Create event: 8
  • Release event: 1
  • Issues event: 14
  • Watch event: 1
  • Delete event: 4
  • Issue comment event: 44
  • Push event: 107
  • Pull request event: 13
  • Fork event: 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 7
  • Total pull requests: 2
  • Average time to close issues: 2 months
  • Average time to close pull requests: 11 days
  • Total issue authors: 3
  • Total pull request authors: 1
  • Average comments per issue: 3.71
  • Average comments per pull request: 1.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 7
  • Pull requests: 2
  • Average time to close issues: 2 months
  • Average time to close pull requests: 11 days
  • Issue authors: 3
  • Pull request authors: 1
  • Average comments per issue: 3.71
  • Average comments per pull request: 1.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • klau506 (3)
  • jrising (3)
  • benhbm (1)
Pull Request Authors
  • mengqi-z (7)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/R-CDM-check.yaml actions
  • actions/checkout v4 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/docs.yaml actions
  • actions/cache v3 composite
  • actions/checkout v4 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
.github/workflows/draft-pdf.yml actions
  • actions/checkout v2 composite
  • actions/upload-artifact v4 composite
  • openjournals/openjournals-draft-action master composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v4 composite
  • actions/upload-artifact v4 composite
  • codecov/codecov-action v4 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • R >= 4.1 depends
  • CFtime >= 1.4.0 imports
  • R.utils >= 2.12.3 imports
  • broom >= 0.8.0 imports
  • data.table >= 1.14.2 imports
  • dplyr >= 1.1.3 imports
  • gcamdata >= 5.1 imports
  • ggplot2 >= 3.5.1 imports
  • helios >= 1.0.0 imports
  • lmtest >= 0.9.40 imports
  • lubridate >= 1.9.3 imports
  • magrittr * imports
  • ncdf4 >= 1.21 imports
  • plyr >= 1.8.9 imports
  • raster >= 3.6.20 imports
  • reshape2 >= 1.4.4 imports
  • sandwich >= 3.1.0 imports
  • sf >= 1.0.16 imports
  • sp >= 2.1.1 imports
  • stringr >= 1.5.0 imports
  • tibble >= 3.2.1 imports
  • tidyr >= 1.3.0 imports
  • utils * imports
  • knitr * suggests
  • rmarkdown >= 2.16 suggests
  • testthat >= 3.1.4 suggests