Skip to content

Commit 0856fa4

Browse files
committed
Remove empty long_name s
1 parent 9c15671 commit 0856fa4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

parcels/particle.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,19 +168,19 @@ def get_default_particle(spatial_dtype: np.float32 | np.float64) -> ParticleClas
168168
Variable(
169169
"lon",
170170
dtype=spatial_dtype,
171-
attrs={"long_name": "", "standard_name": "longitude", "units": "degrees_east", "axis": "X"},
171+
attrs={"standard_name": "longitude", "units": "degrees_east", "axis": "X"},
172172
),
173173
Variable("lon_nextloop", dtype=spatial_dtype, to_write=False),
174174
Variable(
175175
"lat",
176176
dtype=spatial_dtype,
177-
attrs={"long_name": "", "standard_name": "latitude", "units": "degrees_north", "axis": "Y"},
177+
attrs={"standard_name": "latitude", "units": "degrees_north", "axis": "Y"},
178178
),
179179
Variable("lat_nextloop", dtype=spatial_dtype, to_write=False),
180180
Variable(
181181
"depth",
182182
dtype=spatial_dtype,
183-
attrs={"long_name": "", "standard_name": "depth", "units": "m", "positive": "down"},
183+
attrs={"standard_name": "depth", "units": "m", "positive": "down"},
184184
),
185185
Variable("dlon", dtype=spatial_dtype, to_write=False),
186186
Variable("dlat", dtype=spatial_dtype, to_write=False),
@@ -189,7 +189,7 @@ def get_default_particle(spatial_dtype: np.float32 | np.float64) -> ParticleClas
189189
Variable(
190190
"time",
191191
dtype=_SAME_AS_FIELDSET_TIME_INTERVAL.VALUE,
192-
attrs={"long_name": "", "standard_name": "time", "units": "seconds", "axis": "T"},
192+
attrs={"standard_name": "time", "units": "seconds", "axis": "T"},
193193
),
194194
Variable("time_nextloop", dtype=_SAME_AS_FIELDSET_TIME_INTERVAL.VALUE, to_write=False),
195195
Variable(

0 commit comments

Comments
 (0)