calmet_01_temporal_params: Set CALMET temporal and model run parameters

Description Usage Arguments

Description

This function validates and writes CALMET parameters for the model starting and ending times, the time zone, and model timings.

Usage

1
2
3
4
5
calmet_01_temporal_params(calmet_inp = "calmet_template.txt",
  read_data_from_surf_dat = TRUE, ibyr = NULL, ibmo = NULL, ibdy = NULL,
  ibhr = NULL, ibsec = 0, ieyr = NULL, iemo = NULL, iedy = NULL,
  iehr = NULL, iesec = 0, abtz = NULL, nsecdt = 3600, irtype = 1,
  lcalgrd = TRUE, itest = 2, mreg = 0)

Arguments

calmet_inp

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

read_data_from_surf_dat

an option to read the time variable data from an extant SURF.DAT file in the working folder.

ibyr

the starting year for the CALMET run.

ibmo

the starting month for the CALMET run.

ibdy

the starting day for the CALMET run.

ibhr

the starting hour for the CALMET run.

ibsec

the starting second for the CALMET run.

ieyr

the ending year for the CALMET run.

iemo

the ending month for the CALMET run.

iedy

the ending day for the CALMET run.

iehr

the ending hour for the CALMET run.

iesec

the ending second for the CALMET run.

abtz

the time zone for the CALMET domain.

nsecdt

the number of seconds between time steps.

irtype

the CALMET run type, where the '0' option computes wind fields only and the '1' option computes wind fields and several micrometeorological variables (U*, W*, L, Zi, etc.).

lcalgrd

the option of whether to compute special data fields required by CALGRID.

itest

a flag to stop the model run after the setup phase, which is useful for checking for correctness in model inputs and associated files.

mreg

choice of whether to use EPA regulatory options.


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