Skip to content

Commit

Permalink
Merge branch 'coord_search_fix' of https://github.com/openclimatefix/…
Browse files Browse the repository at this point in the history
…ocf_datapipes into coord_search_fix
  • Loading branch information
dfulu committed Oct 25, 2023
2 parents c5db5b3 + aeb60b9 commit 52e23a9
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 @@ -255,7 +255,7 @@ def spatial_coord_type(ds: xr.Dataset):
dimension_coords = set(ds.xindexes)
else:
raise ValueError(f"Unrecognized input type: {type(ds)}")

if "longitude" in dimension_coords:
return "lat_lon", "longitude", "latitude"
elif "x_geostationary" in dimension_coords:
Expand Down

0 comments on commit 52e23a9

Please sign in to comment.