File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -583,7 +583,7 @@ def cf_to_polygons(ds: xr.Dataset):
583583
584584 # get items from polygons or multipolygons depending on number of parts
585585 geoms = np .where (np .diff (offset3 ) == 1 , polygons [offset3 [:- 1 ]], multipolygons )
586-
586+
587587 return xr .DataArray (geoms , dims = node_count .dims , coords = node_count .coords )
588588
589589
@@ -597,7 +597,7 @@ def grid_to_polygons(ds: xr.Dataset) -> xr.DataArray:
597597 ----------
598598 ds : xr.Dataset
599599 Dataset with "latitude" and "longitude" variables as well as their bounds variables.
600- 1D and 2D "latitude" and "longitude" variables are supported. 1D variables will
600+ 1D and 2D "latitude" and "longitude" variables are supported. 1D variables will
601601 be broadcast against each other.
602602
603603 Returns
You can’t perform that action at this time.
0 commit comments