create_model
Created: 2013-12-10 17:33:08
Last updated: 2014-12-04 15:23:03
Creates a model based on the specified configuration.
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Alan R Williams & Renato De Giovanni |
Titles (1)
Descriptions (1)
This workflow uses openModeller to create a model based upon the specified configuration. |
Dependencies (0)
Inputs (9)
Name |
Description |
presence_points_xml |
A string containing newline separated list of presence points in XML.
|
algorithm_xml |
The XML of the algorithm specification.
|
layers |
A string containing a newline separated list of the ids of the layers to be used to create the model.
|
mask_id |
Mask id.
|
spatially_unique |
Filter spatially unique points ("yes" or "no").
|
environmentally_unique |
Filter environmentally unique points ("yes" or "no").
|
absence_points_xml |
A string containing newline separated list of absence points in XML.
|
srs |
Spatial reference system for all points in WKT format.
|
species_label |
Species name.
|
Processors (3)
Name |
Type |
Description |
make_xml |
beanshell |
Scriptxml = "\n"
+"\n"
+"\n"
+"\n"
+"\n";
int i = 0;
String[] s_layers = layers.split("\n");
for ( i = 0; i < s_layers.length; ++i ) {
if ( s_layers[i].length() > 0 ) {
xml += "\n";
if ( presence_points_xml.length() > 0 ) {
xml += "\n"
+""+srs+"\n"
+presence_points_xml
+"\n";
}
if ( absence_points_xml.length() > 0 ) {
xml += "\n"
+""+srs+"\n"
+absence_points_xml
+"\n";
}
xml += "\n"
+algorithm_xml
+"\n";
if (spatially_unique.equals("yes") || environmentally_unique.equals("yes")) {
xml += "\n";
if (environmentally_unique.equals("yes")) {
xml += "\n";
}
if (spatially_unique.equals("yes")) {
xml += "\n";
}
xml += "\n";
}
xml += "\n"
+"\n"
+"\n"; |
call_service |
workflow |
This part is responsible for calling the service to create the model. |
extract_model |
workflow |
This part extracts the resulting model in XML. |
Beanshells (2)
Name |
Description |
Inputs |
Outputs |
make_xml |
|
environmentally_unique
spatially_unique
mask_id
layers
algorithm_xml
presence_points_xml
absence_points_xml
srs
species_label
|
xml
|
checkProgress |
|
input_progress
|
output_progress
|
Outputs (4)
Name |
Description |
log |
Model creation log.
|
model_xml |
Serialized model in XML that can be used as input in other operations.
|
progress |
Model creation progress. Possible values are: 100 (completed), -2 (aborted) or -3 (cancelled).
|
full_serialized_final_model |
Complete XML response after creating a model.
|
Datalinks (15)
Source |
Sink |
environmentally_unique |
make_xml:environmentally_unique |
spatially_unique |
make_xml:spatially_unique |
mask_id |
make_xml:mask_id |
algorithm_xml |
make_xml:algorithm_xml |
layers |
make_xml:layers |
srs |
make_xml:srs |
species_label |
make_xml:species_label |
absence_points_xml |
make_xml:absence_points_xml |
presence_points_xml |
make_xml:presence_points_xml |
make_xml:xml |
call_service:createModel_configuration |
call_service:model_envelope |
extract_model:model_envelope |
call_service:output_log |
log |
extract_model:model_xml |
model_xml |
call_service:output_progress |
progress |
call_service:model_envelope |
full_serialized_final_model |
Coordinations (1)
Controller |
Target |
call_service |
extract_model |
Uploader
Component Validity
Loading
License
All versions of this Workflow are
licensed under:
Version 6
(of 10)
Credits (0)
(People/Groups)
None
Attributions (0)
(Workflows/Files)
None
Shared with Groups (0)
None
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