-
Notifications
You must be signed in to change notification settings - Fork 5
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
"variable" arg for multiple input processes #186
Comments
Why not just mirror the arguments name ? I think that with the new parameter metadata this would now be possible, no ? |
To be clear, I mean having a WPS input called tas, pr, etc instead of a generic "variable". |
Hum, I'm thinking about the case where the variable names in the dataset are not the same as the argument names. With only one variable, the current trick works well, but not when there are more. More specifically for using datasets with more than one variable, at least one having the wrong name. I wanted to use the |
Je pige. Un peu lent ce matin... |
So my idea of a mapping seems not possible because there are no corresponding input type in pyWPS... I was looking for a dict and it doesn't seem to exist. Another solution would be to have, for each variable, a corresponding For example, for my |
The current
variable
argument takes only a string, which is not useful for processes taking multiple input netCDFs. I would suggest having avariables
argument, a mapping from arg name to variable name. Multi-input processes would use that one instead of the other.compute_indices
could contain the logic to manage this.The text was updated successfully, but these errors were encountered: