I want to premise that they are new to r. I am writing to ask for help on using rich-iannone's splitr package (github). The package link is this: GitHub - rich-iannone/splitr: Use the HYSPLIT model from inside R and do more with it
I have installed the package:
I used the recommended code in your github page:
lat = 42.83752,
lon = -80.30364,
height = 50,
duration = 24,
days = "2012-03-12",
daily_hours = c(0, 6, 12, 18),
direction = "forward",
met_type = "gdas1",
extended_met = TRUE,
met_dir = here::here("met"),
exec_dir = here::here("out")
and I encountered two errors (one I managed to solve), and I have a question about the code:
Error in Sys.setlocale("LC_Time", locale)
---> #and i SOLVE it thanks to MRPHarris (link: hysplit_trajectory() fails due Error in Sys.setlocale("LC_Time", locale) [SOLVED: SEE EDIT] · Issue #57 · rich-iannone/splitr · GitHub)
warning messages: 1: problem with
traj_dt. i all formats failed to parse. no formats found.
---> #I can't solve this problem. You can help me? i tried everything but i can't get over this problem. Thank you. I noticed that the trajectory is created but without the date and time information.
Also, in --> exec_dir ... should I enter the exec folder contained in the hysplit installation file?
-->(in my case: "C: \ hysplit4 \ exec")???
thanks for your valuable contribution