Skip to content

Commit 2023f5a

Browse files
committed
dev
1 parent 054b272 commit 2023f5a

20 files changed

+20
-375
lines changed

cf/auxiliarycoordinate.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,3 @@ def __new__(cls, *args, **kwargs):
4545
instance = super().__new__(cls)
4646
instance._Bounds = Bounds
4747
return instance
48-
49-
def __repr__(self):
50-
"""Called by the `repr` built-in function.
51-
52-
x.__repr__() <==> repr(x)
53-
54-
"""
55-
return super().__repr__().replace("<", "<CF ", 1)

cf/bounds.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,6 @@ class Bounds(mixin.Coordinate, mixin.PropertiesData, cfdm.Bounds):
3535
3636
"""
3737

38-
def __repr__(self):
39-
"""Called by the `repr` built-in function.
40-
41-
x.__repr__() <==> repr(x)
42-
43-
"""
44-
return super().__repr__().replace("<", "<CF ", 1)
45-
4638
def contiguous(self, overlap=True, direction=None, period=None, verbose=1):
4739
"""Return True if the bounds are contiguous.
4840

cf/cellconnectivity.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,6 @@ class CellConnectivity(mixin.PropertiesData, cfdm.CellConnectivity):
5959
6060
"""
6161

62-
def __repr__(self):
63-
"""Called by the `repr` built-in function.
64-
65-
x.__repr__() <==> repr(x)
66-
67-
"""
68-
return super().__repr__().replace("<", "<CF ", 1)
69-
7062
@property
7163
def connectivity(self):
7264
"""The connectivity type.

cf/cellmeasure.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,6 @@ class CellMeasure(mixin.PropertiesData, cfdm.CellMeasure):
3131
3232
"""
3333

34-
def __repr__(self):
35-
"""Called by the `repr` built-in function.
36-
37-
x.__repr__() <==> repr(x)
38-
39-
"""
40-
return super().__repr__().replace("<", "<CF ", 1)
41-
4234
# ----------------------------------------------------------------
4335
# Attributes
4436
# ----------------------------------------------------------------

cf/count.py

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,4 @@
44

55

66
class Count(mixin.PropertiesData, cfdm.Count):
7-
"""A count variable required to uncompress a ragged array.
8-
9-
A collection of features stored using a contiguous ragged array
10-
combines all features along a single dimension (the sample
11-
dimension) such that each feature in the collection occupies a
12-
contiguous block.
13-
14-
The information needed to uncompress the data is stored in a count
15-
variable that gives the size of each block.
16-
17-
**NetCDF interface**
18-
19-
The netCDF variable name of the count variable may be accessed
20-
with the `nc_set_variable`, `nc_get_variable`, `nc_del_variable`
21-
and `nc_has_variable` methods.
22-
23-
The name of the netCDF dimension spanned by the count variable's
24-
data may be accessed with the `nc_set_dimension`,
25-
`nc_get_dimension`, `nc_del_dimension` and `nc_has_dimension`
26-
methods.
27-
28-
The name of the netCDF sample dimension spanned by the compressed
29-
data (that is stored in the "sample_dimension" netCDF attribute
30-
and which does not correspond to a domain axis construct) may be
31-
accessed with the `nc_set_sample_dimension`,
32-
`nc_get_sample_dimension`, `nc_del_sample_dimension` and
33-
`nc_has_sample_dimension` methods.
34-
35-
.. versionadded:: 3.0.0
36-
37-
"""
38-
39-
def __repr__(self):
40-
"""Called by the `repr` built-in function.
41-
42-
x.__repr__() <==> repr(x)
43-
44-
"""
45-
return super().__repr__().replace("<", "<CF ", 1)
7+
pass

cf/data/data.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -777,14 +777,6 @@ def __bool__(self):
777777

778778
return bool(self.to_dask_array())
779779

780-
def __repr__(self):
781-
"""Called by the `repr` built-in function.
782-
783-
x.__repr__() <==> repr(x)
784-
785-
"""
786-
return super().__repr__().replace("<", "<CF ", 1)
787-
788780
def __getitem__(self, indices):
789781
"""Return a subspace of the data defined by indices.
790782

cf/dimensioncoordinate.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,6 @@ def __init__(
110110
if chars is not None:
111111
self._set_component("cell_characteristics", chars, copy=False)
112112

113-
def __repr__(self):
114-
"""Called by the `repr` built-in function.
115-
116-
x.__repr__() <==> repr(x)
117-
118-
"""
119-
return super().__repr__().replace("<", "<CF ", 1)
120-
121113
def _centre(self, period):
122114
"""It assumed, but not checked, that the period has been set.
123115

cf/domain.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,6 @@ def __new__(cls, *args, **kwargs):
8787
instance._AuxiliaryCoordinate = AuxiliaryCoordinate
8888
return instance
8989

90-
def __repr__(self):
91-
"""Called by the `repr` built-in function.
92-
93-
x.__repr__() <==> repr(x)
94-
95-
"""
96-
return super().__repr__().replace("<", "<CF ", 1)
97-
9890
@property
9991
def _cyclic(self):
10092
"""Storage for axis cyclicity.

cf/domainancillary.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,3 @@ def __new__(cls, *args, **kwargs):
3232
instance = super().__new__(cls)
3333
instance._Bounds = Bounds
3434
return instance
35-
36-
def __repr__(self):
37-
"""Called by the `repr` built-in function.
38-
39-
x.__repr__() <==> repr(x)
40-
41-
"""
42-
return super().__repr__().replace("<", "<CF ", 1)

cf/domaintopology.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,6 @@ class DomainTopology(mixin.PropertiesData, cfdm.DomainTopology):
110110
111111
"""
112112

113-
def __repr__(self):
114-
"""Called by the `repr` built-in function.
115-
116-
x.__repr__() <==> repr(x)
117-
118-
"""
119-
return super().__repr__().replace("<", "<CF ", 1)
120-
121113
@property
122114
def cell(self):
123115
"""The cell type.

0 commit comments

Comments
 (0)