# NOT RUN {
# Perform a dispersion run lasting 12 hours over two consecutive days, both starting at midnight
# Grid presets 1 and 2 will be used as sampling grids
# Presets for species and emissions are set to the first (this is also the default)
hysplit_dispersion(disp_name = "example",
return_disp_df = FALSE,
write_disp_CSV = TRUE,
start_lat_deg = 49.289328, start_long_deg = -123.117665,
start_height_m_AGL = 15,
simulation_duration_h = 12, backward_running = FALSE, met_type = "reanalysis",
vertical_motion_option = 0, top_of_model_domain_m = 2000,
emissions = 1,
species = 1,
grids = c(1,2),
run_type = "range", run_range = c("2012-02-01", "2012-02-03"),
daily_hours_to_start = "00",
path_met_files = "~/Documents/SplitR/Met/",
path_output_files = "~/Documents/SplitR/Output/",
path_wd = "~/Documents/SplitR/Working/",
path_executable = "~/Documents/SplitR/Exec/hycs_std")
# }
Run the code above in your browser using DataLab