Simple DPAS query
Created: 2010-05-26 11:11:32
Last updated: 2011-12-15 09:59:41
queries dpas for each time priode and instrument
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Titles (1)
Descriptions (1)
queries dpas for each time priode and instrument |
Dependencies (0)
Inputs (3)
Name |
Description |
end_times |
list of end times
|
start_times |
list of start times
|
instruments |
list of instruments
RHESSI__HESSI_GMR, RHESSI__HESSI_HXR, PHOENIX__2
list of instruments
list of instruments
|
Processors (3)
Name |
Type |
Description |
create_DPAS_input_lists |
beanshell |
Scriptif(instruments.isEmpty() == true ||
startdates.isEmpty() == true ||
enddates.isEmpty() == true ||
instruments.get(0).trim().length()==0 ||
startdates.get(0).trim().length() == 0 ||
enddates.get(0).trim().length() == 0) {
throw new Exception("input values empty!");
}
if(startdates.size()!=enddates.size()){
throw new Exception("start date list and end date list must have same length!");
}
startdatesout = new ArrayList();
enddatesout = new ArrayList();
instrumentsout = new ArrayList();
for(int i=0; i < startdates.size(); i++) {
for(int j=0; j < instruments.size(); j++) {
startdatesout.add(startdates.get(i));
enddatesout.add(enddates.get(i));
instrumentsout.add(instruments.get(j));
}
} |
Query_2 |
wsdl |
Wsdlhttp://helio.i4ds.technik.fhnw.ch:8080/helio-dpas-3.0.1-SNAPSHOT/HelioTavernaService?wsdlWsdl OperationQuery |
Query_2_query |
xmlsplitter |
|
Beanshells (1)
Name |
Description |
Inputs |
Outputs |
create_DPAS_input_lists |
|
startdates
enddates
instruments
|
startdatesout
enddatesout
instrumentsout
|
Outputs (1)
Name |
Description |
DPAS_response |
output list from DPAS in VOTable format
|
Datalinks (8)
Source |
Sink |
end_times |
create_DPAS_input_lists:enddates |
start_times |
create_DPAS_input_lists:startdates |
instruments |
create_DPAS_input_lists:instruments |
Query_2_query:output |
Query_2:query |
create_DPAS_input_lists:startdatesout |
Query_2_query:STARTTIME |
create_DPAS_input_lists:enddatesout |
Query_2_query:ENDTIME |
create_DPAS_input_lists:instrumentsout |
Query_2_query:FROM |
Query_2:response |
DPAS_response |
Uploader
License
All versions of this Workflow are
licensed under:
Version 3
(of 4)
Credits (1)
(People/Groups)
Attributions (0)
(Workflows/Files)
None
Shared with Groups (1)
Featured In Packs (0)
None
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
(1)
Comments (0)
No comments yet
Log in to make a comment