replace_csv_string: Replace the emissions csv file strings with the path to the...

View source: R/fxns-ini.R

replace_csv_stringR Documentation

Replace the emissions csv file strings with the path to the new csv table

Description

Replace the emissions csv file strings with the path to the new csv table

Usage

replace_csv_string(
  ini,
  replacement_path,
  run_name,
  pattern = "=csv:.*TEMPLATE.csv"
)

Arguments

ini

lines of a Hector ini file.

replacement_path

the file path to the hector input csv table.

run_name

character name of run name.

pattern

regular expression pattern of the csv paths to replace with replacement_path the default is set to replace all emission and concentration constraints.

Value

lines of a Hector ini file.


JGCRI/hectordata documentation built on Nov. 27, 2022, 2:50 p.m.