This function validates and writes CALPUFF parameters for the map projection, datum, and grid definitions to the working CALPUFF.INP file.
1 2 3 4 5 6 7 8 | calpuff_04_grid_levels(calpuff_inp = "calpuff_template.txt",
read_xy_from_geo_dat = TRUE, pmap = "UTM", feast = 0, fnorth = 0,
iutmzn = NULL, utmhem = NULL, rlat0 = "40N", rlon0 = "90W",
xlat1 = "30N", xlat2 = "60N", datum = "WGS-84", nx = NULL,
ny = NULL, dgridkm = NULL, xorigkm = NULL, yorigkm = NULL, nz = 12,
zface = NULL, ibcomp = NULL, jbcomp = NULL, iecomp = NULL,
jecomp = NULL, lsamp = TRUE, ibsamp = NULL, jbsamp = NULL,
iesamp = NULL, jesamp = NULL, meshdn = 1)
|
calpuff_inp |
the absolute path and filename for the working CALPUFF input file. |
pmap |
the projection of the CALPUFF domain. |
feast |
the false easting at the projection origin for TTM, LCC, or LAZA projection types. |
fnorth |
the false northing at the projection origin for TTM, LCC, or LAZA projection types. |
iutmzn |
the UTM zone. |
utmhem |
the UTM hemisphere. |
rlat0 |
latitude (decimal degrees) of projection origin for TTM, LCC, PS, EM, or LAZA projection types. |
rlon0 |
longitude (decimal degrees) of projection origin for TTM, LCC, PS, EM, or LAZA projection types. |
xlat1 |
the lower matching parallel of latitude (decimal degrees) for LCC or PS projection types. |
xlat2 |
the upper matching parallel of latitude (decimal degrees) for LCC or PS projection types. |
datum |
the datum-region for output coordinates. |
nx |
the number of grid cells in the x direction. |
ny |
the number of grid cells in the y direction. |
dgridkm |
the grid spacing in units of km. |
xorigkm |
the reference grid x coordinate (in km) of the southwest corner of grid cell (1, 1). |
yorigkm |
the reference grid y coordinate (in km) of the southwest corner of grid cell (1, 1). |
nz |
the number of vertical levels. |
zface |
a vector containing cell face heights in meters. |
ibcomp |
the x index at the lower-left corner of the computational grid. |
jbcomp |
the y index at the lower-left corner of the computational grid. |
iecomp |
the x index at the upper-right corner of the computational grid. |
jecomp |
the y index at the upper-right corner of the computational grid. |
lsamp |
the choice of whether gridded receptors are to be used. |
ibsamp |
the x index at the lower-left corner of the sampling grid. |
jbsamp |
the y index at the lower-left corner of the sampling grid. |
iesamp |
the x index at the upper-right corner of the sampling grid. |
jesamp |
the y index at the upper-right corner of the sampling grid. |
meshdn |
the nesting factor of the sampling grid. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.