calmet_02_grid_levels: Set CALMET parameters for the map projection, datum, and grid...

Description Usage Arguments

Description

This function validates and writes CALMET parameters for the map projection, datum, and grid definitions to the working CALMET.INP file.

Usage

1
2
3
4
5
6
calmet_02_grid_levels(calmet_inp = "calmet_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 = c(0, 20, 40, 80, 100, 150, 200, 300, 400, 800, 1400, 2000, 3000))

Arguments

calmet_inp

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

read_xy_from_geo_dat
pmap

the projection of the CALMET 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.


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