Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backports for 0.20.x #2059

Merged
merged 5 commits into from
Jun 29, 2022
Merged

Backports for 0.20.x #2059

merged 5 commits into from
Jun 29, 2022

Commits on Jun 28, 2022

  1. Backport pull request SciTools#2057

    Remove use of setuptools_scm_git_archive
    dopplershift committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    c978fad View commit details
    Browse the repository at this point in the history
  2. TST: Change testing method for tolerances

    Change to assert_allclose instead of assert_almost_equal to test
    small changes as recommended by Numpy's testing docs. This is due
    to small tolerance changes with PROJ 9.0.1.
    greglucas authored and dopplershift committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    72b9659 View commit details
    Browse the repository at this point in the history
  3. Update test images

    These only minimally changed with a shifting of the dashes in the
    gridlines, but no substantive changes.
    dopplershift committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    9c3a5a7 View commit details
    Browse the repository at this point in the history
  4. FIX: Add clip limits to Nightshade floating point calculations

    Depending on the values input to Nightshade, the floating point
    precision could put the range for arccos outside of [-1, 1], which
    in turn numpy returns as nan's, yielding bad geometries further
    downstream. This patch clips the arccos calculations to [-1, 1] to
    guarantee we aren't out of the valid floating point bounds.
    greglucas authored and dopplershift committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    b7fa756 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. Add PROJ version range to tests

    Apparently the images change between PROJ 9.0.0 and 9.0.1
    dopplershift committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    50b7399 View commit details
    Browse the repository at this point in the history