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

Compatibility with xarray>=2022.9.0 #276

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jan 20, 2023

  1. Use .values to convert DataArray to scalar before storing in Region

    May help speed up copying.
    johnomotani committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    a39b729 View commit details
    Browse the repository at this point in the history
  2. Fix warnings about not creating indexes when using .rename()

    xarray behaviour changed, see pydata/xarray#6999
    and links from there.
    johnomotani committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    8422b9b View commit details
    Browse the repository at this point in the history
  3. Fix updating of indexes when adding guard cells in region.py

    Updates to xarray, meant that 'index' values were not updated when
    'coordinate' values were updated. Fix by explicitly updating indexes.
    johnomotani committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    089000a View commit details
    Browse the repository at this point in the history