Skip to content

Phase 4: drilling suggestion - #4

Merged
Mehulsri07 merged 3 commits into
mainfrom
phase-4-drilling
Oct 14, 2026
Merged

Mehulsri07 merged 3 commits into
mainfrom
phase-4-drilling

Conversation

@Mehulsri07

Copy link
Copy Markdown
Owner

Phase 4 of the design: a drilling suggestion under the proposed layers for any picked spot.

What it shows

Two halves, always together, so the suggestion can be weighed against what was really done:

What was done nearby (the 5 nearest sites within 3 km; borewells at one site count once)

  • how deep they were drilled (lowest to highest, and the middle),
  • where their pumps hang (the same), leaving out what was not recorded,
  • each borewell with its distance,
  • their slotted pipe, drawn beside the proposed column at the same height above sea level (thin blue lines).

What the records suggest

  • the expected water level,
  • slotted pipe in each water-bearing stretch the model shows (likely or rough) that is at least 10 ft thick below the water level, drawn as a dashed blue line,
  • how deep to drill: the bottom of the lowest such stretch, never deeper than the deepest borewell nearby.

With no recent water level within 1 km, or no water-bearing stretch to suggest, it says so and shows only what was done nearby. With nobody nearby, there is no suggestion. The panel says the driller decides.

The rule for how deep to drill is my assumption, still to be confirmed by DWO. The screen says so.

Checks

  • 116 TypeScript tests, including 15 new ones for the suggestion (sites counted once, pipe moved by height on sloping ground, old records in metres, stretches cut at the water level and judged only below it, the depth capped by the deepest borewell nearby).
  • The real-app test now expects the suggestion and "How deep to drill"; made-up borewells have slotted pipe and pumps.
  • Seen in the real app on made-up borewells.

- Slotted pipe is held to the depth limit (the deepest borewell nearby) and dropped under 10 ft;
  when every borewell nearby stops above the sand, nothing is proposed and the panel says why.
- When no borewell nearby records its depth, the panel says the depth is not checked against them.
- A nearby borewell whose ground height is unknown has no pipe drawn, rather than one at the wrong height.
- What was done nearby is shown even where no layers can be proposed.
- The water level reads 'expected', and the depth says when it rests on a rough guess.
@Mehulsri07
Mehulsri07 merged commit 4b4994b into main Oct 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant