write_rou: Write .rou receptor file

View source: R/write_rou.R

write_rouR Documentation

Write .rou receptor file

Description

Write a .rou receptor file for AERMOD from a data frame of receptor coordinates.

Usage

write_rou(data, path = NULL, grid_type = "disccart",
  elev_units = "meters")

Arguments

data

Dataframe of receptor coordinates and elevations. Requires columns: 'x', 'y', and 'elevation'.

path

Path to write to. If NULL, return result as text.

grid_type

Type of receptor grid for AERMOD. Default is "disccart" (discrete cartesian).

elev_units

Units of elevation in data. Default is "meters".

Examples

receptors <- data.frame(id = 0:5, x = 50:55, y= 50:55)

receptors$elevation <- 250

write_rou(data = receptors,
          path = "circle_receptors.rou")

dKvale/receptors documentation built on June 26, 2022, 7:20 a.m.