-
Notifications
You must be signed in to change notification settings - Fork 12
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
Fix failing shape selection process #223
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't there a risk that this will break the notebook this change was for ?
The "wb" flag is currently breaking the build tests currently. https://travis-ci.org/github/Ouranosinc/raven/jobs/666001344?utm_medium=notification&utm_source=github_status I'll verify that the notebooks still function. If not, we need to find a solution for both. |
@huard I can't find the notebook that needed the changes implemented previously, which one was it? It also seems as though the notebook build is failing due incompatibilities between |
I thought it was the gridded_subset_notebook. But if you can get all the notebooks to pass, I won't complain. |
@huard I think the functions that are being used in In terms of the notebooks, some of them are failing due to calls to |
@Zeitsperre Sounds good ! |
@Zeitsperre Try to merge the
The Finch PR bird-house/finch#112 that added that |
Things are coming along here but it looks as though there's an issue really deep dealing with mimetypes:
Something is specifying files as |
@huard any advice? I think you were the last person to adjust the encoding handling in Birdy (bird-house/birdy@be1a3c0). |
@huard Putting work for this on hold for now. I'll be watching those PRs in the meantime. Thanks for the help! |
Looking into this again now that the upstream issues have been fixed. |
@huard I think I'm good to merge this now and open an issue about the failing mimetype error. I can't advance on it until a new PyWPS is released and the fix tht was needed for this PR is present here already. Work for you? |
"# Set environment variable RAVEN_WPS_URL to \"http://localhost:9099\" to run on the default local server\n", | ||
"url = os.environ.get(\"RAVEN_WPS_URL\", \"https://pavics.ouranos.ca/twitcher/ows/proxy/raven/wps\")\n", | ||
"# url = os.environ.get(\"RAVEN_WPS_URL\", \"https://pavics.ouranos.ca/twitcher/ows/proxy/raven/wps\")\n", | ||
"url = os.environ.get(\"RAVEN_WPS_URL\", \"http://localhost:9099\")\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default Raven URL should have been the one on PAVICS, not the localhost one !
* Revert bad write format * Add salem and some small changes to facilitate notebooks passing tests * Fix `wb` flag condition and notebook errors * Blacken and PEP8 wps_raven_hbv_ec.py * Make test_nb output verbose
Overview
This PR fixes an issue introduced in 5fce8da
Changes:
write+bytes
setting fromwps_hydrobasins_shape_selection.py
that was causing write failure for xml strings.Related Issue / Discussion
Additional Information
Links to other issues or sources.