rich-iannone / splitr

Use the HYSPLIT model from inside R and do more with it
Other
141 stars 60 forks source link

backward airmass only run for 3 months. #75

Open adh19d opened 2 years ago

adh19d commented 2 years ago

Hi All, Please help. I can only get my backward air masses to run for 3 month periods. If i extend the period e.g., to 4 months of greater it doesn't work

here's the code:

trajectory_model <- create_trajectory_model() %>% add_trajectory_params( lat = 0.0402, lon = -77.9969, met_dir="~/hysplit/met", height = 50, duration = 96, days = seq( lubridate::ymd("2020-01-01"), lubridate::ymd("2020-03-01"), ###if i change to 2020-05-01 for example i get an error. by = "7 day"), daily_hours = c(0,6,12,18), direction = "backward", met_type = "gdas1") %>% run_model

Get a data frame containing the model results

mod1=get_output_tbl(trajectory_model) trajectory_plot(mod1)