Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhassell committed Oct 10, 2023
1 parent fd8afc9 commit ccae428
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 24 deletions.
2 changes: 1 addition & 1 deletion Changelog.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version 3.15.4
--------------

**2023-10-??**
**2023-10-10**

* Record dimension coordinate cell characteristics
(https://github.com/NCAS-CMS/cf-python/issues/692)
Expand Down
3 changes: 1 addition & 2 deletions cf/data/array/mixin/filearraymixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ def file_locations(self):
`tuple`
The file locations, one for each file, as absolute
paths with no trailing separate pathname component
separator.
paths with no trailing path name component separator.
**Examples**
Expand Down
10 changes: 5 additions & 5 deletions cf/data/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ def __init__(
)

# Set whether or not we're sure that the Data instance has a
# determinsitic name
# deterministic name
self._custom["deterministic"] = not is_dask_collection(array)

dx = to_dask(array, chunks, **kwargs)
Expand Down Expand Up @@ -6302,7 +6302,7 @@ def get_deterministic_name(self):
that are considered equal by their `equals` methods might not
have the same deterministic name.
An exception is raised if there is no determinisitic name.
An exception is raised if there is no deterministic name.
.. versionadded:: 3.15.1
Expand Down Expand Up @@ -6529,7 +6529,7 @@ def add_file_location(self, location):
`str`
The new location as an absolute path with no trailing
separate pathname component separator.
path name component separator.
**Examples**
Expand Down Expand Up @@ -8729,7 +8729,7 @@ def file_locations(self):
`set`
The unique file locations as absolute paths with no
trailing separate pathname component separator.
trailing path name component separator.
**Examples**
Expand Down Expand Up @@ -9728,7 +9728,7 @@ def del_file_location(self, location):
`str`
The removed location as an absolute path with no
trailing separate pathname component separator.
trailing path name component separator.
**Examples**
Expand Down
4 changes: 2 additions & 2 deletions cf/dimensioncoordinate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1076,14 +1076,14 @@ def set_cell_characteristics(self, cellsize, spacing):
the cell bounds) characteristic. May be a `Query`,
`TimeDuration`, scalar `Data`, scalar data_like
object, or `None`. A value of `None` means no
characteristc has been set.
characteristic has been set.
spacing:
The cell spacing (i.e. the absolute difference between
two neighbouring coordinate values) characteristic.
May be a `Query`, `TimeDuration`, scalar `Data`,
scalar data_like object, or `None`. A value of `None`
means no characteristc has been set.
means no characteristic has been set.
:Returns:
Expand Down
4 changes: 2 additions & 2 deletions cf/docstring/docstring.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@
.. note:: No checks are performed on an existing file
to ensure that the weights are appropriate
for the source field and the values of the
keyword parameters. Inapproriate weights
keyword parameters. Inappropriate weights
will produce incorrect results.
However, when regridding using weights from
Expand All @@ -493,7 +493,7 @@
The computation of the weights can be much more costly
than the regridding itself, in which case reading
pre-calcuated weights can improve performance.""",
pre-calculated weights can improve performance.""",
# aggregated_units
"{{aggregated_units: `str` or `None`, optional}}": """aggregated_units: `str` or `None`, optional
The units of the aggregated array. Set to `None` to
Expand Down
6 changes: 3 additions & 3 deletions cf/domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def add_file_location(
`str`
The new location as an absolute path with no trailing
separate pathname component separator.
path name component separator.
**Examples**
Expand Down Expand Up @@ -316,7 +316,7 @@ def del_file_location(
`str`
The removed location as an absolute path with no
trailing separate pathname component separator.
trailing path name component separator.
**Examples**
Expand Down Expand Up @@ -457,7 +457,7 @@ def file_locations(
`set`
The unique file locations as absolute paths with no
trailing separate pathname component separator.
trailing path name component separator.
**Examples**
Expand Down
6 changes: 3 additions & 3 deletions cf/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -3788,7 +3788,7 @@ def del_file_location(

`str`
The removed location as an absolute path with no
trailing separate pathname component separator.
trailing path name component separator.

**Examples**

Expand Down Expand Up @@ -11756,7 +11756,7 @@ def file_locations(self, constructs=True):

`set`
The unique file locations as absolute paths with no
trailing separate pathname component separator.
trailing path name component separator.

**Examples**

Expand Down Expand Up @@ -14290,7 +14290,7 @@ def add_file_location(

`str`
The new location as an absolute path with no trailing
separate pathname component separator.
path name component separator.

**Examples**

Expand Down
6 changes: 3 additions & 3 deletions cf/mixin/propertiesdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -1646,7 +1646,7 @@ def add_file_location(self, location):
`str`
The new location as an absolute path with no trailing
separate pathname component separator.
path name component separator.
**Examples**
Expand Down Expand Up @@ -3111,7 +3111,7 @@ def del_file_location(self, location):
`str`
The removed location as an absolute path with no
trailing separate pathname component separator.
trailing path name component separator.
**Examples**
Expand Down Expand Up @@ -3468,7 +3468,7 @@ def file_locations(self):
`set`
The unique file locations as absolute paths with no
trailing separate pathname component separator.
trailing path name component separator.
**Examples**
Expand Down
6 changes: 3 additions & 3 deletions cf/mixin/propertiesdatabounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,7 @@ def add_file_location(self, location):
`str`
The new location as an absolute path with no trailing
separate pathname component separator.
path name component separator.
**Examples**
Expand Down Expand Up @@ -2118,7 +2118,7 @@ def file_locations(self):
`set`
The unique file locations as absolute paths with no
trailing separate pathname component separator.
trailing path name component separator.
**Examples**
Expand Down Expand Up @@ -2228,7 +2228,7 @@ def del_file_location(self, location):
`str`
The removed location as an absolute path with no
trailing separate pathname component separator.
trailing path name component separator.
**Examples**
Expand Down
6 changes: 6 additions & 0 deletions docs/source/spelling_false_positives.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ arctan
arctanh
arg
argmax
argmin
args
asdata
asdatetime
Expand Down Expand Up @@ -115,6 +116,7 @@ datums
ddof
de
debuginfo
decadal
decile
deepcopy
Dehesa
Expand Down Expand Up @@ -270,6 +272,7 @@ lshift
lt
Makefile
mam
matplotlib
mercator
metacharacters
MiB
Expand Down Expand Up @@ -330,6 +333,7 @@ priori
programmatically
pseudolevels
py
pyplot
radd
RaggedContiguousArray
RaggedIndexedArray
Expand Down Expand Up @@ -386,6 +390,7 @@ setmask
setprop
Signell
sinh
spacings
spatiotemporal
sqrt
src
Expand Down Expand Up @@ -425,6 +430,7 @@ timeSeries
timeSeriesProfile
todense
todict
tokenize
tolist
tosparse
trac
Expand Down

0 comments on commit ccae428

Please sign in to comment.