Write ensemble forecast dataframe to General Lake Model formatted csv files
Source:R/write_glm_format.R
write_glm_format.Rd
Write ensemble forecast dataframe to General Lake Model formatted csv files
Arguments
- df
data frame output by
get_ensemble_forecast()
- path
directory where csv files will be written
Examples
file <- system.file("extdata", "test-data.csv", package="ropenmeteo")
df <- readr::read_csv(file, show_col_types = FALSE)
df |>
add_longwave() |>
write_glm_format(path = path)