Skip to content

Commit f5c0f0b

Browse files
changes in netcdf variables attributes (AntSimi#62)
* minor changes in netcdf variables attributes * change longname in long_name
1 parent ed41832 commit f5c0f0b

File tree

1 file changed

+22
-23
lines changed

1 file changed

+22
-23
lines changed

src/py_eddy_tracker/__init__.py

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def parse_args(self, *args, **kwargs):
132132
nc_dims=("obs",),
133133
nc_attr=dict(
134134
long_name="Rotating sense of the eddy",
135-
comment="Cyclonic -1; Anti-cyclonic +1",
135+
comment="Cyclonic -1; Anticyclonic +1",
136136
),
137137
),
138138
segment_size=dict(
@@ -197,7 +197,7 @@ def parse_args(self, *args, **kwargs):
197197
nc_attr=dict(
198198
units="degrees_east",
199199
axis="X",
200-
comment="Longitude center of the fit circle",
200+
comment="Longitude center of the best fit circle",
201201
long_name="Eddy Center Longitude",
202202
standard_name="longitude",
203203
),
@@ -214,7 +214,7 @@ def parse_args(self, *args, **kwargs):
214214
axis="Y",
215215
long_name="Eddy Center Latitude",
216216
standard_name="latitude",
217-
comment="Latitude center of the fit circle",
217+
comment="Latitude center of the best fit circle",
218218
),
219219
),
220220
lon_max=dict(
@@ -268,7 +268,7 @@ def parse_args(self, *args, **kwargs):
268268
nc_attr=dict(
269269
long_name="Speed area",
270270
units="m^2",
271-
comment="Area enclosed by speed contour in m^2",
271+
comment="Area enclosed by the speed contour in m^2",
272272
),
273273
),
274274
effective_area=dict(
@@ -279,7 +279,7 @@ def parse_args(self, *args, **kwargs):
279279
nc_attr=dict(
280280
long_name="Effective area",
281281
units="m^2",
282-
comment="Area enclosed by effective contour in m^2",
282+
comment="Area enclosed by the effective contour in m^2",
283283
),
284284
),
285285
speed_average=dict(
@@ -307,7 +307,7 @@ def parse_args(self, *args, **kwargs):
307307
nc_attr=dict(
308308
long_name="Radial Speed Profile",
309309
units="m/s",
310-
comment="Speed average values from effective contour inwards to smallest contour, evenly spaced points",
310+
comment="Speed averaged values from the effective contour inwards to the smallest contour, evenly spaced points",
311311
),
312312
),
313313
i=dict(
@@ -346,7 +346,7 @@ def parse_args(self, *args, **kwargs):
346346
nc_attr=dict(
347347
long_name="Effective Radius",
348348
units="m",
349-
comment="Radius of a circle whose area is equal to that enclosed by the effective contour",
349+
comment="Radius of the best fit circle corresponding to the effective contour",
350350
),
351351
),
352352
radius_s=dict(
@@ -360,8 +360,7 @@ def parse_args(self, *args, **kwargs):
360360
nc_attr=dict(
361361
long_name="Speed Radius",
362362
units="m",
363-
comment="Radius of a circle whose area is equal to that "
364-
"enclosed by the contour of maximum circum-average speed",
363+
comment="Radius of the best fit circle corresponding to the contour of maximum circum-average speed",
365364
),
366365
),
367366
track=dict(
@@ -389,8 +388,8 @@ def parse_args(self, *args, **kwargs):
389388
nc_type="int32",
390389
nc_dims=("obs",),
391390
nc_attr=dict(
392-
long_name="Previous obs index",
393-
comment="Index of previous obs, if there are a spliting",
391+
long_name="Previous observation index",
392+
comment="Index of previous observation in a spliting case",
394393
),
395394
),
396395
next_obs=dict(
@@ -399,8 +398,8 @@ def parse_args(self, *args, **kwargs):
399398
nc_type="int32",
400399
nc_dims=("obs",),
401400
nc_attr=dict(
402-
long_name="Next obs index",
403-
comment="Index of next obs, if there are a merging",
401+
long_name="Next observation index",
402+
comment="Index of next observation in a merging case",
404403
),
405404
),
406405
previous_cost=dict(
@@ -409,7 +408,7 @@ def parse_args(self, *args, **kwargs):
409408
nc_type="float32",
410409
nc_dims=("obs",),
411410
nc_attr=dict(
412-
long_name="Previous cost for previous obs",
411+
long_name="Previous cost for previous observation",
413412
comment="",
414413
),
415414
),
@@ -419,7 +418,7 @@ def parse_args(self, *args, **kwargs):
419418
nc_type="float32",
420419
nc_dims=("obs",),
421420
nc_attr=dict(
422-
long_name="Next cost for next obs",
421+
long_name="Next cost for next observation",
423422
comment="",
424423
),
425424
),
@@ -473,9 +472,9 @@ def parse_args(self, *args, **kwargs):
473472
nc_type="u2",
474473
nc_dims=("obs",),
475474
nc_attr=dict(
476-
longname="number of point for effective contour",
475+
long_name="number of points for effective contour",
477476
units="ordinal",
478-
description="Number of point for effective contour, if greater than NbSample, there is a resampling",
477+
description="Number of point for effective contour before resampling",
479478
),
480479
),
481480
contour_lon_s=dict(
@@ -517,9 +516,9 @@ def parse_args(self, *args, **kwargs):
517516
nc_type="u2",
518517
nc_dims=("obs",),
519518
nc_attr=dict(
520-
longname="number of point for speed contour",
519+
long_name="number of point for speed contour",
521520
units="ordinal",
522-
description="Number of point for speed contour, if greater than NbSample, there is a resampling",
521+
description="Number of point for speed contour before resampling",
523522
),
524523
),
525524
shape_error_e=dict(
@@ -532,8 +531,8 @@ def parse_args(self, *args, **kwargs):
532531
nc_dims=("obs",),
533532
nc_attr=dict(
534533
units="%",
535-
comment="Error criterion between the effective contour and its fit with the circle of same effective radius",
536-
long_name="Effective Contour Error",
534+
comment="Error criterion between the effective contour and its best fit circle",
535+
long_name="Effective Contour Shape Error",
537536
),
538537
),
539538
score=dict(
@@ -566,8 +565,8 @@ def parse_args(self, *args, **kwargs):
566565
nc_dims=("obs",),
567566
nc_attr=dict(
568567
units="%",
569-
comment="Error criterion between the speed contour and its fit with the circle of same speed radius",
570-
long_name="Speed Contour Error",
568+
comment="Error criterion between the speed contour and its best fit circle",
569+
long_name="Speed Contour Shape Error",
571570
),
572571
),
573572
height_max_speed_contour=dict(

0 commit comments

Comments
 (0)