Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run for more than 1 day #71

Open
jwsaf opened this issue Aug 6, 2021 · 0 comments
Open

How to run for more than 1 day #71

jwsaf opened this issue Aug 6, 2021 · 0 comments

Comments

@jwsaf
Copy link

jwsaf commented Aug 6, 2021

Hi there

My code is below. How do I run e.g. for the entire 2019? When I wrote

days = c("2019-01-01", "2019-01-01") instead of just days = "2019-07-14" then only trajectories were run for 1 Jan 2019 and 31 Dec 2019 and not for each day in 2019

Please help

Thanks!

trajectory_model <-
create_trajectory_model() %>%
add_trajectory_params(
lat = -25.731826,
lon = 28.200408,
height = 750,
duration = 72,
days = "2019-07-14",
daily_hours = c(0, 6, 12, 18), #### so every 6th hour in a day
direction = "backward",
met_type = "reanalysis",
met_dir = here::here("met"),
exec_dir = here::here("out")
) %>%
run_model()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant