Skip to content

Commit adfa55a

Browse files
Fix typos in code docs highlighted by spelling check build
1 parent da4c778 commit adfa55a

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

cf/data/array/umarray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ def get_byte_ordering(self):
635635
636636
`str` or `None`
637637
``'little_endian'`` or ``'big_endian'``. If the byte
638-
ordereing has not been set then `None` is returned, in
638+
ordering has not been set then `None` is returned, in
639639
which case byte ordering will be detected
640640
automatically (if possible) when the file is opened
641641
with `open`.

cf/dimensioncoordinate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def anchor(self, value, cell=False, parameters=None, inplace=False):
279279
units as the coordinates.
280280
281281
The coordinate values are transformed so the first
282-
corodinate is the closest to *value* from above (for
282+
coordinate is the closest to *value* from above (for
283283
increasing coordinates), or the closest to *value* from
284284
above (for decreasing coordinates)
285285
@@ -328,7 +328,7 @@ def anchor(self, value, cell=False, parameters=None, inplace=False):
328328
329329
parameters: `dict`, optional
330330
If a `dict` is provided then it will be updated
331-
in-place with parameters which describe thethe
331+
in-place with parameters which describe the
332332
anchoring process.
333333
334334
{{inplace: `bool`, optional}}

cf/domaintopology.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class DomainTopology(mixin.PropertiesData, cfdm.DomainTopology):
8585
cells define each face cell). The CF data model has no mechanism
8686
for explicitly recording such relationships between multiple
8787
domain constructs, however whether or not two domains have the
88-
same mesh may be reliably deternined by inspection, thereby
88+
same mesh may be reliably determined by inspection, thereby
8989
allowing the creation of netCDF datasets containing UGRID mesh
9090
topology variables.
9191

cf/field.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4781,7 +4781,7 @@ def bin(
47814781
names.append(dim.identity())
47824782

47834783
# ------------------------------------------------------------
4784-
# Initialise the ouput data as a totally masked array
4784+
# Initialise the output data as a totally masked array
47854785
# ------------------------------------------------------------
47864786
if method == "sample_size":
47874787
dtype = int

cf/mixin/fielddomain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ def _indices(self, config, data_axes, ancillary_mask, kwargs):
510510
# Performance: Convert the 1-d 'index' to a numpy
511511
# array of bool.
512512
#
513-
# This is beacuse Dask can be *very* slow at
513+
# This is because Dask can be *very* slow at
514514
# instantiation time when the 'index' is a Dask
515515
# array, in which case contents of 'index' are
516516
# unknown.

cf/test/test_formula_terms.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def _formula_terms(standard_name):
3737
if standard_name == "atmosphere_ln_pressure_coordinate":
3838
computed_standard_name = "air_pressure"
3939

40-
# Computed vertical corodinates
40+
# Computed vertical coordinates
4141
aux.standard_name = computed_standard_name
4242
data = cf.Data([700, 500, 300], "hPa", dtype="f8")
4343
aux.set_data(data)
@@ -80,7 +80,7 @@ def _formula_terms(standard_name):
8080
elif standard_name == "atmosphere_sigma_coordinate":
8181
computed_standard_name = "air_pressure"
8282

83-
# Computed vertical corodinates
83+
# Computed vertical coordinates
8484
aux.standard_name = computed_standard_name
8585
data = cf.Data([700, 500, 300], "hPa", dtype="f8")
8686
aux.set_data(data)
@@ -134,7 +134,7 @@ def _formula_terms(standard_name):
134134
elif standard_name == "atmosphere_hybrid_sigma_pressure_coordinate":
135135
computed_standard_name = "air_pressure"
136136

137-
# Computed vertical corodinates
137+
# Computed vertical coordinates
138138
aux.standard_name = computed_standard_name
139139
data = cf.Data([700, 500, 300], "hPa", dtype="f8")
140140
aux.set_data(data)
@@ -203,7 +203,7 @@ def _formula_terms(standard_name):
203203
elif standard_name == "atmosphere_sleve_coordinate":
204204
computed_standard_name = "altitude"
205205

206-
# Computed vertical corodinates
206+
# Computed vertical coordinates
207207
aux.standard_name = computed_standard_name
208208
data = cf.Data([100, 200, 300], "m", dtype="f8")
209209
aux.set_data(data)
@@ -279,7 +279,7 @@ def _formula_terms(standard_name):
279279
elif standard_name == "ocean_sigma_coordinate":
280280
computed_standard_name = "altitude"
281281

282-
# Computed vertical corodinates
282+
# Computed vertical coordinates
283283
aux.standard_name = computed_standard_name
284284
data = cf.Data([10, 20, 30], "m", dtype="f8")
285285
aux.set_data(data)
@@ -333,7 +333,7 @@ def _formula_terms(standard_name):
333333
elif standard_name == "ocean_s_coordinate":
334334
computed_standard_name = "altitude"
335335

336-
# Computed vertical corodinates
336+
# Computed vertical coordinates
337337
aux.standard_name = computed_standard_name
338338
data = cf.Data([15.01701191, 31.86034296, 40.31150319], units="m")
339339
aux.set_data(data)
@@ -413,7 +413,7 @@ def _formula_terms(standard_name):
413413
elif standard_name == "ocean_s_coordinate_g1":
414414
computed_standard_name = "altitude"
415415

416-
# Computed vertical corodinates
416+
# Computed vertical coordinates
417417
aux.standard_name = computed_standard_name
418418
data = cf.Data([555.4, 464.32, 373.33], units="m")
419419
aux.set_data(data)
@@ -485,7 +485,7 @@ def _formula_terms(standard_name):
485485
elif standard_name == "ocean_s_coordinate_g2":
486486
computed_standard_name = "altitude"
487487

488-
# Computed vertical corodinates
488+
# Computed vertical coordinates
489489
aux.standard_name = computed_standard_name
490490
data = cf.Data([555.45454545, 464.36363636, 373.36363636], units="m")
491491
aux.set_data(data)
@@ -563,7 +563,7 @@ def _formula_terms(standard_name):
563563
elif standard_name == "ocean_sigma_z_coordinate":
564564
computed_standard_name = "altitude"
565565

566-
# Computed vertical corodinates
566+
# Computed vertical coordinates
567567
aux.standard_name = computed_standard_name
568568
data = cf.Data([10.0, 30.0, 40.0], "m", dtype="f8")
569569
aux.set_data(data)
@@ -643,7 +643,7 @@ def _formula_terms(standard_name):
643643
elif standard_name == "ocean_double_sigma_coordinate":
644644
computed_standard_name = "altitude"
645645

646-
# Computed vertical corodinates
646+
# Computed vertical coordinates
647647
aux.standard_name = computed_standard_name
648648
data = cf.Data(
649649
[0.15000000000000002, 0.12, 932.895], units="m", dtype="f8"

0 commit comments

Comments
 (0)