Skip to content

Commit 563eb02

Browse files
jirhikerclaude
andcommitted
Generate config/mcl.json from EPA standards
Replace the sample with the real EPA-sourced MCL file. Values in mg/L: - arsenic 0.01, nitrate(as N) 10, fluoride 4.0, uranium 0.03 (primary) - chloride 250, sulfate 250, tds 500 (secondary) pH (6.5-8.5) omitted (a range, not a single MCL). Provenance + EPA source URLs recorded in the file. Add uranium to the nm_mcl_exceedance analyte list. Upload this file to gs://<products_bucket>/config/mcl.json. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent bc8603b commit 563eb02

3 files changed

Lines changed: 13 additions & 10 deletions

File tree

orchestration/config/mcl.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"_comment": "Drinking-water MCLs for the nm_mcl_exceedance product, values in mg/L (matching DIE's normalized analyte units). 'type': primary = enforceable National Primary Drinking Water Regulation (health); secondary = non-mandatory aesthetic SMCL. Sourced from EPA NPDWR and Secondary Drinking Water Standards. Uranium 30 ug/L = 0.030 mg/L. Fluoride uses the primary MCL (4.0); its secondary SMCL is 2.0. pH (6.5-8.5) is a range, not a single MCL, so it is omitted. Upload this file to gs://<products_bucket>/config/mcl.json.",
3+
"_source": "https://www.epa.gov/ground-water-and-drinking-water/national-primary-drinking-water-regulations ; https://www.epa.gov/sdwa/secondary-drinking-water-standards-guidance-nuisance-chemicals",
4+
"_retrieved": "2026-06-28",
5+
"arsenic": {"mcl": 0.01, "type": "primary"},
6+
"nitrate": {"mcl": 10.0, "type": "primary"},
7+
"fluoride": {"mcl": 4.0, "type": "primary"},
8+
"uranium": {"mcl": 0.03, "type": "primary"},
9+
"chloride": {"mcl": 250.0, "type": "secondary"},
10+
"sulfate": {"mcl": 250.0, "type": "secondary"},
11+
"tds": {"mcl": 500.0, "type": "secondary"}
12+
}

orchestration/config/mcl.sample.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

orchestration/config/products.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ products:
116116
title: "NM MCL Exceedances"
117117
description: "Wells flagged against drinking-water MCLs, all NM sources"
118118
schedule: "0 15 * * *"
119-
analytes: [arsenic, nitrate, fluoride, sulfate, chloride, tds]
119+
analytes: [arsenic, nitrate, fluoride, uranium, sulfate, chloride, tds]
120120
spatial_filter:
121121
state: NM
122122
sources:

0 commit comments

Comments
 (0)