WIND/Waves radio quicklook from CDAWeb WSDL interface
Created: 2012-09-06 15:44:58
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 (7)
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();
|
Wind_Waves_DataSet |
stringconstant |
ValueWI_H1_WAV |
checkHitMiss |
beanshell |
Scriptif (value == "0") {
throw new Exception("WIND was not hit by that event");
} |
WIND_Waves_RAD2 |
stringconstant |
ValueE_VOLTAGE_RAD2 |
WIND_Waves_RAD1 |
stringconstant |
ValueE_VOLTAGE_RAD1 |
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 (11)
Source |
Sink |
splitInputList:ETA_min |
Workflow3:DateBegin |
splitInputList:ETA_max |
Workflow3:DateEnd |
Wind_Waves_DataSet:value |
Workflow3:DataSet |
InputParameterList |
splitInputList:params |
splitInputList:hitMiss |
checkHitMiss:value |
Workflow3:ImageURL |
Get_Image_From_URL:url |
WIND_Waves_RAD2:value |
Workflow3:ListOfParameters |
WIND_Waves_RAD1:value |
Workflow3:ListOfParameters |
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