We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cd6013 commit 0291802Copy full SHA for 0291802
cf_xarray/geometry.py
@@ -587,7 +587,7 @@ def cf_to_polygons(ds: xr.Dataset):
587
return xr.DataArray(geoms, dims=node_count.dims, coords=node_count.coords)
588
589
590
-def grid_to_polygons(ds: xr.Dataset) -> xr.DataArray:
+def bounds_to_polygons(ds: xr.Dataset) -> xr.DataArray:
591
"""
592
Converts the bounds of a regular 2D lat/lon grid to a 2D array of shapely polygons.
593
0 commit comments