# NOT RUN {
# test run type of 'years' with forward trajectory using NCEP/NCAR reanalaysis data
hysplit_trajectory(traj_name = "second",
                   return_traj_df = FALSE,
                   start_lat_deg = 50.108,
                   start_long_deg = -122.942,
                   start_height_m_AGL = 200.0,
                   simulation_duration_h = 96,
                   backtrajectory = FALSE,
                   met_type = "reanalysis",
                   vertical_motion_option = 0,
                   top_of_model_domain_m = 20000,
                   run_type = "years",
                   run_years = "2004",
                   daily_hours_to_start = c("03", "06", "09", "12", "15", "18", "21"),
                   path_met_files = "~/HYSPLIT4/met/",
                   path_output_files = "~/HYSPLIT4/output_trajectory/",
                   path_wd = "~/HYSPLIT4/working/",
                   path_executable = "~/HYSPLIT4/exec/hyts_std")
# }
Run the code above in your browser using DataLab