Venus: Compare VEX data with HYB model
Created: 2013-04-07 13:35:04
It compares data from VEX from a certain date range with what HYB has modeled in the coordinates where VEX spacecraft is at that moment.
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (0)
Titles (0)
Descriptions (0)
Dependencies (0)
Inputs (2)
Name |
Description |
startTime |
Start time
|
stopTime |
stop time
|
Processors (13)
Name |
Type |
Description |
Workflow1 |
workflow |
|
AMDA_xyz |
workflow |
|
AMDA_param |
workflow |
|
sampling |
stringconstant |
Value600 |
densVEX |
stringconstant |
Valuevex_o_dens |
VEX_xyz |
stringconstant |
Valuexyz_vex(0:2) |
densHYB |
stringconstant |
Valuen |
CallAutoplot |
beanshell |
Scriptimport java.net.URI;
URI uri = new URI(source);
url="http://sms.rcs.manchester.ac.uk:8080/AutoplotServlet/SimpleServlet?url=vap+dat:"+uri.toASCIIString()+"?column=1&format=image%2Fpng&plot.title="+title; |
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();
|
TitleVEX |
stringconstant |
ValueVEX-density |
CallAutoplotModel |
beanshell |
Scriptimport java.net.URI;
URI uri = new URI(source);
url="http://sms.rcs.manchester.ac.uk:8080/AutoplotServlet/SimpleServlet?url=vap+dat:"+uri.toASCIIString()+"?column=field3&format=image%2Fpng&plot.title="+title; |
TitleHYB |
stringconstant |
ValueHYB-density |
Get_Image_From_URL_2 |
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 |
CallAutoplot |
|
source
title
|
url
|
CallAutoplotModel |
|
source
title
|
url
|
Outputs (2)
Name |
Description |
VEX_plot |
|
HYB_plot |
|
Datalinks (18)
Source |
Sink |
AMDA_xyz:fileURL |
Workflow1:url_XYZ |
densHYB:value |
Workflow1:variables |
startTime |
AMDA_xyz:startTime |
stopTime |
AMDA_xyz:stopTime |
sampling:value |
AMDA_xyz:Sampling |
VEX_xyz:value |
AMDA_xyz:ParameterID |
startTime |
AMDA_param:startTime |
stopTime |
AMDA_param:stopTime |
sampling:value |
AMDA_param:Sampling |
densVEX:value |
AMDA_param:ParameterID |
AMDA_param:fileURL |
CallAutoplot:source |
TitleVEX:value |
CallAutoplot:title |
CallAutoplot:url |
Get_Image_From_URL:url |
Workflow1:url |
CallAutoplotModel:source |
TitleHYB:value |
CallAutoplotModel:title |
CallAutoplotModel:url |
Get_Image_From_URL_2:url |
Get_Image_From_URL:image |
VEX_plot |
Get_Image_From_URL_2:image |
HYB_plot |
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
(0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (0)
No comments yet
Log in to make a comment