Skip to content

Commit abae577

Browse files
committed
fix order of lat lon
1 parent 2734d3b commit abae577

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

uxarray/cross_sections/dataarray_accessor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ def __call__(
131131
coords[new_dim] = np.arange(steps)
132132

133133
# attach lat/lon vectors
134-
coords["lat"] = (new_dim, points_latlon[:, 0])
135-
coords["lon"] = (new_dim, points_latlon[:, 1])
134+
coords["lat"] = (new_dim, points_latlon[:, 1])
135+
coords["lon"] = (new_dim, points_latlon[:, 0])
136136

137137
return xr.DataArray(
138138
data,

0 commit comments

Comments
 (0)