Calculating galaxies distances using data from LEDA
Created: 2011-10-01 11:26:35
Last updated: 2011-10-03 16:28:27
This workflow needs two inputs: a file with the list of the names of galaxies whose distance are going to be calculated (name galaxy file), and a file with our values of velocity for each galaxy (local velocity file). This workflow is composed by 5 nested workflow. The first one is used to read line by line the name galaxy file. This list of names is the input for the following two nested workflows. One of them uses the line with the name of galaxy to call HyperLEDA and to extract the velocity values from this service (Extract velocity workflow). And the other one calls HyperLEDA too, but to extract the J2000 coordinates of each galaxy (Extract J2000 workflow). The fourth nested workflow makes a comparision between the velocities values extracted from HyperLEDA and our velocity values (local velocity file), and it writes a file with this comparsion. The last nested workflow uses this comparing velocity file and the J2000 cordinates file to calculate the distance of each galaxy
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Titles (1)
Calculating distance galaxies |
Descriptions (1)
This workflow needs two input: a file with the list of the names of galaxies whose distance are going to be calculated (name galaxy file), and a file with the our values of velocity for each galaxy (local velocity file).
This workflow is componed by 5 nested workflow. The first one is used to read line by line the name galaxy file. This list of name is the input for other two nested workflow. One of the use the line with the name of galaxy to call HyperLEDA and extract the velocity values from this service (Extract velocity workflow). And the other one call HyperLEDA too, but to extract the J2000 coordinates of each galaxy (Extract J2000 workflow).
There is a fourth nested workflow that makes a comparision between the velocities values extracted from HyperLEDA and our velocity values (the input called local velocity file), and write a file with this comparsion.
The last nested workflow use this comparing velocity file and the J2000 cordinates file to calculate the distance of each galaxy |
Dependencies (0)
Inputs (1)
Name |
Description |
localPropertyFile |
The file contains a table. Each row contains the value of the velocity of a galaxy and the error of this value
|
Processors (9)
Name |
Type |
Description |
Workflow7 |
workflow |
|
Names_Galaxies |
stringconstant |
ValueEnter file with names of galaxies |
Extracting_J2000Coordinates_from_LEDA |
workflow |
|
Extracting_values_of_one_porperty_from_LEDA_ |
workflow |
|
velocity_property |
stringconstant |
Valuev |
Merge_String_List_to_a_String |
localworker |
ScriptString seperatorString = "\n";
if (seperator != void) {
seperatorString = seperator;
}
StringBuffer sb = new StringBuffer();
for (Iterator i = stringlist.iterator(); i.hasNext();) {
String item = (String) i.next();
sb.append(item);
if (i.hasNext()) {
sb.append(seperatorString);
}
}
concatenated = sb.toString();
|
Comparing_Quantities_ |
workflow |
|
Merge_String_List_to_a_String_2 |
localworker |
ScriptString seperatorString = "\n";
if (seperator != void) {
seperatorString = seperator;
}
StringBuffer sb = new StringBuffer();
for (Iterator i = stringlist.iterator(); i.hasNext();) {
String item = (String) i.next();
sb.append(item);
if (i.hasNext()) {
sb.append(seperatorString);
}
}
concatenated = sb.toString();
|
Calculate_the_distances_of_galaxies |
workflow |
|
Outputs (1)
Name |
Description |
distances |
|
Datalinks (11)
Source |
Sink |
Names_Galaxies:value |
Workflow7:title |
Workflow7:lines |
Extracting_J2000Coordinates_from_LEDA:lines |
Workflow7:lines |
Extracting_values_of_one_porperty_from_LEDA_:lines |
velocity_property:value |
Extracting_values_of_one_porperty_from_LEDA_:property |
Extracting_values_of_one_porperty_from_LEDA_:remoteValues |
Merge_String_List_to_a_String:stringlist |
Merge_String_List_to_a_String:concatenated |
Comparing_Quantities_:remoteFile |
localPropertyFile |
Comparing_Quantities_:localFile |
Extracting_J2000Coordinates_from_LEDA:J2000Coords |
Merge_String_List_to_a_String_2:stringlist |
Merge_String_List_to_a_String_2:concatenated |
Calculate_the_distances_of_galaxies:fileCoordsJ2000 |
Comparing_Quantities_:comparingFile |
Calculate_the_distances_of_galaxies:velocityComparing |
Calculate_the_distances_of_galaxies:distances |
distances |
Uploader
License
All versions of this Workflow are
licensed under:
BSD License
Version 1
(of 1)
Credits (0)
(People/Groups)
None
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