Skip to content

Commit

Permalink
Merge branch 'master' into ASEAN-ClimateFinance
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbrinkerink committed Dec 3, 2024
2 parents f4dbcc7 + e995f88 commit 5bc8b94
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 868 deletions.
Binary file removed resources/data/Costs Line expansion.xlsx
Binary file not shown.
6 changes: 4 additions & 2 deletions workflow/rules/postprocess.smk
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,22 @@ rule visualisation:
'Generating result figures...'
input:
csv_files = expand('results/{{scenario}}/results/{result_file}.csv', result_file = OTOOLE_RESULTS),
centerpoints = 'resources/data/centerpoints.csv',
custom_nodes_centerpoints = 'resources/data/custom_nodes/centerpoints.csv',
params:
input_data = "results/{scenario}/data/",
result_data = "results/{scenario}/results/",
scenario_figs_dir = "results/{scenario}/figures/",
cost_line_expansion_xlsx = "'resources/data/Costs Line expansion.xlsx'",
countries = config['geographic_scope'],
results_by_country = config['results_by_country'],
years = [config['endYear']],
custom_nodes = config['nodes_to_add'],
output:
expand('results/{{scenario}}/figures/{result_figure}.html', result_figure = RESULT_FIGURES)
log:
log = 'results/{scenario}/logs/visualisation.log'
shell:
'python workflow/scripts/osemosys_global/visualise.py {params.input_data} {params.result_data} {params.scenario_figs_dir} {params.cost_line_expansion_xlsx} {params.countries} {params.results_by_country} {params.years} 2> {log}'
'python workflow/scripts/osemosys_global/visualise.py {params.input_data} {params.result_data} {params.scenario_figs_dir} {params.countries} {params.results_by_country} {params.years} 2> {log}'

rule calculate_trade_flows:
message:
Expand Down
Loading

0 comments on commit 5bc8b94

Please sign in to comment.