Skip to content
Snippets Groups Projects
Commit 3e6ee29e authored by Mads M. Pedersen's avatar Mads M. Pedersen
Browse files

Resolve "crash after saving and restoring simulation and generating flowmap"

parent 21105c06
No related branches found
No related tags found
No related merge requests found
......@@ -794,6 +794,9 @@ class SimulationResult(xr.Dataset):
WS_eff_ilk=ds.WS_eff.ilk(), TI_eff_ilk=ds.TI_eff.ilk(), power_ilk=ds.Power.ilk(), ct_ilk=ds.CT.ilk(),
**{k: v.ilk() for k, v in ds.items()
if k not in {'wd_bin_size', 'ws_l', 'ws_u', 'WS_eff', 'TI_eff', 'Power', 'CT'}})
for k, v in ds.items():
if k not in sim_res:
sim_res[k] = v
return sim_res
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment