Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aqi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def to_iaqi(elem, cc, algo=ALGO_EPA):

:param elem: pollutant constant
:type elem: int
:param cc: pollutant contentration (µg/m³ or ppm)
:param cc: pollutant concentration (µg/m³ or ppm)
:type cc: str
:param algo: algorithm module canonical name
:type algo: str
Expand Down
4 changes: 2 additions & 2 deletions aqi/algos/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def iaqi(self, elem, cc):

:param elem: pollutant constant
:type elem: int
:param cc: pollutant contentration (µg/m³ or ppm)
:param cc: pollutant concentration (µg/m³ or ppm)
:type cc: str
"""
raise NotImplementedError
Expand Down Expand Up @@ -76,7 +76,7 @@ def iaqi(self, elem, cc):
_cc = Decimal(cc).quantize(self.piecewise['prec'][elem],
rounding=ROUND_DOWN)

# define breakpoints for this pollutant at this contentration
# define breakpoints for this pollutant at this concentration
bps = self.piecewise['bp'][elem]
bplo = None
bphi = None
Expand Down