Skip to content

Commit 0930741

Browse files
CoriPegliascoAntSimi
authored andcommitted
- precisions on lon/lat max
- full colors for contour rejection
1 parent 89e6488 commit 0930741

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

examples/01_general_things/pet_storage.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,3 @@
107107

108108
# %%
109109
# Networks are ordered by increasing network number (`track`), then increasing segment number, then increasing time
110-

src/py_eddy_tracker/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ def parse_args(self, *args, **kwargs):
229229
axis="X",
230230
long_name="Longitude of the SSH maximum",
231231
standard_name="longitude",
232+
comment="Longitude of the inner contour",
232233
),
233234
),
234235
lat_max=dict(
@@ -243,6 +244,7 @@ def parse_args(self, *args, **kwargs):
243244
axis="Y",
244245
long_name="Latitude of the SSH maximum",
245246
standard_name="latitude",
247+
comment="Latitude of the inner contour",
246248
),
247249
),
248250
amplitude=dict(

src/py_eddy_tracker/eddy_feature.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,13 @@ def display(
651651
if not overide_color:
652652
ax.add_collection(LineCollection(paths, **local_kwargs))
653653
if display_criterion:
654-
colors = {0: "g", 1: "r", 2: "b", 3: "k", 4: "y"}
654+
colors = {
655+
0: "limegreen",
656+
1: "red",
657+
2: "mediumblue",
658+
3: "black",
659+
4: "gold",
660+
}
655661
for k, v in paths.items():
656662
local_kwargs = kwargs.copy()
657663
local_kwargs.pop("label", None)

0 commit comments

Comments
 (0)