openscm_runner.adapters.utils.cicero_utils.make_scenario_common#

Common handler and converter of scenariodat for cicero

Class will be inherited by subversions to get specific handling

COMMONSFILEWRITER#

class COMMONSFILEWRITER(udir, syear=2015, eyear=2100)[source]#

Bases: object

Class to write scenariofiles:

get_unit_convfactor(comp, scenarioframe)[source]#

Get unit and conversion factor for component

initialize_units_comps(gasfile)[source]#

Get the list of gas components and units

Get the list of gas components and untis from the gases file:

make_printoutframe(scenarioframe, ssp245data)[source]#

Take scenarioframe and convert to cicero format emissions

Take scenarioframe and convert to cicero format emissions data to write to file or pass as dataframe

transform_scenarioframe(scenarioframe)[source]#

Get rid of multiindex and interpolate scenarioframe