Skip to content

Commit

Permalink
Resolve new doc warnings/spelling that resulted from review fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbousquin committed Sep 30, 2023
1 parent 6b0ee99 commit 2998bd3
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"sphinx.ext.coverage",
"sphinx.ext.napoleon",
"sphinx.ext.intersphinx",
'sphinx.ext.autosectionlabel',
"sphinxcontrib.spelling",
]

Expand Down
4 changes: 2 additions & 2 deletions harmonize_wq/clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ def methods_check(df_in, char_val, methods=None):
def wet_dry_checks(df_in, mask=None):
"""Fix suspected errors in 'ActivityMediaName' column.
Uses the 'ResultWeightBasisText' and 'ResultSampleFractionText' columns to swicth if the media is
wet/dry where appropriate.
Uses the 'ResultWeightBasisText' and 'ResultSampleFractionText' columns to
switch if the media is wet/dry where appropriate.
Parameters
----------
Expand Down
2 changes: 1 addition & 1 deletion harmonize_wq/domains.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ def xy_datum():
-----
source WQP: HorizontalCoordinateReferenceSystemDatum_CSV.zip
Anything not in dict will be nan, and non-integer EPSG will be missing:
Anything not in dict will be NaN, and non-integer EPSG will be missing:
"OTHER": {"Description": 'Other', "EPSG": nan},
"UNKWN": {"Description": 'Unknown', "EPSG": nan}
Expand Down
2 changes: 1 addition & 1 deletion harmonize_wq/location.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def infer_CRS(df_in,
crs_col='HorizontalCoordinateReferenceSystemDatumName'):
"""Replace missing or unrecognized Coordinate Reference System (CRS).
Replaces with desired CRS and notes it was mising in 'QA_flag' column.
Replaces with desired CRS and notes it was missing in 'QA_flag' column.
Parameters
----------
Expand Down
2 changes: 1 addition & 1 deletion harmonize_wq/visualize.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def map_counts(df_in, gdf, col=None):
GeoDataFrame with monitoring locations.
col : str, optional
Column in df_in to aggregate results to in addition to location.
The default is None, where results are only aggregated on locaion.
The default is None, where results are only aggregated on location.
Returns
-------
Expand Down
4 changes: 2 additions & 2 deletions harmonize_wq/wq_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class WQCharData():
pint unit registry, initially standard unit registry.
units : str
Units all results in out_col column will be converted into.
Default units are returned from :func:`domains.OUT_UNITS`[out_col].
Default units are returned from :func:`domains.OUT_UNITS` [out_col].
Examples
--------
Expand Down Expand Up @@ -261,7 +261,7 @@ def check_units(self, flag_col=None):
Parameters
----------
flag_col : str, optional
Column to reference in srting for 'QA_flags'.
Column to reference in string for 'QA_flags'.
The default None uses WQCharData.col.unit_out attribute.
Returns
Expand Down
2 changes: 1 addition & 1 deletion harmonize_wq/wrangle.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def split_col(df_in, result_col='QA_flag', col_prefix='QA'):
Examples
--------
See any of the 'Simple' notebooks found in
`demo s<https://github.com/USEPA/harmonize-wq/tree/main/demos>`_ for
`demos <https://github.com/USEPA/harmonize-wq/tree/main/demos>`_ for
examples of how this function is used to split the QA column into multiple
characteristic specific QA columns.
Expand Down

0 comments on commit 2998bd3

Please sign in to comment.