pymagicc¶
- pymagicc.run(scenario, magicc_version=6, **kwargs)[source]¶
Run a MAGICC scenario and return output data and (optionally) config parameters.
As a reminder, putting
out_parameters=1
will cause MAGICC to write out its parameters intoout/PARAMETERS.OUT
and they will then be read intooutput.metadata["parameters"]
whereoutput
is the returned object.- Parameters
scenario (
pymagicc.io.MAGICCData
) – Scenario to runmagicc_version (int) – MAGICC version to use for the run
**kwargs – Parameters overwriting default parameters
- Raises
ValueError – If the magicc_version is not available
- Returns
output – Output of the run with the data in the
df
attribute and parameters and other metadata in themetadata attribute
- Return type