make_hdr_file: Write Header File

View source: R/make_hdr_file.R

make_hdr_fileR Documentation

Write Header File

Description

New version of header file creation function.

Usage

make_hdr_file(input_rhessys, hdr_files, def_files, runID)

Arguments

input_rhessys

List containing the following named elements: "rhessys_version" (path to rhessys binary), "tec_file"(name for tec file to be built), "world_file"(path to existing worldfile), "world_hdr_prefix"(prefix for headers to create), "flow_file"(path to existing flowtable), "start_date"(format c('yyyy mm dd hr')), "end_date"(format c('yyyy mm dd hr')), "output_folder"(path to output folder), "output_filename"(prefix for output files to create), "command_options"(additional commandline options)

hdr_files

List of named elements, named for each def file type (basin_def, hillslope_def, zone_def, soil_def, landuse_def, patch_def, stratum_def) as well as an element named "base_stations". Each element should contain the path to the corresponding def file.

def_files

Data frame of def file parameter changes

runID

The unique ID used to track input and output files if running multiple scenarios, and thus multiple instances of run_rhessys_core.

Author(s)

Will Burke


ryanrbart/rhessysR documentation built on March 29, 2024, 4:30 p.m.