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

issue with met_type="hrrr" and direction="backward" #61

Open
dmmmercer opened this issue Jan 22, 2021 · 1 comment
Open

issue with met_type="hrrr" and direction="backward" #61

dmmmercer opened this issue Jan 22, 2021 · 1 comment

Comments

@dmmmercer
Copy link

I am trying to use splitr with the "hrrr" met_type (files already downloaded) and the "backward" direction.
This short test code works if I run with "hrrr" but with forward direction, instead. Or, it works if I use a different met_type and backward direction.
But with 'hrrr' and 'backward' I get this error: Error in seq.int(0, to0 - from, by) : wrong sign in 'by' argument

I am new to splitr but would like to use it to run a series of backward trajectories with hrrr.
Any help would be welcome!

#Run HYSPLIT with hrrr downloaded met files
trajectory <-
hysplit_trajectory(
traj_name = "July152015traj",
lat = 42.3316,
lon = -122.8806,
#height = 100,
#model_height = 10000,
duration = 4,
run_period = c("2015-07-15"),
daily_hours = c(12, 18),
direction = "backward",
met_type = "hrrr",
met_dir = ("D:/SplitRwd/met"),
exec_dir = ("D:/SplitRwd/output3"),
extended_met = FALSE)

@XiaoyuChen97
Copy link

XiaoyuChen97 commented May 1, 2024

I just find there might be some small issues inside function get_met_hrrr, it can be solved by revising this part code manually.

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

2 participants