get_ECs | R Documentation |
This function enables to retrieve daily weather data from NASA POWER source for each environment and derive environmental covariates over non-overlapping time windows, which can be defined in various ways by the user. The user can also provide own daily weather data, even for only part of the total number of environments. For the remaining environments, weather data will be retrieved using the NASA POWER query.
get_ECs(
info_environments,
raw_weather_data = NULL,
method_ECs_intervals = "fixed_nb_windows_across_env",
save_daily_weather_tables = T,
path_data = NULL,
crop_model = NULL,
nb_windows_intervals = 10,
duration_time_window_days = 10,
base_temperature = 10,
max_temperature = 30,
capped_max_temperature = F,
intervals_growth_manual = NULL,
only_get_daily_data = FALSE,
et0 = F,
use_dtw = FALSE,
...
)
info_environments |
a
|
raw_weather_data |
a
Additional weather data provided by user must be a subset of the following weather variable names (= next columns): (Any imputation step should be performed before providing this daily weather dataset to the package. ):
Default is |
method_ECs_intervals |
Default method is fixed_nb_windows_across_env. |
save_daily_weather_tables |
|
path_data |
|
crop_model |
|
nb_windows_intervals |
|
duration_time_window_days |
This argument is used only when the option 'fixed_length_time_windows_across_env' is chosen. It determines the fixed number of days spanned within each window, across all environments. Default value is 10. |
base_temperature |
|
max_temperature |
|
intervals_growth_manual |
|
only_get_daily_data |
|
... |
Arguments passed to the |
fixed_length_time_windows_across_env |
|
fixed_nb_windows_across_env |
|
A data.frame
object containing the weather-based environmental
covariates.
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.