VAMDC Query to Two Nodes using HTML Consumer Service
Created: 2012-03-07 18:30:34
Last updated: 2012-09-12 13:07:17
Shows a VAMDC Tap query to two Nodes Hitran and CDMS and placing the output to a Consumer Service and finally calling a small Beanshell scrip to call up the default browser to show results.
CDMS - The Cologne Database for Molecular Spectroscopy (CDMS) contains a catalog of radio frequency and microwave to far-infrared spectral lines of atomic and molecular species that (may) occur in the interstellar or circumstellar medium or in planetary atmospheres. The catalog is continuously updated.
Hitran - HITRAN is an acronym for high-resolution transmission molecular absorption database. HITRAN is a compilation of spectroscopic parameters that a variety of computer codes use to predict and simulate the transmission and emission of light in the atmosphere. Keywords: Spectroscopy Linelists Atmospheric Radiative Transfer
More plugin information at:
http://vamdc.mssl.ucl.ac.uk/taverna/vamdc/
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (0)
Titles (0)
Descriptions (0)
Dependencies (0)
Processors (11)
Name |
Type |
Description |
TapXSams |
vamdc__taverna__suite |
|
Format_value |
stringconstant |
ValueXSAMS |
Lang_value |
stringconstant |
ValueVSS2 |
Reference_value |
stringconstant |
Valuetrue |
HitranURL |
vamdc__taverna__suite |
|
CDMSURL |
vamdc__taverna__suite |
|
MoleculeStoichiometricFormula |
vamdc__taverna__suite |
|
Equal |
stringconstant |
Value= |
CO |
stringconstant |
Value'CO' |
Table_views_of_XSAMS |
vamdc__taverna__suite |
|
Call_Browser |
localworker |
Script
if( !java.awt.Desktop.isDesktopSupported() ) {
System.err.println( "Desktop is not supported cannot open browser" );
outputmsg = "Desktop is not supported, cannot open browser";
}
if(inputlist.size() == 0) {
outputmsg = "No Input to call Browser.";
}else {
java.awt.Desktop desktop = java.awt.Desktop.getDesktop();
outputmsg = "";
for (Iterator i = inputlist.iterator(); i.hasNext();) {
String item = new String(i.next());
try {
if(item.startsWith("http")) {
java.net.URI uri = new java.net.URI( item );
desktop.browse( uri );
outputmsg += "Success: " + item;
}
}
catch ( Exception e ) {
System.err.println( e.getMessage() );
}
}
} |
Outputs (3)
Name |
Description |
xsamsresults |
|
HTML_Table_out |
|
browser_msg |
|
Datalinks (13)
Source |
Sink |
Format_value:value |
TapXSams:Format |
Lang_value:value |
TapXSams:Lang |
Reference_value:value |
TapXSams:Reference |
Equal:value |
MoleculeStoichiometricFormula:Operator |
CO:value |
MoleculeStoichiometricFormula:Value |
TapXSams:XSamsResult |
Table_views_of_XSAMS:XSAMS URL |
Table_views_of_XSAMS:Results |
Call_Browser:inputlist |
HitranURL:URLForTapXSAMSQuery |
TapXSams:TAP URL or Registry Ivorn |
CDMSURL:URLForTapXSAMSQuery |
TapXSams:TAP URL or Registry Ivorn |
MoleculeStoichiometricFormula:QueryString |
TapXSams:Query |
TapXSams:XSamsResult |
xsamsresults |
Table_views_of_XSAMS:Results |
HTML_Table_out |
Call_Browser:outputmsg |
browser_msg |
Uploader
License
All versions of this Workflow are
licensed under:
Version 1 (earliest)
(of 2)
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