Skip to content

Commit

Permalink
Remove Nd filter from calculation of E_h
Browse files Browse the repository at this point in the history
Nd is cooling-specific only and therefore is not read in or calculating when heating is switched on. Thus the code crashes here since the Nd files are missing if only heating is run.
  • Loading branch information
measrainsey committed Dec 19, 2024
1 parent 3589696 commit 92e6b83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions message_ix_buildings/chilled/core/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1665,8 +1665,8 @@ def process_final_maps(config: "Config"):
vdd_path,
suff1 + "_" + str(parset.Index) + "_E_h" + "ALL.nc",
)
).where(Nd1 >= 0)
).load() # ******************************
)
).load()
vdd_h_in = xr.open_dataarray(
os.path.join(
vdd_path,
Expand Down

0 comments on commit 92e6b83

Please sign in to comment.