Skip to contents

Shift years

Usage

htr_shift_years(indir, outdir, adjust_value)

Arguments

indir

Directory where input files are located

outdir

Directory where output files will be saved

adjust_value

Years that will be used to adjust the time (could be positive or negative)

Author

Tin Buenafe

Examples

if (FALSE) { # \dontrun{
htr_shift_years(
indir = file.path(base_dir, "data", "proc", "regridded", "yearly", "tos"),
outdir = file.path(base_dir, "data", "proc", "ensemble", "mean", "tos"),
adjust_value = 1653
)
} # }