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 MJ/(m^2*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)

M.W. Toews

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

See Also

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


[Package seas version 0.3-5 Index]