Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Aug 4, 2023
2 parents 57a9e86 + f3b8825 commit 25b9c49
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions premise/fuels.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,15 @@ def __init__(
}

self.iam_fuel_markets = self.iam_data.production_volumes.sel(
variables=[g for g in [item for sublist in list(self.fuel_groups.values()) for item in sublist]
if g in self.iam_data.production_volumes.variables.values.tolist()
]
variables=[
g
for g in [
item
for sublist in list(self.fuel_groups.values())
for item in sublist
]
if g in self.iam_data.production_volumes.variables.values.tolist()
]
)

self.fuel_efficiencies = xr.DataArray(
Expand Down

0 comments on commit 25b9c49

Please sign in to comment.