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.
write.help(file, dat, var = "", name = "", region, lat,
visual.help = FALSE, metric = TRUE)
name of output file; [DOS] HELP uses extensions
*.D4
, *.D7
, and *.D13
for daily precipitation,
temperature and solar radiation, respectively; Visual HELP uses the
file names _weather1.dat
, _weather2.dat
and
_weather3.dat
for the same series of variables
data.frame
of climate data
variable to be exported; must be one of "precip"
,
"t_mean"
or "solar"
character
; location name
character
; region
numeric
; location latitude in decimal degrees
logical formats output for Visual HELP; else formated for the DOS HELP versions (default)
logical if using metric units (this only sets a flag, please ensure the data are in either <U+00B0>C, mm/day and \(\mbox{MJ}/(\mbox{m}^2 \cdot \mbox{day})\) or <U+00B0>F, in./day and langleys/day)
This utility function is experimental and has not been extensively tested; please report any errors to me.
HELP requires continuous data; no missing values are allowed.
Data imported from SDSM use a 365-day calendar, and can be
approximated using conv365toGregorian
.
HELP 3.07 - Original version for the US EPA; free download https://www.epa.gov/land-research/hydrologic-evaluation-landfill-performance-help-model
HELP-D - Developed by Dr. Klaus Berger, University of Hamburg https://www.geo.uni-hamburg.de/en/bodenkunde/service/help-model.html
Visual HELP - Uses a similar underlying code as HELP 3.07, but features a Windows GUI https://www.waterloohydrogeologic.com/visual-help/