calpuff_05_output_opts: Set the CALPUFF output options

Description Usage Arguments

Description

This function validates and writes CALPUFF output options.

Usage

1
2
3
4
5
6
7
calpuff_05_output_opts(calpuff_inp = "calpuff_template.txt", icon = TRUE,
  idry = TRUE, iwet = TRUE, it2d = FALSE, irho = FALSE, ivis = TRUE,
  lcomprs = TRUE, iqaplot = TRUE, ipftrak = 0, imflx = FALSE,
  imbal = FALSE, inrise = FALSE, icprt = FALSE, idprt = FALSE,
  iwprt = FALSE, icfrq = 1, idfrq = 1, iwfrq = 1, iprtu = 1,
  imesg = 2, ldebug = FALSE, ipfdeb = 1, npfdeb = 1, nn1 = 1,
  nn2 = 10)

Arguments

calpuff_inp

the absolute path and filename for the working CALPUFF input file.

icon

the choice of whether to create a concentration output file.

idry

the choice of whether to create a dry deposition flux output file.

iwet

the choice of whether to create a wet deposition flux output file.

it2d

the choice of whether to create a 2D temperature output file.

irho

the choice of whether to create a 2D density output file.

ivis

the choice of whether to create a relative humidity output file (required for visibility analysis).

lcomprs

the choice of whether to compress the output data files.

iqaplot

the choice of whether to create a standard series of output files (e.g. locations of sources, receptors, grids, etc.) for QA purposes.

ipftrak

the choice of method for tracking puff locations and properties to the PFTRAK.DAT file: (0) no puff tracking, (1) track puffs at the end of each timestep, or (2) track puffs at the end of each sampling step.

imflx

the choice of whether to output data on mass flux across specified boundaries for selected species.

imbal

the choice of whether to output mass balance data for each species to the MASSBAL.DAT file.

inrise

the choice of whether to output plume properties for each rise increment, for each model timestep, for a single species to the RISE.DAT file.

icprt

the choice of whether to print concentrations.

idprt

the choice of whether to print dry flux data.

iwprt

the choice of whether to print wet flux data.

icfrq

the number of time intervals for which the concentration is printed.

idfrq

the number of time intervals for which the dry flux data is printed.

iwfrq

the number of time intervals for which the wet flux data is printed.

iprtu

the choice of units used when printing: (1) g/m3 for concentration, g/m2/s for deposition, (2) mg/m3 for concentration, mg/m2/s for deposition, (3) ug/m3 for concentration, ug/m2/s for deposition, (4) ng/m3 for concentration, ng/m2/s for deposition, or (5) odour units for concentration.

imesg

the choice of method for displaying messages during model execution: (0) no messages, (1) messages with advection step and puff ID, or (2) messages with date-time, number of old puffs, and number of emitted puffs.

ldebug

the choice of whether to store debugging information for the model run.

ipfdeb

the first puff to track when gathering debugging information.

npfdeb

the number of puffs to track when gathering debugging information.

nn1

the meteorological period to beginning gathering output.

nn2

the meteorological period to end gathering output.


rich-iannone/PuffR documentation built on May 27, 2019, 7:46 a.m.