add_longwave {ropenmeteo} | R Documentation |
Add longwave to ensemble forecast dataframe using Idso and Jackson (1969). Requires cloud cover and temperature variables in input data frame.
Description
Add longwave to ensemble forecast dataframe using Idso and Jackson (1969). Requires cloud cover and temperature variables in input data frame.
Usage
add_longwave(df)
Arguments
df |
data frame output from one of the functions that gets a data frame from the API (e.g., |
Value
data frame with the same columns as the input df
but with longwave_radiation
added as a variable
Examples
file <- system.file("extdata", "test-data.csv", package="ropenmeteo")
df <- readr::read_csv(file, show_col_types = FALSE)
df |>
add_longwave()
[Package ropenmeteo version 0.1 Index]