-
Notifications
You must be signed in to change notification settings - Fork 10
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
csm time interpolation range #476
csm time interpolation range #476
Conversation
it probably makes sense to implement this in the |
Codecov Report
@@ Coverage Diff @@
## master #476 +/- ##
==========================================
+ Coverage 96.77% 96.86% +0.08%
==========================================
Files 89 89
Lines 5519 5546 +27
==========================================
+ Hits 5341 5372 +31
+ Misses 178 174 -4
Continue to review full report at Codecov.
|
Hello @CagtayFabry! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-08-18 07:35:59 UTC |
Need to do some cleanup and update the docstrings of the CSM and LCS methods to reflect the new behavior, but apart from that this should be ready. You can already have a look. I am not sure if there is a way to merge some of the conditions in |
I took a quick look and I think the implementation looks good (and pretty readable now with the however for some of these larger |
eventually we could also implement stuff like 'partially' overlapping times, so |
I streamlined the behavior of
I think this will make stuff too complicated. It might be easy to implement in the LCS, but it will be a nightmare in the CSM. We would have to check for this case separately and broadcast the missing values for the multiplication. But this would also require figuring out how many values were stripped on either side of the returned array. I would leave it as is. |
Maybe we can keep the time as a dimension but not coordinate of the dataarray, I'll take a look
|
I don't think that this makes sense. |
Thought it could be nice to keep some time information but also not really needed right now I guess |
Co-authored-by: Cagtay Fabry <43667554+CagtayFabry@users.noreply.github.com>
@CagtayFabry Funny thing: I can't require your approval because you created the PR, but I can approve myself 😉 So are we good to go? |
looked into it a little and I think it would be good to differentiate between xarray I'll see about it in a separate PR |
Changes
Describe changes in this PR
Related Issues
Closes #289
Checks
update example/tutorial notebooks