-
Notifications
You must be signed in to change notification settings - Fork 13
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
New failure in test_apply_time_offset #320
Comments
Actually there are two failing tests, both time-related; see e.g. https://travis-ci.org/spencerahill/aospy/jobs/513359222#L1440 |
Huh...this seems to be a bug in the latest version of pandas.
We're actually already working around it implicitly internally in |
Oddly I was not able to reproduce this other failing test, and when I re-ran the build that failure disappeared. We'll see if it comes up again. |
It turns out the other bug was in fact real :). I locally created a new environment based on our CI setup for the failing build and was able to reproduce the problem. It was made harder to find because we were mutating the state of the input argument, and the order of the variables in the set Ultimately I think this stems from the following change in behavior in xarray between 0.11.3 and 0.12.0. For a little more context on why this is relevant to this issue, see this gist. xarray 0.11.3
xarray 0.12Note the difference in behavior between line 5 here and line 5 above.
I'm pretty sure this is a regression in xarray, but I'll sleep on it before reporting it. |
Interestingly the following simpler variant works in xarray 0.12:
So apparently the |
After reverting to xarray 0.11, c.f. #319, the test suite loads without error but has one failure, which I've pasted below. @spencerkclark, since this seems cftime-related (or adjacent), I'm going to punt this one to you.
The text was updated successfully, but these errors were encountered: