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
|
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));
}
} |
DPAS_query |
wsdl |
Wsdlhttp://msslxw.mssl.ucl.ac.uk:8080/helio-dpas/HelioTavernaService?wsdlWsdl OperationQuery |
DPAS_query_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 |
DPAS_query_query:output |
DPAS_query:query |
create_DPAS_input_lists:startdatesout |
DPAS_query_query:STARTTIME |
create_DPAS_input_lists:enddatesout |
DPAS_query_query:ENDTIME |
create_DPAS_input_lists:instrumentsout |
DPAS_query_query:INSTRUMENT |
DPAS_query:response |
DPAS_response |
Uploader
License
All versions of this Workflow are
licensed under:
Version 4 (latest)
(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