EpwMorphBackend defines a statistical downscaling backend that can be
selected by epw_morph_recipe() and executed by EpwMorpher.
nameBackend name.
labelHuman-readable backend label.
requires_referenceWhether external reference climate data are mandatory for this backend.
accepts_referenceWhether the backend can consume external reference climate data. A backend may accept a reference without requiring one.
new()Create an EPW morphing backend.
EpwMorphBackend$new(
name,
label = NULL,
methods = NULL,
method_choices = NULL,
rules,
requires_reference = FALSE,
accepts_reference = requires_reference,
pipeline = NULL,
runner = NULL
)nameBackend name.
labelHuman-readable backend label.
methodsNamed default method vector.
method_choicesAllowed method values.
rulesBackend rule table.
requires_referenceWhether external reference climate data are
mandatory. This can be TRUE only when accepts_reference is also
TRUE.
accepts_referenceWhether external reference climate data can
be consumed. TRUE with requires_reference = FALSE defines an
optional-reference backend such as Belcher.
pipelineOptional internal component pipeline specification.
runnerOptional function taking (context, backend) and
returning an epw_morph_result. Exactly one of pipeline and
runner must be supplied.