gcages.scm_running.magicc#
General tools for running MAGICC
Functions:
| Name | Description |
|---|---|
combine_probabilistic_and_common_cfg |
Combine probabilistic and common configs to make a full set of run configs |
load_magicc_probabilistic_config |
Load MAGICC configuration from a probabilistic config file |
combine_probabilistic_and_common_cfg #
combine_probabilistic_and_common_cfg(
probabilistic_cfgs: list[dict[str, Any]],
common_cfg: dict[str, Any],
) -> list[dict[str, Any]]
Combine probabilistic and common configs to make a full set of run configs
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
probabilistic_cfgs
|
list[dict[str, Any]]
|
Probabilistic configs, loaded from e.g. load_magicc_probabilistic_config |
required |
common_cfg
|
dict[str, Any]
|
Common configuration to apply to all runs |
required |
Returns:
| Type | Description |
|---|---|
list[dict[str, Any]]
|
Run configuration i.e. the combination of |
Source code in src/gcages/scm_running/magicc.py
load_magicc_probabilistic_config #
Load MAGICC configuration from a probabilistic config file
Parameters#
config_file Config file to load
Returns#
: MAGICC configurations to use when running MAGICC