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

Various fixes for explicit Dataset.indexes #2858

Merged
merged 2 commits into from
Apr 4, 2019

Conversation

shoyer
Copy link
Member

@shoyer shoyer commented Mar 31, 2019

I've added internal consistency checks to the uses of assert_equal in our
test suite, so this shouldn't happen again.

Fixes GH2856

I've added internal consistency checks to the uses of ``assert_equal`` in our
test suite, so this shouldn't happen again.
@pep8speaks
Copy link

pep8speaks commented Mar 31, 2019

Hello @shoyer! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2019-04-03 16:22:01 UTC

@shoyer
Copy link
Member Author

shoyer commented Apr 4, 2019

@pydata/xarray it would be great if someone could review this. I'd like to submit this and then issue the 0.12.1 bug fix release.

@max-sixty
Copy link
Collaborator

I had a look through the code. I'm struggling a bit to be a good reviewer given my current understanding of how the goals connect to to the implementation. With that disclaimer, the code looks good. So if anyone knows this better, maybe have a look.
I did look at the index invariant tests with more detail, and they look 👍

@shoyer
Copy link
Member Author

shoyer commented Apr 4, 2019

I did look at the index invariant tests with more detail, and they look

Yes, this is the main part I was hoping for someone to take a look at. I would not trust my fixes if I did not believe the tests :).

The rest of it are various smaller changes, mostly correcting my previously mistaken (and untested) implementations.

@shoyer shoyer merged commit 31619d7 into pydata:master Apr 4, 2019
@spencerkclark
Copy link
Member

Thanks @shoyer and @max-sixty 👍.

rabernat pushed a commit that referenced this pull request Apr 18, 2019
* added manual chunks for open_zarr

* updated whats-new

* fixed pep8 issues

* removed whitespace

* added deprecation warning

* fixed pep8 issues

* added warning for bad chunks

* fixed lingering rebase conflicts

* fixed pep8 issues

* added stacklevel

* fixed pep8 issues

* Various fixes for explicit Dataset.indexes (#2858)

* Various fixes for explicit Dataset.indexes

Fixes GH2856

I've added internal consistency checks to the uses of ``assert_equal`` in our
test suite, so this shouldn't happen again.

* Fix indexes in Dataset.interp

* 0.12.1 release

* revert to 0.12.2 dev

* update links to https (#2872)

* Fix mypy typing error in cftime_offsets.py (#2878)

* decreased pytest verbosity (#2881)

* added manual chunks for open_zarr

* updated whats-new

* fixed pep8 issues

* removed whitespace

* added deprecation warning

* fixed pep8 issues

* added warning for bad chunks

* fixed lingering rebase conflicts

* fixed pep8 issues

* added stacklevel

* fixed pep8 issues

* disallow unicode again

* disallow unicode again
dcherian added a commit to yohai/xarray that referenced this pull request Apr 19, 2019
* master: (29 commits)
  Handle the character array dim name  (pydata#2896)
  Partial fix for pydata#2841 to improve formatting. (pydata#2906)
  docs: Move quick overview one level up (pydata#2890)
  Manually specify chunks in open_zarr (pydata#2530)
  Minor improvement of docstring for Dataset (pydata#2904)
  Fix minor typos in docstrings (pydata#2903)
  Added docs example for `xarray.Dataset.get()` (pydata#2894)
  Bugfix for docs build instructions (pydata#2897)
  Return correct count for scalar datetime64 arrays (pydata#2892)
  Indexing with an empty array (pydata#2883)
  BUG: Fix pydata#2864 by adding the missing vrt parameters (pydata#2865)
  Reduce length of cftime resample tests (pydata#2879)
  WIP: type annotations (pydata#2877)
  decreased pytest verbosity (pydata#2881)
  Fix mypy typing error in cftime_offsets.py (pydata#2878)
  update links to https (pydata#2872)
  revert to 0.12.2 dev
  0.12.1 release
  Various fixes for explicit Dataset.indexes (pydata#2858)
  Fix minor typo in docstring (pydata#2860)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants