-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fix for date offset strings with resample loffset #8422
Conversation
Thank you for opening this pull request! It may take us a few days to respond here, so thank you for being patient. |
Thanks @kafitzgerald It's great to see you here!
Yes probably. Can you add a test please? |
Sorry about that. And it turns out covering this particular case was fairly easy as well - just an additional parameter for the I did confirm it fails prior to the change and passes after. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @kafitzgerald — this looks perfect to me! I forgot this was the way things had been implemented before (it points to the importance of this test). Could you also add a bug fix what's new entry to the documentation?
Will do! |
Great thanks @kafitzgerald . Welcome to Xarray! It's great! |
Thanks @kafitzgerald ! Welcome to Xarray! |
Closes #8399.
Reverting this minor change from #7206 allows for offset aliases to again be used with the
loffset
argument toresample
.Hopefully this doesn't break anything from that older PR (all tests pass). It wasn't entirely clear to me why the change was made initially. Perhaps just to simplify and this was an oversight?