Skip to contents

Merge files according to model, variable, frequency, scenario/experiment

Usage

htr_merge_files(indir, outdir, year_start, year_end)

Arguments

indir

Directory where input files are located

outdir

Directory where output files will be saved

year_start

Starting year

year_end

Ending year

Author

Dave Schoeman and Tin Buenafe

Examples

if (FALSE) {

htr_merge_files(
  indir = file.path(base_dir, "data", "raw", "tos"), # input directory
  outdir = file.path(base_dir, "data", "proc", "merged", "tos"), # output directory
  year_start = 1985, # earliest year across all the scenarios considered
  year_end = 2100 # latest year across all the scenarios considered
)
}