-
Notifications
You must be signed in to change notification settings - Fork 191
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
User interface for masking output on ImmersedBoundaryGrid
#3061
Comments
Yeah, let's do that! I'll open a PR |
What kwarg name will you use? |
Let’s discuss the user API here though it’s pretty simple |
you mean what kwarg for the |
Mm yeah that’s an alternative! I think we could allow any number. As for “land” versus “immersed” I guess land is a little more oceany but elsewhere we talk about immersed stufff… |
Or immersed_mask = 0? |
The concept of “fill” or “replace” might be helpful. Like “fill_immersed=0” |
I like the concept of |
I think that's a good one. So we have:
Would even just |
I vote for simply |
The |
yes, it has to be a property of JLD2OutputWriter and NetCDFOutputWriter |
I think it's important to have the word |
kwarg in the output writers and
? |
I like it! The concept a function name that is something like |
I have found it inconvenient that output is masked to
0
. For most purposes, I'd preferNaN
. I'm opening this issue to discuss a user interface that would implement such a feature.My first idea is to add a property / kwarg to output writers called
immersed_values
.Then we might write something like
The default will be
immersed_values=nothing
. Thenfetch_output
:Oceananigans.jl/src/OutputWriters/fetch_output.jl
Lines 12 to 15 in 72e2197
would become something like
The text was updated successfully, but these errors were encountered: