Skip to content

Commit 5ee1bc7

Browse files
authored
Highlight support for line geometries in docstring (#494)
1 parent 548ec97 commit 5ee1bc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cf_xarray/geometry.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def shapely_to_cf(geometries: xr.DataArray | Sequence, grid_mapping: str | None
7676
Convert a DataArray with shapely geometry objects into a CF-compliant dataset.
7777
7878
.. warning::
79-
Only point geometries are currently implemented.
79+
Only point and line geometries are currently implemented.
8080
8181
Parameters
8282
----------
@@ -143,7 +143,7 @@ def cf_to_shapely(ds: xr.Dataset):
143143
Convert geometries stored in a CF-compliant way to shapely objects stored in a single variable.
144144
145145
.. warning::
146-
Only point geometries are currently implemented.
146+
Only point and line geometries are currently implemented.
147147
148148
Parameters
149149
----------

0 commit comments

Comments
 (0)