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

DateTime issues with splitr #65

Open
Salvosoda opened this issue Apr 30, 2021 · 0 comments
Open

DateTime issues with splitr #65

Salvosoda opened this issue Apr 30, 2021 · 0 comments

Comments

@Salvosoda
Copy link

Salvosoda commented Apr 30, 2021

Hi Rich,
Thank you in advance for your contribution or for the contribution of those who will help me to solve this problem.

I have installed the package:

devtools::install_github("rich-iannone/splitr")

I used the recommended code in your github page:

library(splitr)
library(here)

trajectory <-
hysplit_trajectory(
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):

  1. Error in Sys.setlocale("LC_Time", locale)
    ---> #and i SOLVE it thanks to MRPHarris

  2. warning messages: 1: problem with mutate() input 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

N.B.
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
S

@Salvosoda Salvosoda changed the title Days issues with splitr DateTime issues with splitr Apr 30, 2021
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