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

Polish

parent 812c0105
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python3 #!/usr/bin/env python3
"""This script plots on a map lines linking extrema in trajectories
and markers for the extrema. The color changes with the trajectory.
"""
import random import random
import numpy as np import numpy as np
...@@ -107,6 +112,7 @@ if __name__ == "__main__": ...@@ -107,6 +112,7 @@ if __name__ == "__main__":
with open(args.expanded_traj) as f: with open(args.expanded_traj) as f:
expanded_traj = json.load(f) expanded_traj = json.load(f)
print("Number of trajectories:", len(expanded_traj["traj"])) print("Number of trajectories:", len(expanded_traj["traj"]))
SHPC = util_eddies.SHPC_class( SHPC = util_eddies.SHPC_class(
args.SHPC, def_orient=expanded_traj["orientation"] args.SHPC, def_orient=expanded_traj["orientation"]
......
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