Skip to content

Commit 0291802

Browse files
authored
Update cf_xarray/geometry.py
1 parent 5cd6013 commit 0291802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cf_xarray/geometry.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ def cf_to_polygons(ds: xr.Dataset):
587587
return xr.DataArray(geoms, dims=node_count.dims, coords=node_count.coords)
588588

589589

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

0 commit comments

Comments
 (0)