Skip to content

Commit a0e1db5

Browse files
committed
Remove unnecessary redundant statement ('Class') from Class docstrings to match Google style guide
1 parent 1429fcc commit a0e1db5

13 files changed

Lines changed: 14 additions & 14 deletions

File tree

dabench/data/_barotropic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030

3131

3232
class Barotropic(_data.Data):
33-
""" Class to set up barotropic model
33+
"""Barotropic model data generator based on pyqg
3434
35-
The data class is a wrapper of a "optional" pyqg package.
35+
This data class is a wrapper of a "optional" pyqg package.
3636
See https://pyqg.readthedocs.io
3737
3838
Notes:

dabench/data/_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
ArrayLike = np.ndarray | jax.Array
1717

1818
class Data():
19-
"""Generic class for data generator objects.
19+
"""Base for all data generator objects.
2020
2121
Args:
2222
system_dim: system dimension

dabench/data/_enso_indices.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
class ENSOIndices(_data.Data):
17-
"""Class to get ENSO indices from CPC website
17+
"""Gets ENSO indices from CPC website
1818
1919
Notes:
2020
Source: https://www.cpc.ncep.noaa.gov/data/indices/

dabench/data/_gcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919

2020
class GCP(_data.Data):
21-
"""Class for loading ERA5 data from Google Cloud Platform
21+
"""Loads ERA5 data from Google Cloud Platform
2222
2323
Notes:
2424
Source: https://cloud.google.com/storage/docs/public-datasets/era5

dabench/data/_lorenz63.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
ArrayLike = np.ndarray | jax.Array
1414

1515
class Lorenz63(_data.Data):
16-
""" Class to set up Lorenz 63 model data
16+
"""Lorenz 63 model data generator.
1717
1818
Args:
1919
sigma: Lorenz 63 param. Default is 10., the original value

dabench/data/_lorenz96.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
class Lorenz96(_data.Data):
16-
"""Class to set up Lorenz 96 model data.
16+
"""Lorenz 96 model data generator.
1717
1818
Notes:
1919
Default values come from Lorenz, 1996:

dabench/data/_pyqg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626

2727
class PyQG(_data.Data):
28-
""" Class to set up quasi-geotropic model
28+
"""PyQG quasi-geotropic model data generator.
2929
3030
The PyQG class is simply a wrapper of a "optional" pyqg package.
3131
See https://pyqg.readthedocs.io

dabench/data/_pyqg_jax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333

3434
class PyQGJax(_data.Data):
35-
"""Class to set up quasi-geotropic model
35+
"""PyQGJax quasi-geotropic model data generator.
3636
3737
The PyQGJax class is simply a wrapper of the "optional" pyqg-jax package.
3838
See https://pyqg-jax.readthedocs.io

dabench/data/_qgs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434

3535
class QGS(_data.Data):
36-
""" Class to set up QGS quasi-geostrophic model
36+
"""QGS quasi-geostrophic model data generator.
3737
3838
The QGS class is simply a wrapper of an *optional* qgs package.
3939
See https://qgs.readthedocs.io/

dabench/data/_sqgturb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151

5252
class SQGTurb(_data.Data):
53-
"""Class to set up SQGTurb model and manage data.
53+
"""SQGTurb model data generator.
5454
5555
Args:
5656
pv: Potential vorticity array. If None (default),

0 commit comments

Comments
 (0)