Skip to content
Merged
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
3 changes: 2 additions & 1 deletion backend/persisters/ogc_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,8 @@ def dump_mcl_exceedance_collection(
# larger). If the data basis is NO3, this flag is wrong unless the
# mcl in config/mcl.json is the as-NO3 value (~44.3 mg/L). Confirm
# DIE's normalized nitrate basis before trusting nitrate exceedances.
exceeds = value is not None and mcl is not None and value > mcl
num = _num(value)
exceeds = num is not None and mcl is not None and num > mcl
props[f"{analyte}_exceeds"] = exceeds
if exceeds:
exceeded.append(analyte)
Expand Down
Loading