write.help {seas}R Documentation

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; [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

dat

data.frame of climate data

var

variable to be exported; must be one of "precip", "t_mean" or "solar"

name

character; location name

region

character; region

lat

numeric; location latitude in decimal degrees

visual.help

logical formats output for Visual HELP; else formated for the DOS HELP versions (default)

metric

logical if using metric units (this only sets a flag, please ensure the data are in either °C, mm/day and \mbox{MJ}/(\mbox{m}^2 \cdot \mbox{day}) or °F, in./day and langleys/day)

Details

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.

Author(s)

Mike Toews

References

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/⁠ (dead link)

See Also

read.msc, read.sdsm, read.lars, conv365toGregorian


[Package seas version 0.6-0 Index]