Skip to content

Unable to run trajectories #80

@Picornell

Description

@Picornell

I am not able to run the trajectories, even when using the examples provided in the documentation:

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")
)

This returns me warnings saying:
Warning messages:
1: In shell(sys_cmd) :
'(cd "F:/[my_path]/out" && "C:[my_path]/R/win-library/4.2/splitr/win/hyts_std.exe" > NUL 2>&1)' execution failed with error code 900
Please, note that I have replaced the real directory by "[my_path]" to avoid publishing unnecessary information.

Then it generates the "trajectory" object but it is empty.
¿How can I solve that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions