We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 210e997 commit 8d55b50Copy full SHA for 8d55b50
cf_xarray/helpers.py
@@ -123,14 +123,15 @@ def vertices_to_bounds(
123
Parameters
124
----------
125
vertices : DataArray
126
- The bounds to convert. Must be of shape (N, 2) or (N, M, 4).
+ The vertices to convert. Must be of shape (N + 1) or (N + 1, M + 1).
127
out_dims : Sequence[str],
128
The name of the dimension in the output. The first is the 'bounds'
129
dimension and the following are the coordinate dimensions.
130
131
Returns
132
-------
133
DataArray
134
+ Either of shape (2, N) or (4, N, M).
135
136
References
137
0 commit comments