Skip to content

Commit

Permalink
Swap dims for xarray conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
awarde96 committed Nov 13, 2024
1 parent 9a75c06 commit 76a639d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions covjsonkit/decoder/VerticalProfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ def to_xarray(self):
dims = [
"x",
"y",
"datetime",
"number",
"datetime",
"t",
"z",
]
Expand Down Expand Up @@ -158,9 +158,7 @@ def to_xarray(self):
"t": steps,
"z": z,
}
print(dims)
print(param_coords)
print(param_values[parameter])

dataarray = xr.DataArray(
[[param_values[parameter]]],
dims=dims,
Expand Down

0 comments on commit 76a639d

Please sign in to comment.