Skip to content

Commit afe8551

Browse files
jirhikerclaude
andcommitted
Scope bernco product statewide to dedupe its source fetch
The bernco source is county-scoped by construction (all wells in Bernalillo), so the county_Bernalillo filter was a no-op. Switching the bernco product to state_NM scope (keeping include:[bernco]) yields identical output but lets it share the statewide bernco source asset instead of unifying bernco a second time under its own scope. Removes the singleton Bernalillo cohort: bernco_waterlevels_timeseries now joins the waterlevels_timeseries_state_NM cohort. Source assets 87 -> 86, cohort jobs 5 -> 4. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 7befdff commit afe8551

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

orchestration/config/products.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,20 @@ products:
2323
sources:
2424
exclude: []
2525

26+
# The bernco source (BernCoWaterLevelSource) is county-scoped by construction —
27+
# all its wells are in Bernalillo — so a county filter is a no-op here. Using
28+
# the state_NM scope (with include:[bernco]) yields identical output while
29+
# sharing the statewide bernco source asset, so bernco unifies once instead of
30+
# twice. (A county filter would only matter if the source returned wells
31+
# outside Bernalillo, which it does not.)
2632
- id: bernco_waterlevels_timeseries
2733
parameter: waterlevels
2834
output_type: ogc_timeseries
2935
title: "Bernalillo County Water Level Time Series"
3036
description: "Bernalillo County water level timeseries per well"
3137
schedule: "0 8 * * *"
3238
spatial_filter:
33-
county: Bernalillo
39+
state: NM
3440
sources:
3541
include: [bernco]
3642

0 commit comments

Comments
 (0)