View source: R/get_weather_soil_data.R
get_daily_tables_per_env | R Documentation |
Function downloading daily weather data via the package nasapower based on longitude, latitude, planting and harvest date characterizing this environment.
get_daily_tables_per_env(
environment,
info_environments,
path_data,
et0 = F,
...
)
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. |
et0 |
whether evapotranspiration should be calculated. False by default. |
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
RH2M numeric
T2M numeric
T2M_MIN numeric
T2M_MAX numeric
PRECTOTCORR numeric
ALLSKY_SFC_SW_DWN numeric
T2MDEW 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 \insertRefzotarelli2010steplearnMET
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.