Retrieving and processing agro-meteorological data from API-client sources using R software.

Citation metadata

From: BMC Research Notes(Vol. 14, Issue 1)
Publisher: BioMed Central Ltd.
Document Type: Report
Length: 1,121 words
Lexile Measure: 1430L

Document controls

Main content

Abstract :

Objectives The main purpose of this publication is to help users (students, researchers, farmers, advisors, etc.) of weather data with agronomic purposes (e.g. crop yield forecast) to retrieve and process gridded weather data from different Application Programming Interfaces (API client) sources using R software. Data description This publication consists of a code-tutorial developed in R that is part of the data-curation process from numerous research projects carried out by the Ciampitti's Lab, Department of Agronomy, Kansas State University. We make use of three weather databases for which specific libraries were developed in R language: (i) DAYMET (Thornton et al. in, 2019;, (ii) NASA-POWER (Sparks in J Open Source Softw 3:1035, 2018;, and (iii) Climate Hazards Group InfraRed Precipitation with Station Data (CHIRPS) (Funk et al. in Sci Data 2:150066, 2015; The databases offer different weather variables, and vary in terms of spatio-temporal coverage and resolution. The tutorial shows and explain how to retrieve weather data from multiple locations at once using latitude and longitude coordinates. Additionally, it offers the possibility to create relevant variables and summaries that are of agronomic interest such as Shannon Diversity Index (SDI) of precipitation, abundant and well distributed rainfall (AWDR), growing degree days (GDD), crop heat units (CHU), extreme precipitation (EPE) and temperature events (ETE), reference evapotranspiration (ET0), among others. Keywords: Programming, Agriculture, Daymet, Nasapower, Chirps

Source Citation

Source Citation   

Gale Document Number: GALE|A665456458