crash after saving and restoring simulation and generating flowmap
Using this code to dump:
guid = str(uuid.uuid4())
folder_path = os.path.join(tempfile.gettempdir(), guid)
os.mkdir(folder_path)
sim_res.save(os.path.join(folder_path, "pywake_simulation_result"))
and this code to restore:
sim_res = SimulationResult.load(
os.path.join(folder_path, "pywake_simulation_result"),
wf_model
)
Calling flow_map
function on the loaded sim_res crash, something about missing x
and y
datasets.