Skip to contents

Regrid the ESMs

Usage

htr_regrid_esm(indir, outdir, cell_res = 0.25, layer)

Arguments

indir

Directory where input files are located

outdir

Directory where output files will be saved

cell_res

Resolution to which the ESM will be regridded

layer

The layer to be regridded

Author

David Schoeman and Tin Buenafe

Examples


if (FALSE) {
htr_regrid_esm(
indir = file.path(base_dir, "data", "proc", "yearly", "tos"),
outdir = file.path(base_dir, "data", "proc", "regridded", "yearly", "tos"),
cell_res = 0.25,
layer = "annual"
)
}