Skip to content

Commit

Permalink
Add comment on top of base mapping file; adjust read_csv accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
measrainsey committed Nov 2, 2023
1 parent 704e486 commit 99f32c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions message_ix_models/data/costs/technology_base_map.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# The base year costs and WEO mappings are taken from the following file:
# https://github.com/iiasa/message_data/blob/dev/data/model/investment_cost/doc/NAM_technology_cost_input_20200507.xlsx
message_technology,map_source,map_technology,base_year_reference_region_cost
bio_hpl,weo,igcc,275
bio_istig,weo,igcc,4064
Expand Down
2 changes: 1 addition & 1 deletion message_ix_models/tools/costs/weo.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def get_technology_mapping(input_module) -> pd.DataFrame:
"""

base_file_path = package_data_path("costs", "technology_base_map.csv")
raw_map_base = pd.read_csv(base_file_path)
raw_map_base = pd.read_csv(base_file_path, skiprows=2)

if input_module == "base":
return raw_map_base
Expand Down

0 comments on commit 99f32c2

Please sign in to comment.