param_radiation | R Documentation |
Core of functions to estimate atmospheric parameters related to solar radiation. Fore more details about the equations see de FAO-evapotranspiration publication http://www.fao.org/3/X0490E/x0490e07.htm#radiation.
param_radiation(
env.data,
day.id = "DOY",
latitude = "LAT",
solarRadiation = NULL,
merge = TRUE
)
env.data |
data.frame. A |
merge |
boolean. If |
This functions requires day of the year, latitude, thermal radiative flux, and sky insolation which are provided by get_weather()
. If one of these parameters are missing, an error will be returned.
n: Actual duration of sunshine (hour)
N: Daylight hours (hour)
RTA: Extraterrestrial radiation (MJ/m^2/day)
SRAD: Solar radiation (MJ/m^2/day)
Returns a dataframe with parameters related to solar radiation. See details for further information.
Germano Costa Neto
## Not run:
### Fetching weather information from NASA-POWER
env.data = get_weather(lat = -13.05, lon = -56.05, country = 'BRA')
### Calculating solar radiation
param_radiation(env.data)
env.data = get_weather(lat = -13.05, lon = -56.05, country = 'BRA') %>%
param_radiation()
#' env.data = get_weather(lat = -13.05, lon = -56.05, country = 'BRA') %>%
param_radiation(day.id='DOY',latitude='LAT')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.