I'm trying to estimate daily trajectories from different points. I'm just testing my code (I'm wrapping the trajectory_model example in the documentation within a function to map it to different parameters).
But, when I try to estimate any trajectory at the end of any month (with a duration > 24 hours) I get an error:
Error in .f(.x[[i]], ...) : object 'hour_along' not found
Which is just showing that HYSPLIT created an empty trajectory file when the hysplit_trajectory function is reading the file. If I change the days argument to: days = seq( lubridate::ymd("2000-01-27"), lubridate::ymd("2000-02-02"), by = "1 day"), the code works as expected. Is this due to a lack of meteorological data or what else I am ignoring here?
I think I can solve the issue by changing the date, but that seems more like a hack rather than a good way of solving the problem.
Hello!
I'm trying to estimate daily trajectories from different points. I'm just testing my code (I'm wrapping the
trajectory_model
example in the documentation within a function tomap
it to different parameters).But, when I try to estimate any trajectory at the end of any month (with a duration > 24 hours) I get an error:
Yields:
Which is just showing that HYSPLIT created an empty trajectory file when the
hysplit_trajectory
function is reading the file. If I change thedays
argument to: days = seq( lubridate::ymd("2000-01-27"), lubridate::ymd("2000-02-02"), by = "1 day"), the code works as expected. Is this due to a lack of meteorological data or what else I am ignoring here?I think I can solve the issue by changing the date, but that seems more like a hack rather than a good way of solving the problem.