Skip to contents

Build mapping parameters for a scenario, in recipe (dependency) order

Usage

build_mappings(
  scen,
  fmp = NULL,
  spec = load_mapping_spec(),
  recipes = .mapping_recipe_order
)

Arguments

scen

scenario object with sets already populated from model objects.

fmp

function mapping a parameter name to its on-disk path. When NULL, parameters are kept in memory.

spec

mapping specification (defaults to load_mapping_spec()).

recipes

character vector of recipes to run (defaults to all, in .mapping_recipe_order).

Value

updated scenario object.