Create future EPW files using morphed data

future_epw(
  morphed,
  by = c("experiment", "source", "interval"),
  dir = ".",
  separate = TRUE,
  overwrite = FALSE
)

Arguments

morphed

An epw_cmip6_morphed object created using morphing_epw().

by

A character vector of columns to be used as grouping variables when creating EPW files. Should be a subeset of:

  • "experiment": root experiment identifiers

  • "source": model identifiers

  • "variable": variable identifiers

  • "activity": activity identifiers

  • "frequency": sampling frequency

  • "variant": variant label

  • "resolution": approximate horizontal resolution

  • "longitude": averaged longitude of input data

  • "latitude": averaged latitude of input data

dir

The parent directory to save the generated EPW files. If not exist, it will be created first. Default: ".", i.e., current working directory.

separate

If TRUE, each EPW file will be saved into a separate folder using grouping variables specified in by.

overwrite

If TRUE, overwrite existing files if they exist. Default: FALSE.

Value

A list of generated eplusr::Epw objects, invisibly