Skip to content
Snippets Groups Projects
Commit 0c5baabf authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Save orientation of eddies in `expanded_traj.json`

parent 49b65e96
No related branches found
No related tags found
No related merge requests found
...@@ -203,7 +203,8 @@ with open("traj_segm.json", "w") as outfile: ...@@ -203,7 +203,8 @@ with open("traj_segm.json", "w") as outfile:
print("Created traj_segm.json.") print("Created traj_segm.json.")
with open("expanded_traj.json", "w") as outfile: with open("expanded_traj.json", "w") as outfile:
json.dump({"e_overestim": g.gp.e_overestim, "traj": expanded_traj}, json.dump({"orientation": g.gp.orientation,
"e_overestim": g.gp.e_overestim, "traj": expanded_traj},
outfile, separators = (',', ':')) outfile, separators = (',', ':'))
print("Created expanded_traj.json.") print("Created expanded_traj.json.")
......
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