[1.0.0] contours

Open
#3,031 5 comments 0 reactions 2 assignees View on GitHub

@brendancol is already working on this.

Since Jun 8, 2026.

Assessment

This issue has not been assessed yet.

Description

1.0.0-tracking area:vector

1.0.0 readiness: contours

Area: Vector Function: contours
Source: xrspatial/contour.py

Scope
  • Public surface frozen against the README feature matrix
  • Dark-corner decisions resolved (see #2930)
Sweep clearance, no CRITICAL or HIGH (accuracy and security first)
  • Accuracy /deep-sweep xrspatial/contour.py
  • Security
  • Performance
  • API consistency

Last swept: none yet

Examples
  • Notebook example
  • (optional) standalone script
Linked bug issues
  • #2788 (Low) contours() validates return_type too late, wasting compute on invalid values
  • #2790 (Medium) contours() emits degenerate and duplicate lines for exact-level plateaus
  • #2791 (Low) contours(): n_levels is not validated as a positive integer
  • #2795 (Low) contours() emits RuntimeWarning on all-NaN input with auto level selection

Part of #2951.

Dominant language
Python
Stars
972
Forks
92
Avg merge
2d 12h
Merged PRs (30d)
7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from xarray-contrib/xarray-spatial

All issues in xarray-contrib/xarray-spatial

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.