write.help: Write climate data in the format used by the HELP model
Description
Write climate data in the format used by the Hydrological Evaluation
of Landfill Performance (HELP) model. This exports the data using two
slightly different variants of HELP: the DOS versions (3.07 to 3.80D)
and for Visual HELP.Usage
write.help(file = "", dat, var, name, region, lat,
visual.help=FALSE, metric=TRUE)
Arguments
file
name of output file (prints to console if file=""
);
[DOS] HELP uses extensions *.D4, *.D7, and
*.D13 for daily precipitation, temperature and solar
radiation, respectively; VisualHELP uses th
dat
data.frame
of climate data
var
variable to be exported; must be one of "precip"
,
"t_mean"
or "solar"
name
character
; location name
lat
numeric
; location latitude in decimal degrees
visual.help
logical formats output for Visual HELP; else
formated for the normal DOS HELP (default) metric
logical if using metric units (this only sets a
flag, please ensure the data are in either �{degrees }C,
mm/day and $\mbox{MJ}/(\mbox{m}^2 \cdot \mbox{day})$ or �{degrees }F, in./day and
encoding
latin1synopsis
write.help(file = "", dat, var, name, region, lat,
visual.help=FALSE, metric=TRUE)Details
This utility function is experimental, but allows export of climate
data to the HELP model.References
HELP 3.07 - Original version for the US EPA; free download
http://el.erdc.usace.army.mil/products.cfm?Topic=model&Type=landfill
HELP 3.80D - Developed by Dr. Klaus Berger, University
of Hamburg
http://www.geowiss.uni-hamburg.de/i-boden/fsimhelp_e.htm
Visual HELP - Uses a similar underlying code as HELP 3.07, but
features a Windows GUI
http://www.waterloohydrogeologic.com/software/visual_help/visual_help_ov.htm