Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight support for line geometries in docstring #494

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cf_xarray/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def shapely_to_cf(geometries: xr.DataArray | Sequence, grid_mapping: str | None
Convert a DataArray with shapely geometry objects into a CF-compliant dataset.

.. warning::
Only point geometries are currently implemented.
Only point and line geometries are currently implemented.

Parameters
----------
Expand Down Expand Up @@ -143,7 +143,7 @@ def cf_to_shapely(ds: xr.Dataset):
Convert geometries stored in a CF-compliant way to shapely objects stored in a single variable.

.. warning::
Only point geometries are currently implemented.
Only point and line geometries are currently implemented.

Parameters
----------
Expand Down