Description Usage Arguments Details Examples
View source: R/fao_penman_monteith.R
Generate ETo predictors from aquastat data
1 | gen_ETo_vars(clim_data, lat, z, col_select = NULL)
|
clim_data |
|
lat |
latitude in decimal degrees |
z |
elevation in m |
col_select |
character vector specifying which columns to return from the original data |
Rel_Hum_pct
Tmp_max_degC
Tmp_min_degC
Tmp_Mean_degC
Sun_shine_pct (0-100)
Wind_2m_m_per_s
1 2 3 4 5 6 | # Locate and read the example et0 csv file
et0_path <- system.file("extdata", "ET0_example_file.csv", package = "fao56")
col_select <- c("Rn_MJ_per_day", "G_MJ_per_day", "Tmp_Mean_degC",
"Wind_2m_m_per_s", "es_kPa", "ea_kPa", "ETo_calc", "ETo_mm_per_d")
clim_data <- read_et0_csv(et0_path)
ETo_df <- gen_ETo_vars(clim_data, lat = 20.59, z = 231, col_select = col_select)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.