Skip to content

Commit

Permalink
Fix grid.to_xarray()
Browse files Browse the repository at this point in the history
  • Loading branch information
syedhamidali committed Aug 29, 2024
1 parent 89efaf5 commit 0272e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyart/core/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ def _process_radar_name(radar_name):

if self.radar_name is not None:
radar_name = _process_radar_name(self.radar_name["data"])
ds["radar_name"] = xarray.DataArray(
ds.coords["radar_name"] = xarray.DataArray(
radar_name, dims=("nradar"), attrs=get_metadata("radar_name")
)
else:
Expand Down

0 comments on commit 0272e7b

Please sign in to comment.