Skip to content

Commit

Permalink
Return default nc-path definition
Browse files Browse the repository at this point in the history
  • Loading branch information
ekatef committed May 25, 2024
1 parent 4c5974d commit e63f6b3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/build_demand_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,13 @@ def get_load_paths_gegis(ssp_parentfolder, config, check_existence=False):
logger.warning(
f"No demand data file for {set(region_load).difference(avail_regions)}. An assumed load folder {load_dir}."
)
else:
for continent in region_load:
load_path = os.path.join(
load_dir,
str(continent) + ".nc",
)
load_paths.append(load_path)

return load_paths

Expand Down

0 comments on commit e63f6b3

Please sign in to comment.