Skip to content
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

Add support for OGC API Processes #235

Open
huard opened this issue Jul 4, 2023 · 3 comments
Open

Add support for OGC API Processes #235

huard opened this issue Jul 4, 2023 · 3 comments

Comments

@huard
Copy link
Contributor

huard commented Jul 4, 2023

Description

OWSLib now has support for OGC API Processes. Not clear if the birdy WPSClient can be adapted, or if we'll need to create a new OGCAPIProcessesClient.

@fmigneault
Copy link

Rather than reimplementing your own: https://github.com/crim-ca/weaver/blob/d4ffd34e8cc33a3b08ab39779d72406023565d81/weaver/cli.py#L382

Docs: https://pavics-weaver.readthedocs.io/en/latest/cli.html#python-client-commands

Should be as "latest" as possible in terms of support of OGC API - Processes, since this is way I use to test anything proposed to the SWG + all the bells and whistles of CWL+WPS support.

@huard
Copy link
Contributor Author

huard commented Oct 10, 2024

The birdy client creates a mock python module out of the process definitions. I didn't see that in weaver, correct ? But I suspect it'd be easier to build this on top of weaver than OWSLib ?

@fmigneault
Copy link

You can use this function for OWSLib to OGC API Processes:
(ignore the first CWL output, the second JSON output is the OAP process description)
https://github.com/crim-ca/weaver/blob/d4ffd34e8cc33a3b08ab39779d72406023565d81/weaver/processes/convert.py#L1026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants