View source: R/get_solar_radiation.R
get_solar_radiation | R Documentation |
Function downloading daily weather data via the package nasapower based on longitude, latitude, planting and harvest date characterizing this environment.
get_solar_radiation(environment, info_environments, ...)
environment |
|
info_environments |
The data.frame should contain as many rows as Year x Location combinations. Example: if only one location evaluated across four years, 4 rows should be present. |
a data.frame data.frame
with the following columns extracted
from POWER data, according to requested parameters:
longitude numeric
latitude numeric
YEAR numeric
MM integer
DD integer
DOY integer
YYYYMMDD Date
ALLSKY_SFC_SW_DWN numeric
IDenv character
ID environment for which weather data were
downloaded.
length.gs difftime
length in days of the growing season
for the environment.
Cathy C. Westhues cathy.jubin@hotmail.com
sparks2018nasapowerlearnMET
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.