Learn R Programming

SplitR (version 0.3)

hysplit_dispersion_plot: Plot HYSPLIT dispersion model output onto maps

Description

The function plots hourly outputs of dispersed particles onto maps.

Usage

hysplit_dispersion_plot(hours = "all", dispersion_df = NULL,
  df_folder_path = NULL, map_type = "stamen", map_output_name = NULL,
  path_output_files = NULL)

Arguments

hours

specification of hours of dispersion data to plot.

dispersion_df

optionally specify a data frame with dispersion data as an input.

df_folder_path

absolute path of the folder containing a dispersion data frame.

map_type

selection provider of base maps for plotting. Choices are 'osm' (Open Street Map) and 'stamen' (Stamen Maps).

map_output_name

a partial identifier prepended to the output map files.

path_output_files

a full path for a location that the dispersion output files were written.

Examples

Run this code
# NOT RUN {
# Make a set of hourly plots from a dispersion data frame
hysplit_dispersion_plot(hours = "all",
                        dispersion_df = disp.df,
                        map_output_name = "new map",
                        path_output_files = "~/Documents/SplitR/Output/Plots/")
# }

Run the code above in your browser using DataLab