Closed
Labels
Milestone
Description
1.0.0 readiness: Visibility
Area: Surface Functions: viewshed, cumulative_viewshed, visibility_frequency, line_of_sight
Source: xrspatial/{viewshed,visibility}.py
Scope
- Public surface frozen against the README feature matrix
- Dark-corner decisions resolved (see [1.0.0] Scope freeze: reconcile dark corners #2930)
Sweep clearance, no CRITICAL or HIGH (accuracy and security first)
- Accuracy
/deep-sweep xrspatial/viewshed.py - Security
- Performance
- API consistency
Last swept: none yet
Examples
- Notebook example
- (optional) standalone script
Linked bug issues
- viewshed() mutates the caller's input DataArray (int16 becomes float64) #2786 (High) viewshed() mutates the caller's input DataArray (int16 becomes float64)
- viewshed: validate regular grid spacing instead of silently assuming it #2789 (Medium) viewshed: validate regular grid spacing instead of silently assuming it
- viewshed: ValueError 'node not found' on NaN input (CPU sweep) #2792 (Medium) viewshed: ValueError 'node not found' on NaN input (CPU sweep)
- Broken bounds-check guard in viewshed _calculate_event_row_col() #2793 (High) Broken bounds-check guard in viewshed _calculate_event_row_col()
- viewshed(): validate scalar params (max_distance >= 0, finite observer/target elev) before dispatch #2794 (Medium) viewshed(): validate scalar params (max_distance >= 0, finite observer/target elev) before dispatch
Activity
brendancol commentedon Nov 6, 2026
Closing this tracker. On 2026-11-05 the 1.0.0 gate was cut down to five items: no open CRITICAL or HIGH bugs,
xrspatial/__init__.pyexports matching the README matrix (enforced bytest_public_surface.pyin #3765), the 14 deprecated aliases removed with a migration page (#3766, #3767, #3768), a written semver and LTS policy (#3761), and green CI.The per-group sweep checklist on this issue is not part of that gate. Sweep work continues after 1.0.0 under milestone 1.1.0.