Gathering galaxy properties using HyperLEDA
Created: 2011-11-30 16:49:48
Last updated: 2013-03-08 08:07:14
The user provides an ASCII text file with a list of galaxy names, and the workflow queries the HyperLEDA database and parses the response with the help of regular expressions included in simple Python scripts. The result of the workflow is a series of ASCII text files with the values of the equatorial coordinates in J2000 epoch, the velocities in km/s, the dust extinction coefficient Ag, the axis ratio of the isophote 25 mag/arcsec2 logr25 and the apparent total B magnitude BT.
The performance could be improved since only one query per galaxy is needed for the extraction of five physical properties. Nevertheless, we have decided to split the query into five different queries and provide a more modular workflow, which is best suited for aims of re-usability and re-purposability. It may happen that for other physical properties, values may come from different databases.
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Susana Sánchez, Jose Enrique Ruiz |
Titles (1)
Gathering of physical properties from HyperLEDA database |
Descriptions (1)
The user provides an ASCII text file with a list of galaxy names, and the workflow queries the HyperLEDA database and parses the response with the help of regular expressions included in simple Python scripts. The result of the workflow is a series of ASCII text files with the values of the equatorial coordinates in J2000 epoch, the velocities in km/s, the dust extinction coefficient Ag, the axis ratio of the isophote 25 mag/arcsec2 logr25 and the apparent total B magnitude BT.
The performance could be improved since only one query per galaxy is needed for the extraction of five physical properties. Nevertheless, we have decided to split the query into five different queries and provide a more modular workflow, which is best suited for aims of re-usability and re-purposability. It may happen that for other physical properties, values may come from different databases. |
Dependencies (0)
Processors (16)
Name |
Type |
Description |
Parse_GalaxyNames_File |
workflow |
|
GalaxyNamesFile |
stringconstant |
ValueEnter the file with the leda galaxy names |
Extracting_velocities_from_LEDA |
workflow |
|
velocity |
stringconstant |
Valuev |
Extracting_ag_from_LEDA |
workflow |
|
ag |
stringconstant |
Valueag |
Extracting_logr25_from_LEDA |
workflow |
|
logr25 |
stringconstant |
Valuelogr25 |
Extracting_BT_from_LEDA |
workflow |
|
bt |
stringconstant |
Valuebt |
Merge_velocity |
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();
|
Merge_ag |
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();
|
Merge_logr25 |
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();
|
Merge_bt |
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();
|
Extracting_J2000Coordinates_from_LEDA |
workflow |
|
Merge_J2000Coordinates |
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();
|
Outputs (5)
Name |
Description |
velocity |
Text file with three columns: name of the galaxy, velocity value, error value
If there is not error value, it will be NaN
|
ag |
Text file with three columns; the name of the galaxy, the galactic extinction and the error value got from HyperLEDA
If there is not error value, it will be NaN
|
logr25 |
Text file with three columns: name of the galaxy, log of axis ratio value, error value
If there is not error value, it will be NaN
|
bt |
Text file with three columns: name of the galaxy, total B-magnitud value, error value
If there is not error value, it will be NaN
|
j2000Coords |
Text file with a list of three columns: the name of the galaxy and its J2000 coordinates
|
Datalinks (20)
Source |
Sink |
GalaxyNamesFile:value |
Parse_GalaxyNames_File:title |
velocity:value |
Extracting_velocities_from_LEDA:property |
Parse_GalaxyNames_File:lines |
Extracting_velocities_from_LEDA:lines |
ag:value |
Extracting_ag_from_LEDA:property |
Parse_GalaxyNames_File:lines |
Extracting_ag_from_LEDA:lines |
Parse_GalaxyNames_File:lines |
Extracting_logr25_from_LEDA:lines |
logr25:value |
Extracting_logr25_from_LEDA:property |
bt:value |
Extracting_BT_from_LEDA:property |
Parse_GalaxyNames_File:lines |
Extracting_BT_from_LEDA:lines |
Extracting_velocities_from_LEDA:remoteValues |
Merge_velocity:stringlist |
Extracting_ag_from_LEDA:remoteValues |
Merge_ag:stringlist |
Extracting_logr25_from_LEDA:remoteValues |
Merge_logr25:stringlist |
Extracting_BT_from_LEDA:remoteValues |
Merge_bt:stringlist |
Parse_GalaxyNames_File:lines |
Extracting_J2000Coordinates_from_LEDA:lines |
Extracting_J2000Coordinates_from_LEDA:J2000Coords |
Merge_J2000Coordinates:stringlist |
Merge_velocity:concatenated |
velocity |
Merge_ag:concatenated |
ag |
Merge_logr25:concatenated |
logr25 |
Merge_bt:concatenated |
bt |
Merge_J2000Coordinates:concatenated |
j2000Coords |
Uploader
License
All versions of this Workflow are
licensed under:
Version 1 (earliest)
(of 2)
Credits (0)
(People/Groups)
None
Attributions (0)
(Workflows/Files)
None
Shared with Groups (0)
None
Featured In Packs (1)
Log in to add to one of your Packs
Attributed By (0)
(Workflows/Files)
None
Favourited By (2)
Statistics
Other workflows that use similar services
(0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (1)
Log in to make a comment
Great job!!