new_aermod: Create AERMOD input tables

View source: R/new_aermod.R

new_aermodR Documentation

Create AERMOD input tables

Description

Create default AERMOD input data frames: (1) Control options (2) Source parameters (3) Receptor parameters (4) Meteorology options (5) Output options

Usage

new_aermod(
  aermod = "aermod_inp",
  as_one_df = TRUE,
  add_to_envir = FALSE,
  control = "control",
  sources = "sources",
  receptors = "receptors",
  met = "met",
  out = "out"
)

Arguments

aermod

Name of AERMOD input data frame added to Global Environment. Default is "aermod_inp". Ignored if as_one_df is FALSE.

as_one_df

TRUE or FALSE. Return all inputs in a single wide data frame. If FALSE, return 5 data frames in a list: (1) control (2) sources (3) receptors (4) meteorology (5) output

add_to_envir

TRUE or FALSE. Exports tables directly to the Global Environment.

control

Name for control options data frame added to Global Environment. Default is "control". Ignored if as_one_df is TRUE.

sources

Name for emission source data frame added to Global Environment. Default is "sources". Ignored if as_one_df is TRUE.

receptors

Name for receptor data frame added to Global Environment. Default is "receptors". Ignored if as_one_df is TRUE.

met

Name for meteorology options data frame added to Global Environment. Default is "met". Ignored if as_one_df is TRUE.

out

Name for output options data frame added to Global Environment. Default is "output". Ignored if as_one_df is TRUE.

Examples

aermod <- new_aermod(as_one_df = TRUE)

new_aermod(as_one_df = FALSE, add_to_envir = TRUE, met = "rochester_met")

input_list <- new_aermod(as_one_df = FALSE, met = "rochester_met")

dKvale/aermod documentation built on July 5, 2023, 4:25 a.m.