Skip to content

Commit 2c4e00d

Browse files
Fix typos
Co-authored-by: Sadie L. Bartholomew <[email protected]>
1 parent 38ce6d4 commit 2c4e00d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

cf/aggregate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4732,7 +4732,7 @@ def _aggregate_2_fields(
47324732
anc0["hash_value"] = hash_value0 + hash_value1
47334733

47344734
# The result of aggregating a promoted amd non-promoted
4735-
# field ancillary is a non-promoted fierld ancillary
4735+
# field ancillary is a non-promoted field ancillary
47364736
if (
47374737
key0 in m0.promoted_field_ancillaries
47384738
and key1 not in m1.promoted_field_ancillaries
@@ -5011,7 +5011,7 @@ def _fix_promoted_field_ancillaries(output_meta, axes_aggregated):
50115011
50125012
output_meta: `list`
50135013
The list of `_Meta` objects. If any include promoted field
5014-
ancillaries then thses will be updated in-place.
5014+
ancillaries then these will be updated in-place.
50155015
50165016
:Returns:
50175017

cf/data/data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2804,7 +2804,7 @@ def _concatenate_conform_units(cls, data1, units0, relaxed_units, copy):
28042804
"""Check and conform the units of data prior to concatenation.
28052805
28062806
This is a helper function for `concatenate` that may be easily
2807-
overridden in sublcasses, to allow for customisation of the
2807+
overridden in subclasses, to allow for customisation of the
28082808
concatenation process.
28092809
28102810
.. versionadded:: NEXTVERSION
@@ -2853,7 +2853,7 @@ def _concatenate_conform_units(cls, data1, units0, relaxed_units, copy):
28532853
else:
28542854
raise ValueError(
28552855
"Can't concatenate: All the input arrays must have "
2856-
"equivalent units. Got {units0!r} and {units1!r}"
2856+
f"equivalent units. Got {units0!r} and {units1!r}"
28572857
)
28582858

28592859
return data1
@@ -2865,7 +2865,7 @@ def _concatenate_post_process(
28652865
"""Post-process concatenated data.
28662866
28672867
This is a helper function for `concatenate` that may be easily
2868-
overridden in sublcasses, to allow for customisation of the
2868+
overridden in subclasses, to allow for customisation of the
28692869
concatenation process.
28702870
28712871
.. versionadded:: NEXTVERSION

cf/read_write/um/umread.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ def __init__(
567567
Unpacking is determined by netCDF conventions for the
568568
following variable attributes ``add_offset`` and
569569
``scale_factor``, as applied to lookup header entries
570-
BDATUM and BMKS repectively.
570+
BDATUM and BMKS respectively.
571571
572572
.. versionadded:: NEXTVERSION
573573
@@ -3499,7 +3499,7 @@ def read(
34993499
Unpacking is determined by netCDF conventions for the
35003500
following variable attributes ``add_offset`` and
35013501
``scale_factor``, as applied to lookup header entries
3502-
BDATUM and BMKS repectively.
3502+
BDATUM and BMKS respectively.
35033503
35043504
.. versionadded:: NEXTVERSION
35053505

0 commit comments

Comments
 (0)