message_ix_models.tools.bilateralize.bare_to_scenario
Move data from bare files to a dictionary to update a MESSAGEix scenario
This script is the second step in implementing the bilateralize tool. It moves data from /data/bilateralize/[your_trade_commodity]/bare_files/ to a dictionary compatible with updating a MESSAGEix scenario.
Functions
|
Move data from bare files to a dictionary to update a MESSAGEix scenario |
|
Broadcast vintage, relation, or activity years. |
|
Broadcast years to create vintage-activity year pairs. |
|
Read the input csv files and build the tech sets and parameters. |
|
|
|
Full broadcast function :param data_dict: Dictionary of parameter dataframes :param tec: Technology name :param ty: Type of parameter (trade or flow) :param ya_list: List of activity years :param yv_list: List of vintage years :param log: Logger |