-
Notifications
You must be signed in to change notification settings - Fork 16
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
Question about center_slicing #74
Comments
Sorry for the delayed response. Things have been crazy busy. 😓 You are correct that is trimming the padding. My understanding of the padding convention as written at https://publicwiki.deltares.nl/pages/viewpage.action?pageId=108953628 would be that the trimming for nodes would be different from that of the center. For example, for a case where |
No rush. I am on "vacation." (That is why I am working on pysgrid 😉)
OK. That means the "
Also, few users would want to do that alone, most users will perform the average right away. So we could added that as part of PS: I am terrible with names, so suggestions are VERY welcome. I just want to make the API consistent and easy to navigate. |
I think those are splendid names.
Great idea! So these methods, I assume they would be averaging adjacent |
I don't believe we implemented any of those, right? Or am I missing a few PRs from this repo? |
No, we didn't implement any those. I closed this issue because the question was answered. Could re-open it though. |
Let's keep it open until we send the proper PR to rename it. I had it ready in my dead laptop and I am re-doing it here. I was just waiting for #78 to stabilize first. |
The
<var>.center_slicing
returns a tuple withslice
(s) objects in the form(slice(1, -1, None), slice(1, -1, None))
for each variable.If I got this right that is trimming the padding, no? If not: how would a node slice be different from a center slice? Shouldn't the trimming be the same? If yes: can we rename this to
.trim
or something like that?The text was updated successfully, but these errors were encountered: