get_available_layers
Created: 2013-12-06 18:07:40
Last updated: 2015-03-26 19:39:07
Retrieves all available environmental layers from the openModeller web service and optionally from the BioSTIF service. In the first case, a single XML is returned according to the openModeller XML Schema, and in the second case a list of XML is returned for each BioSTIF workspace.
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Alan R Williams & Renato De Giovanni |
Titles (1)
Descriptions (1)
Retrieves all available environmental layers from the openModeller web service and optionally from the BioSTIF service. In the first case, a single XML is returned according to the openModeller XML Schema, and in the second case a list of XML is returned for each BioSTIF workspace. |
Dependencies (0)
Inputs (1)
Name |
Description |
use_biostif_layers |
Indicate if the BioSTIF service should be queried in case one or more layers stored there will be used during the modelling procedure. Possible values are "yes" or "no" (string without double quote).
|
Processors (5)
Name |
Type |
Description |
getLayers |
wsdl |
Wsdlhttp://modeller.cria.org.br/ws2/om?wsdlWsdl OperationgetLayers |
control_biostif |
beanshell |
Scriptimport java.util.ArrayList;
ArrayList empty_list = new ArrayList();
ArrayList flag = new ArrayList();
if (use_biostif_layers.equals("yes")) {
flag.add(1);
}
|
query_biostif |
workflow |
|
Flatten_List_1 |
localworker |
Scriptflatten(inputs, outputs, depth) {
for (i = inputs.iterator(); i.hasNext();) {
element = i.next();
if (element instanceof Collection && depth > 0) {
flatten(element, outputs, depth - 1);
} else {
outputs.add(element);
}
}
}
outputlist = new ArrayList();
flatten(inputlist, outputlist, 1); |
Flatten_List_2 |
localworker |
Scriptflatten(inputs, outputs, depth) {
for (i = inputs.iterator(); i.hasNext();) {
element = i.next();
if (element instanceof Collection && depth > 0) {
flatten(element, outputs, depth - 1);
} else {
outputs.add(element);
}
}
}
outputlist = new ArrayList();
flatten(inputlist, outputlist, 1); |
Beanshells (1)
Name |
Description |
Inputs |
Outputs |
control_biostif |
|
use_biostif_layers
|
flag
empty_list
|
Outputs (2)
Name |
Description |
om_layers_xml |
XML according to openModeler Web Service 2.0 getLayersResponse element: http://openmodeller.sourceforge.net/web_service_2.html#toc16
|
biostif_layers_xml_list |
XML according to BioSTIF service response.
|
Datalinks (7)
Source |
Sink |
use_biostif_layers |
control_biostif:use_biostif_layers |
control_biostif:flag |
query_biostif:sentinel |
query_biostif:responseBody |
Flatten_List_1:inputlist |
Flatten_List_1:outputlist |
Flatten_List_2:inputlist |
control_biostif:empty_list |
Flatten_List_2:inputlist |
getLayers:Body |
om_layers_xml |
Flatten_List_2:outputlist |
biostif_layers_xml_list |
Uploader
Component Validity
Loading
License
All versions of this Workflow are
licensed under:
Version 6
(of 8)
Credits (0)
(People/Groups)
None
Attributions (0)
(Workflows/Files)
None
Shared with Groups (1)
Featured In Packs (1)
Log in to add to one of your Packs
Attributed By (0)
(Workflows/Files)
None
Favourited By (0)
No one
Statistics
Other workflows that use similar services
(7)
Only the first 2 workflows that use similar services are shown. View all workflows that use these services.
Uploader
Project
get_available_algorithms
(3)
Retrieves all available algorithms from the openModeller web service, returning an XML.
Created: 2013-12-06
| Last updated: 2014-11-04
Uploader
Project
evaluate_model
(9)
Evaluates a model, returning model values for a given set of points and layers.
Created: 2013-12-10
| Last updated: 2014-12-04
Comments (0)
No comments yet
Log in to make a comment