Add cross-agency well correlation product - #108
Merged
Conversation
Link every well to the same physical well at other agencies and, ultimately, to OSE PODs. New backend engine (backend/well_correlation.py) links wells by explicit id references (usgs_site_id / alternate_site_id) and by mutual-nearest-neighbor spatial proximity between agencies, corroborated by well-depth, elevation, and name/id agreement (coordinates treated as approximate). Emits one crosswalk feature per well via dump_well_correlation_collection. Wired as a standalone (parameter-independent) quarterly Dagster product nm_well_correlation that gathers sites from every source (incl. OSE PODs) via the new unifier.collect_sites, with its own job + schedule. Also fix the OSE POD connector: the FeatureServer was renamed OSE_PODs -> OSE_Points_of_Diversion (old URL now 400s) and outFields was missing a comma. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Your pull request is automatically being deployed to Dagster Cloud.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Link every well to the same physical well at other agencies and, ultimately, to OSE PODs. New backend engine (backend/well_correlation.py) links wells by explicit id references (usgs_site_id / alternate_site_id) and by mutual-nearest-neighbor spatial proximity between agencies, corroborated by well-depth, elevation, and name/id agreement (coordinates treated as approximate). Emits one crosswalk feature per well via dump_well_correlation_collection.
Wired as a standalone (parameter-independent) quarterly Dagster product nm_well_correlation that gathers sites from every source (incl. OSE PODs) via the new unifier.collect_sites, with its own job + schedule.
Also fix the OSE POD connector: the FeatureServer was renamed OSE_PODs -> OSE_Points_of_Diversion (old URL now 400s) and outFields was missing a comma.
Why
This PR addresses the following problem / context:
How
Implementation summary - the following was changed / added / removed:
Notes
Any special considerations, workarounds, or follow-up work to note?