Merge files according to model, variable, frequency, scenario/experiment
Arguments
- indir
Directory where input files are located
- outdir
Directory where output files will be saved
- year_start
Starting year
- year_end
Ending year
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
)
}