@@ -99,17 +99,8 @@ def parse_args(self, *args, **kwargs):
9999 units = 'days since 1950-01-01 00:00:00' ,
100100 calendar = 'proleptic_gregorian' ,
101101 axis = 'T' ,
102- longname = 'time of gridded file' ,
103- description = 'date of this observation' ,
104- )
105- ),
106- ocean_time = dict (
107- attr_name = None ,
108- nc_name = 'ocean_time' ,
109- nc_type = 'float64' ,
110- nc_dims = ('obs' ,),
111- nc_attr = dict (
112- units = 'ROMS ocean_time (seconds)' ,
102+ longname = 'Time' ,
103+ description = 'Date of this observation' ,
113104 )
114105 ),
115106 type_cyc = dict (
@@ -121,7 +112,7 @@ def parse_args(self, *args, **kwargs):
121112 nc_attr = dict (
122113 longname = 'cyclonic' ,
123114 units = 'boolean' ,
124- description = 'cyclonic -1; anti-cyclonic +1' ,
115+ description = 'Cyclonic -1; anti-cyclonic +1' ,
125116 )
126117 ),
127118 segment_size = dict (
@@ -147,13 +138,15 @@ def parse_args(self, *args, **kwargs):
147138 ),
148139 virtual = dict (
149140 attr_name = None ,
150- nc_name = 'virtual' ,
141+ nc_name = 'observation_flag' ,
142+ old_nc_name = ['virtual' ],
151143 nc_type = 'byte' ,
152144 nc_dims = ('obs' ,),
153145 nc_attr = dict (
154146 longname = 'virtual_position' ,
155147 units = 'boolean' ,
156- description = 'Virtual observation: 0 for real' ,
148+ description = 'Flag indicating if the value is interpolated between two'
149+ ' observations or not (0: observed, 1: interpolated)' ,
157150 )
158151 ),
159152 cost_association = dict (
@@ -176,7 +169,7 @@ def parse_args(self, *args, **kwargs):
176169 nc_attr = dict (
177170 units = 'degrees_east' ,
178171 axis = 'X' ,
179- description = 'observation longitude' ,
172+ description = 'Observation longitude' ,
180173 longname = 'longitude of measurement' ,
181174 standard_name = 'longitude' ,
182175 )
@@ -193,7 +186,7 @@ def parse_args(self, *args, **kwargs):
193186 axis = 'Y' ,
194187 longname = 'latitude of measurement' ,
195188 standard_name = 'latitude' ,
196- description = 'observation latitude' ,
189+ description = 'Observation latitude' ,
197190 )
198191 ),
199192 lon_max = dict (
@@ -206,7 +199,7 @@ def parse_args(self, *args, **kwargs):
206199 nc_attr = dict (
207200 units = 'degrees_east' ,
208201 axis = 'X' ,
209- description = 'observation longitude' ,
202+ description = 'Observation longitude' ,
210203 longname = 'longitude of amplitude max' ,
211204 standard_name = 'longitude' ,
212205 )
@@ -221,7 +214,7 @@ def parse_args(self, *args, **kwargs):
221214 nc_attr = dict (
222215 units = 'degrees_north' ,
223216 axis = 'Y' ,
224- description = 'observation latitude' ,
217+ description = 'Observation latitude' ,
225218 longname = 'latitude of amplitude max' ,
226219 standard_name = 'latitude' ,
227220 )
@@ -237,7 +230,7 @@ def parse_args(self, *args, **kwargs):
237230 nc_attr = dict (
238231 longname = 'amplitude' ,
239232 units = 'm' ,
240- description = 'magnitude of the height difference between the extremum of ADT within '
233+ description = 'Magnitude of the height difference between the extremum of ADT within '
241234 'the eddy and the ADT around the contour defining the eddy perimeter' ,
242235 )
243236 ),
@@ -252,8 +245,7 @@ def parse_args(self, *args, **kwargs):
252245 nc_attr = dict (
253246 longname = 'maximum circum-averaged speed' ,
254247 units = 'm/s' ,
255- description = 'average speed of the contour defining the '
256- 'speed radius' ,
248+ description = 'Average speed of the contour defining the radius scale “speed_radius”' ,
257249 )
258250 ),
259251 uavg_profile = dict (
@@ -266,7 +258,7 @@ def parse_args(self, *args, **kwargs):
266258 nc_attr = dict (
267259 longname = 'radial profile of uavg' ,
268260 units = 'm/s' ,
269- description = 'profile speed average values from effective contour inwards to smallest inner contour' ,
261+ description = 'Speed average values from effective contour inwards to smallest inner contour' ,
270262 )
271263 ),
272264 i = dict (
@@ -276,7 +268,7 @@ def parse_args(self, *args, **kwargs):
276268 nc_dims = ('obs' ,),
277269 nc_attr = dict (
278270 longname = 'longitude index in the grid of the detection' ,
279- description = 'longitude index in the grid of the detection' ,
271+ description = 'Longitude index in the grid of the detection' ,
280272 )
281273 ),
282274 j = dict (
@@ -286,7 +278,7 @@ def parse_args(self, *args, **kwargs):
286278 nc_dims = ('obs' ,),
287279 nc_attr = dict (
288280 longname = 'latitude index in the grid of the detection' ,
289- description = 'latitude index in the grid of the detection' ,
281+ description = 'Latitude index in the grid of the detection' ,
290282 )
291283 ),
292284 eke = dict (
@@ -297,7 +289,7 @@ def parse_args(self, *args, **kwargs):
297289 nc_attr = dict (
298290 longname = 'sum EKE within contour Ceff' ,
299291 units = 'm^2/s^2' ,
300- description = 'sum of eddy kinetic energy within contour '
292+ description = 'Sum of eddy kinetic energy within contour '
301293 'defining the effective radius' ,
302294 )
303295 ),
@@ -312,7 +304,7 @@ def parse_args(self, *args, **kwargs):
312304 nc_attr = dict (
313305 longname = 'effective radius scale' ,
314306 units = 'm' ,
315- description = 'radius of a circle whose area is equal to that enclosed by the effective contour' ,
307+ description = 'Radius of a circle whose area is equal to that enclosed by the effective contour' ,
316308 )
317309 ),
318310 radius_s = dict (
@@ -326,7 +318,7 @@ def parse_args(self, *args, **kwargs):
326318 nc_attr = dict (
327319 longname = 'speed radius scale' ,
328320 units = 'm' ,
329- description = 'radius of a circle whose area is equal to that enclosed by the contour of maximum circum-average speed' ,
321+ description = 'Radius of a circle whose area is equal to that enclosed by the contour of maximum circum-average speed' ,
330322 )
331323 ),
332324 track = dict (
@@ -337,7 +329,7 @@ def parse_args(self, *args, **kwargs):
337329 nc_attr = dict (
338330 longname = 'track number' ,
339331 units = 'ordinal' ,
340- description = 'eddy identification number' ,
332+ description = 'Eddy identification number' ,
341333 )
342334 ),
343335 n = dict (
@@ -349,7 +341,7 @@ def parse_args(self, *args, **kwargs):
349341 nc_attr = dict (
350342 longname = 'observation number' ,
351343 units = 'ordinal' ,
352- description = 'observation sequence number, days from eddy start ' ,
344+ description = 'Observation sequence number, days from eddy first detection ' ,
353345 )
354346 ),
355347 contour_lon_e = dict (
@@ -363,7 +355,7 @@ def parse_args(self, *args, **kwargs):
363355 nc_dims = ('obs' , 'NbSample' ),
364356 nc_attr = dict (
365357 longname = 'effective contour longitudes' ,
366- description = 'longitudes of effective contour' ,
358+ description = 'Longitudes of effective contour' ,
367359 units = 'degrees_east' ,
368360 axis = 'X' ,
369361 )
@@ -378,7 +370,7 @@ def parse_args(self, *args, **kwargs):
378370 nc_dims = ('obs' , 'NbSample' ),
379371 nc_attr = dict (
380372 longname = 'effective contour latitudes' ,
381- description = 'latitudes of effective contour' ,
373+ description = 'Latitudes of effective contour' ,
382374 units = 'degrees_east' ,
383375 axis = 'X' ,
384376 )
@@ -394,7 +386,7 @@ def parse_args(self, *args, **kwargs):
394386 nc_dims = ('obs' , 'NbSample' ),
395387 nc_attr = dict (
396388 longname = 'speed contour longitudes' ,
397- description = 'longitudes of speed contour' ,
389+ description = 'Longitudes of speed contour' ,
398390 units = 'degrees_east' ,
399391 axis = 'X' ,
400392 )
@@ -409,7 +401,7 @@ def parse_args(self, *args, **kwargs):
409401 nc_dims = ('obs' , 'NbSample' ),
410402 nc_attr = dict (
411403 longname = 'speed contour latitudes' ,
412- description = 'latitudes of speed contour' ,
404+ description = 'Latitudes of speed contour' ,
413405 units = 'degrees_east' ,
414406 axis = 'X' ,
415407 )
@@ -480,11 +472,14 @@ def parse_args(self, *args, **kwargs):
480472 ),
481473 nb_contour_selected = dict (
482474 attr_name = None ,
483- nc_name = 'nb_contour_selected' ,
475+ nc_name = 'num_contours' ,
476+ old_nc_name = ['nb_contour_selected' ],
484477 nc_type = 'u2' ,
485478 nc_dims = ('obs' ,),
486479 nc_attr = dict (
487- units = '1' ,
480+ longname = 'number of contour' ,
481+ units = 'ordinal' ,
482+ description = 'Number of contour selected for this eddy' ,
488483 )
489484 ),
490485 )
0 commit comments