-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
Call processed variables with custom spatial coordinates #3441
Comments
Yes! I thought of this when doing #3234 but didn't open an issue for it. |
Can we do something like this? -Allow passing arbitrary keyword arguments to call by adding **kwargs |
@Saswatsusmoy sounds good, would you like to give it a go? |
@rtimms I have tried and modified the call method to accept **kwargs as a parameter. This will allow any additional keyword arguments to be passed to the method. |
…Call-processed-variables-with-custom-spatial-coordinates
…Call-processed-variables-with-custom-spatial-coordinates
…sed-variables-with-custom-spatial-coordinates
@valentinsulzer id this something that can be fixed as part of #4600 ? |
After #3234
ProcessedVariable
objects now automatically take the names of the domains to plot automatically from spatial variables, but__call__
still expects the spatial variables to bex
,y
,z
,r
, orR
, see:We should make it possible to pass extra
kwargs
to__call__
.As a workaround, you can do something like
The text was updated successfully, but these errors were encountered: