Skip to content

Hysplit Dispersion run deletes files #89

@steph-pass

Description

@steph-pass

Hello, I was running a dispersion model in splitr and got this error

Warning: '(cd "C:/path_to_where_my_script_was" && "C:/mypath/AppData/Local/R/win-library/4.5/splitr/win/hycs_std.exe" > NUL 2>&1)' execution failed with error code 900

And then all the files from my folder where the script was were deleted. This has happened a couple times now. Thankfully most of my files were backed up or I would have lost everything.

Here is the code I ran:

dispersion_morning <-
create_dispersion_model() %>%
add_source(
name = "PM25_morning",
lat = test_df$lat[1],
lon = test_df$lon[1],
height = 910,
rate = test_df$emission_rate_g_per_hour[1],
pdiam = 2.5,
density = 1.5,
shape_factor = 1.0,
release_start = ymd_hm("2025-01-10 09:26"),
release_end = ymd_hm("2025-01-10 09:26") + hours(6)
) %>%
add_dispersion_params(
start_time = ymd_hm("2025-01-10 09:26"),
end_time = ymd_hm("2025-01-10 09:26") + hours(6),
direction = "forward",
met_type = "reanalysis"
) %>%
run_model()

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