-
Notifications
You must be signed in to change notification settings - Fork 6
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
How to handle "multiple output" #25
Comments
Unsure if that answers your question, but please take a look at metalinks: bird-house/emu#64. First implementation here: bird-house/emu@1d6125f This is a recommendation from ADES&EMS best practices ER: https://docs.opengeospatial.org/per/18-050r1.html#_multiple_outputs |
see method using metalink like in birdy: |
implementation in pywps: |
@fmigneault Multiple outputs is an "evaluation aspect" of the OGC EO Pilot project. Thus we need to prioritize this relatively high. See https://portal.opengeospatial.org/files/?artifact_id=90733#_application_execution_multiple_outputs |
Another possible solution using STAC #103 |
For reference, some kind of multiple-output handling is already accomplished for WPS-REST interface when a job output is a JSON file listing an array of URL references : weaver/weaver/processes/utils.py Lines 87 to 116 in d2992ab
|
Follow up on opengeospatial/ogcapi-processes#225 If an output needs to be a JSON list, it should provide in the process description the |
Optional outputs ( |
According to
owslib.wps
,minOccurs
/maxOccurs
can only be parsed for inputs, outputs are always a single reference or literal data.In
pywps
, the outputs have a reference tomin_occurs
/max_occurs
because of inheritance from base classes. They are also returned in theirjson
property.For
CWL
, there is no restriction to have multiple outputs (array of string, file, etc.).Actually, when using a regex
glob: *.<ext>
pattern, a list of results is automatically created with all matches.How can we produce the
CWL <-> WPS
conversion in these cases?Also, should we enforce explicit values of
minOccurs
/maxOccurs
:minOccurs="1"
enforced since there should always be an outputupdate: since CWL allows optional outputs (eg:
File?
),minOccurs=0|1
should be set according to nullable detectionmaxOccurs="1" | "<number>" | "unbounded"
, with"1"
being the default (same reason as min), or one of"<number>" | "unbounded"
if specified during deploymentref #17
relates to opengeospatial/ogcapi-processes#37
To Do
The text was updated successfully, but these errors were encountered: