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

Best practices for WPS #22

Open
cehbrecht opened this issue Jun 6, 2018 · 1 comment
Open

Best practices for WPS #22

cehbrecht opened this issue Jun 6, 2018 · 1 comment

Comments

@cehbrecht
Copy link
Member

cehbrecht commented Jun 6, 2018

For example:

@cehbrecht cehbrecht changed the title Best practises for WPS Best practices for WPS Jun 6, 2018
@huard
Copy link

huard commented Jun 11, 2018

Multiple output files

Problem description

A process operating on large datasets may want to offer users the possibility to split the output into multiple files (one per year, per region, per variable, etc). In many cases, user parameters will determine the number of output files. It seems that the WPS standard would suggest to define the process as having one ComplexOutput, whose content provides a description and links to the individual output files. If we are to realize the promise of interoperability, there should be some community agreement on the format and structure of this output file.

Possible solutions

The WPS standard references "nested output". It's not clear what this means however. Would it be possible to nest a list of ComplexOutputs inside the process ComplexOutput ? Is this supported by pywps ?

Another option would be to describe netCDF output using NcML: https://www.unidata.ucar.edu/software/thredds/v4.3/tds/tds4.2/tutorial/NcML.htm

Dynamic inputs

For some processes, inputs are interdependent. That is, specifying the value of an input conditions the range of potential values for another input. This is not supported by the WPS standard and can only be enforced once the process is launched. A mechanism to provide dynamic input validation before the process is launched would be useful in many situations.

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

No branches or pull requests

2 participants