Skip to content

Commit

Permalink
bug fix: notices IS data was missing in annual-road-transport-distanc…
Browse files Browse the repository at this point in the history
…e-demand.csv, so went over code again and realised, that transport_energy_balance wasn't complemented with fill_missing_countries_and_years and therefore in the creation of transport_energy_per_mode, IS was not computed and therefore later not used to fill jrc data
  • Loading branch information
SimonS898 committed Oct 3, 2023
1 parent b142301 commit 894b548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/transport/annual_transport_demand.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def get_all_distance_efficiency(
energy_balances, cat_name, energy_df, distance_df, unique_dim, other_transport_road=0
):

transport_energy_balance = (
transport_energy_balance = fill_missing_countries_and_years(
energy_balances
.xs(cat_name)
.unstack('carrier_code')
Expand Down

0 comments on commit 894b548

Please sign in to comment.