Skip to content

Commit 7423d27

Browse files
author
adelepoulle
committed
Add variable description
1 parent bac8b87 commit 7423d27

File tree

1 file changed

+14
-25
lines changed

1 file changed

+14
-25
lines changed

src/py_eddy_tracker/__init__.py

Lines changed: 14 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def parse_args(self, *args, **kwargs):
243243
description='observation sequence number (XX day intervals)',
244244
)
245245
),
246-
contour_lon=dict(
246+
contour_lon_e=dict(
247247
attr_name=None,
248248
nc_name='contour_lon',
249249
nc_type='f4',
@@ -256,7 +256,7 @@ def parse_args(self, *args, **kwargs):
256256
description='lons of contour points',
257257
)
258258
),
259-
contour_lat=dict(
259+
contour_lat_e=dict(
260260
attr_name=None,
261261
nc_name='contour_lat',
262262
nc_type='f4',
@@ -293,28 +293,6 @@ def parse_args(self, *args, **kwargs):
293293
description='lats of speed-based contour points',
294294
)
295295
),
296-
contour_e=dict(
297-
attr_name=None,
298-
nc_name='contour_e',
299-
nc_type='f4',
300-
nc_dims=('contour_points', 'Nobs',),
301-
nc_attr=dict(
302-
long_name='positions of effective contour points',
303-
description='lons/lats of effective contour points; lons (lats) '
304-
'in first (last) half of vector',
305-
)
306-
),
307-
contour_s=dict(
308-
attr_name=None,
309-
nc_name='contour_s',
310-
nc_type='f4',
311-
nc_dims=('contour_points', 'Nobs',),
312-
nc_attr=dict(
313-
long_name='positions of speed-based contour points',
314-
description='lons/lats of speed-based contour points; lons (lats) '
315-
'in first (last) half of vector',
316-
)
317-
),
318296
uavg_profile=dict(
319297
attr_name=None,
320298
nc_name='uavg_profile',
@@ -329,7 +307,18 @@ def parse_args(self, *args, **kwargs):
329307
shape_error=dict(
330308
attr_name=None,
331309
nc_name='shape_error',
332-
nc_type='f2',
310+
nc_type='u1',
311+
scale_factor=0.5,
312+
nc_dims=('Nobs',),
313+
nc_attr=dict(
314+
units='%',
315+
)
316+
),
317+
shape_error_s=dict(
318+
attr_name=None,
319+
nc_name='shape_error_s',
320+
nc_type='u1',
321+
scale_factor=0.5,
333322
nc_dims=('Nobs',),
334323
nc_attr=dict(
335324
units='%',

0 commit comments

Comments
 (0)