-
Notifications
You must be signed in to change notification settings - Fork 6
Better error reporting in rooki #166
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
Comments
Actually we should already capture the errors. I have no "sorry" ones in my list from today: They might still occur when the pywps request itself was not accepted (internal to pywps) ... and we have not captured the metalink output. rooki just displays the error message. So, it is on the rook side. |
For the stats, on dkrz side I have 126 requests:
And from these 10 failed:
|
@agstephens do you have other failures on your side than those we have collected, like |
Thanks a lot @cehbrecht - I've integrated the The one issue I would raise is that the exception I get for requesting a bad area subset is not very infortmative - it simply says:
@agstephens is this inherited from clisops? Would it be possible to have something a bit more informative for the users? Thanks! |
Hi @JamesVarndell: here is an update from our end:
|
@JamesVarndell this is the issue where the user selects a bounding box that is so small it falls between the grid box centres. @ellesmith88 is creating a suitable exception for this. |
Hi @cehbrecht and @agstephens,
I've just been looking over our first day of live CMIP6 requests, and it looks like we got a total of 167 requests. 85% of these were successful, but we have 27 failed requests, and there's a consistent theme - most of the failed requests asked for a very small area subset for their data (possibly in an attempt to extract just a single point).
How we want to handle these kind of requests is one problem, but more imminently important is that we properly report to users what went wrong with their request. We had a single user who made most of those failed requests, because the error they received simply said 'Sorry, process failed' (inherited from rooki). If this had said something like 'Invalid spatial subset', that would have been much more useful and the user would probably have corrected their mistake.
I assume clisops is actually raising a useful error somewhere, so the question is - is it possible to get that error propagated down into the final rooki error?
Many thanks!
The text was updated successfully, but these errors were encountered: