Skip to content

Curl, Divergence, and Laplacian accuracy issues near poles #1912

Open

Description

@Sevans711

The vector calculus operators with a metric term (curl, divergence, and the laplacian proposed in #1873) can all get arbitrarily large near the poles, as the metric term scales with tan(latitude). This is purely due to the choice of coordinates, not anything physical, so there are definitely some workarounds (possibly involving local tangent planes and/or taking derivatives in Cartesian coordinates instead). UXarray should implement one of these workarounds and document it, instead of silently reporting inaccurate values near the poles.

First pointed out by @cmdupuis3 in #1873 (comment).

Activity

  1. added
    bug
    accuracy
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    accuracybug

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions