Open huard opened 2 years ago
Hi @cehbrecht,
Here is a PR to discuss how to create a better interface for loading the data into python objects.
The way I'm doing this is that I'm "augmenting" the WPSExecution
object with a load
method, which returns BirdyOutput
objects instead of owslib.wps.Output
. Then each BirdyOutput
is paired with a converter, which gives the BirdyOutput
another load
method that does the download and conversion.
I'm totally open to changing the names for these, and the interface.
@huard would you like to add a notebook example to see it in "action"?
Overview
This PR fixes #191
Changes:
load
method to WPS Execution responseload
method to WPS Output objects according to the "best" converter found.Related Issue / Discussion
This is still at the draft stage as a support for discussions.
Additional Information
Links to other issues or sources.