Skip to content

Commit

Permalink
Update cf_xarray/geometry.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian authored Jun 20, 2024
1 parent 5cd6013 commit 0291802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cf_xarray/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ def cf_to_polygons(ds: xr.Dataset):
return xr.DataArray(geoms, dims=node_count.dims, coords=node_count.coords)


def grid_to_polygons(ds: xr.Dataset) -> xr.DataArray:
def bounds_to_polygons(ds: xr.Dataset) -> xr.DataArray:
"""
Converts the bounds of a regular 2D lat/lon grid to a 2D array of shapely polygons.
Expand Down

0 comments on commit 0291802

Please sign in to comment.