Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dfulu committed Oct 25, 2023
1 parent 1070238 commit c5db5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocf_datapipes/utils/geospatial.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def spatial_coord_type(ds: xr.Dataset):
y_coord: Name of the y-coordinate
"""
if isinstance(xr.Dataset, ds):
dimension_coords = set([v for k in d.keys() for v in list(ds[k].xindexes)])
dimension_coords = set([v for k in ds.keys() for v in list(ds[k].xindexes)])
elif isinstance(xr.DataArray, ds):
dimension_coords = set(ds.xindexes)
else:
Expand Down

0 comments on commit c5db5b3

Please sign in to comment.