Skip to content

Commit 9ccb894

Browse files
committed
dev
1 parent 14d7ba1 commit 9ccb894

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed

cf/field.py

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3006,48 +3006,6 @@ def close(self):
30063006
removed_at="5.0.0",
30073007
) # pragma: no cover
30083008

3009-
# def iscyclic(self, *identity, **filter_kwargs):
3010-
# """Returns True if the specified axis is cyclic.
3011-
#
3012-
# .. versionadded:: 1.0
3013-
#
3014-
# .. seealso:: `axis`, `cyclic`, `period`, `domain_axis`
3015-
#
3016-
# :Parameters:
3017-
#
3018-
# identity, filter_kwargs: optional
3019-
# Select the unique domain axis construct returned by
3020-
# ``f.domain_axis(*identity, **filter_kwargs)``. See
3021-
# `domain_axis` for details.
3022-
#
3023-
# :Returns:
3024-
#
3025-
# `bool`
3026-
# True if the selected axis is cyclic, otherwise False.
3027-
#
3028-
# **Examples**
3029-
#
3030-
# >>> f.iscyclic('X')
3031-
# True
3032-
# >>> f.iscyclic('latitude')
3033-
# False
3034-
#
3035-
# >>> x = f.iscyclic('long_name=Latitude')
3036-
# >>> x = f.iscyclic('dimensioncoordinate1')
3037-
# >>> x = f.iscyclic('domainaxis2')
3038-
# >>> x = f.iscyclic('key%domainaxis2')
3039-
# >>> x = f.iscyclic('ncdim%y')
3040-
# >>> x = f.iscyclic(2)
3041-
#
3042-
# """
3043-
# axis = self.domain_axis(
3044-
# *identity, key=True, default=None, **filter_kwargs
3045-
# )
3046-
# if axis is None:
3047-
# raise ValueError("Can't identify unique domain axis")
3048-
#
3049-
# return axis in self.cyclic()
3050-
30513009
def weights(
30523010
self,
30533011
weights=True,

0 commit comments

Comments
 (0)