Ulysses/URAP radio quicklook from CDAWeb WSDL interface
Created: 2012-09-06 15:50:06
No description has been set
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (0)
Titles (0)
Descriptions (0)
Dependencies (0)
Inputs (1)
Name |
Description |
InputParameterList |
|
Processors (6)
Name |
Type |
Description |
Workflow3 |
workflow |
|
splitInputList |
beanshell |
Scriptint hitMiss = Integer.parseInt(params.get(0));
ETA_min = params.get(1).toString();
ETA_max = params.get(2).toString();
|
Ulysses_URAP_DataSet |
stringconstant |
ValueUY_M0_R144 |
checkHitMiss |
beanshell |
Scriptif (value == "0") {
throw new Exception("WIND was not hit by that event");
} |
Ulysses_URAP_RAR |
stringconstant |
ValueIntensity |
Get_Image_From_URL |
localworker |
Scriptif ((url == void) || (url == null)) {
throw new RuntimeException("The url must be specified");
}
URL inputURL = null;
if (base != void) {
inputURL = new URL(new URL(base), url);
} else {
inputURL = new URL(url);
}
int bytesRead = 0;
int totalBytesRead = 0;
InputStream is = inputURL.openStream();
ByteArrayOutputStream os = new ByteArrayOutputStream();
byte[] buffer = new byte[2048];
while (true) {
bytesRead = is.read(buffer);
if (bytesRead == -1) {
break;
}
os.write(buffer, 0, bytesRead);
}
image = os.toByteArray();
is.close();
os.close();
|
Beanshells (2)
Name |
Description |
Inputs |
Outputs |
splitInputList |
|
params
|
ETA_min
ETA_max
hitMiss
|
checkHitMiss |
|
value
|
|
Outputs (3)
Name |
Description |
Image |
|
isValid |
|
imageURL |
|
Datalinks (10)
Source |
Sink |
splitInputList:ETA_min |
Workflow3:DateBegin |
splitInputList:ETA_max |
Workflow3:DateEnd |
Ulysses_URAP_DataSet:value |
Workflow3:DataSet |
Ulysses_URAP_RAR:value |
Workflow3:ListOfParameters |
InputParameterList |
splitInputList:params |
splitInputList:hitMiss |
checkHitMiss:value |
Workflow3:ImageURL |
Get_Image_From_URL:url |
Get_Image_From_URL:image |
Image |
splitInputList:hitMiss |
isValid |
Workflow3:ImageURL |
imageURL |
Coordinations (1)
Controller |
Target |
checkHitMiss |
Workflow3 |
Uploader
License
All versions of this Workflow are
licensed under:
Version 1
(of 1)
Credits (2)
(People/Groups)
Attributions (0)
(Workflows/Files)
None
Shared with Groups (0)
None
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