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

Polish

parent 1727b84b
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,11 @@ import report_graph ...@@ -4,6 +4,11 @@ import report_graph
import random import random
def get_extr_coord(traj, e_overestim, SHPC, orientation): def get_extr_coord(traj, e_overestim, SHPC, orientation):
"""Get the coordinates of the extrema of instantaneous eddies along a
given trajectory.
"""
x = [] x = []
y = [] y = []
...@@ -50,7 +55,7 @@ if __name__ == "__main__": ...@@ -50,7 +55,7 @@ if __name__ == "__main__":
parser.add_argument("--annotate", action = "store_true", help = "annotate " parser.add_argument("--annotate", action = "store_true", help = "annotate "
"the first point of trajectory with node number") "the first point of trajectory with node number")
parser.add_argument("--min_duration", type = int, default = 1, parser.add_argument("--min_duration", type = int, default = 1,
help = "minimumduration of plotted trajectories (in " help = "minimum duration of plotted trajectories (in "
"time steps), >= 1") "time steps), >= 1")
args = parser.parse_args() args = parser.parse_args()
......
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