Gathering info from SDSS into a VOTable to execute Sextractor, Galfit and Ellipse.
Created: 2012-08-13 11:04:27
Last updated: 2013-03-08 12:09:18
This workflow joins two main nested workflows:
- "Extract SDSS field information and PSF" workflow, which gathers information from SDSS VO service and from the header image in several VOtable. It also generates the psf files.
- "Joining VOtables with information to execute Sextractor, Galfit and Ellipse" workflow, which joins the VOtables generated by the previous workflow to get only one VOtable with all the information
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Titles (1)
Gathering info from SDSS into a VOTable to execute Sextractor, Galfit and Ellipse. |
Descriptions (1)
This workflow joins two main nested workflows:
- "Extract SDSS field information and PSF" workflow, which gathers information from SDSS VO service and from the header image in several VOtable. It also generates the psf files.
- "Joining VOtables with information to execute Sextractor, Galfit and Ellipse" workflow, which joins the VOtables generated by the previous workflow to get only one VOtable with all the information
|
Dependencies (0)
Inputs (2)
Name |
Description |
preprocessing_config |
ASCII file with the paths where the files needed by the RO workflows are stored, and also the paths where the files generated by the execution of these RO workflows will be stored
- Absolute path of the RO folder
- Relative path to RO folder where the image fits files are stored
- Relative path to RO folder where the files generated by this workflow will be stored
- Relative path to RO folder where the files generated by sextractor will be stored
- Relative path to RO folder where the files generated by ellipse will be stored
- Relative path to RO folder where the files generated by galfit will be stored
- Relative path to RO folder where the plots will be stored
- Relative path to RO folder where the configuration file for sextractor is stored
|
init_table |
|
Processors (2)
Name |
Type |
Description |
Extract_SDSS_field_i |
workflow |
This workflow gathers information needed by the execution of Sextractor, Galfit and Ellipse, from the SDSS VO service. It receives two inputs:
1) An ascii table with information about the image such as data of the field, name of the fits file or if it is barred or not.
2) A configuration file with the paths where the files needed by the workflow can be found and other paths where to store the files generated by the workflow
This workflow extracts the band from the image header, and the information about the field (kk, saturation, aa, airmass, gain) from the SDSS DR7 drfield VO service.Then it downloads the psfield file into the path provided by the configuration file, and it runs the program "read_psf" in order to build the psf file corresponding with the specific band of the image.
The output of this workflow is made up of 13 lists:
- Filenames: Paths where store files that are going to be generated (i.e. the output file of Sextractor)
- psf: Paths where the psf files have been stored.
- Band: List of bands correspondig to the image
- nx and ny: NAXIS1 and NAXIS2
- kk : List of extinction coefficient values
- saturation: List of saturation level values
- aa: List of zero-point values
- airmass: List of airmass values
- gain: List of Gain Averaged over Amplifiers values
- ra,dec: List of coordinates
- Bar: list of 1/0 indicating if the image of the corresponding row is barred or not
|
Joining_VOtables_wit |
workflow |
This workflow join 13 votables, obtained from the workflow "Extract SDSS field information and PSF" in order to get a only one votable with all the information. Also it adds the columns "zp", "magzeropoint", xconvsize, yconvsize that are calculated from values provided in the inputs. The zp is -( aa + kk * airmass ), the magzeropoint is zp + 2.5 * log10(53.907456), the xconvsize is roundUp(nx/10) and the yconvsize is
roundUp(ny/10) |
Beanshells (6)
Name |
Description |
Inputs |
Outputs |
extract_info |
This module parses the text in the "input_table" input to extract the information needed by the rest of workflow |
lines
|
DECs
RAs
RERUNs
RUNs
CAMCOLs
FIELDs
IMAGENAMEs
BARREDs
PSFIELDs
PSFs
|
change_columnTitle_aa |
The SDSS service returns a VOTable in which the column title depends on the band, ie: <property>_<band>.
This module changes the column title of the VOTable to get the same title independently of the band, ie: <property>. In this way the module "Cat_n-tables" will be able to concat the list of values in a VOTable |
lines
|
votable
|
change_columnTitle_airmass |
The SDSS service returns a VOTable in which the column title depends on the band, ie: <property>_<band>.
This module changes the column title of the VOTable to get the same title independently of the band, ie: <property>. In this way the module "Cat_n-tables" will be able to concat the list of values in a VOTable |
lines
|
votable
|
change_columnTitle_gain |
The SDSS service returns a VOTable in which the column title depends on the band, ie: <property>_<band>.
This module changes the column title of the VOTable to get the same title independently of the band, ie: <property>. In this way the module "Cat_n-tables" will be able to concat the list of values in a VOTable |
lines
|
votable
|
change_columnTitle_kk |
The SDSS service returns a VOTable in which the column title depends on the band, ie: <property>_<band>.
This module changes the column title of the VOTable to get the same title independently of the band, ie: <property>. In this way the module "Cat_n-tables" will be able to concat the list of values in a VOTable |
lines
|
votable
|
change_columnTitle_satur |
The SDSS service returns a VOTable in which the column title depends on the band, ie: <property>_<band>.
This module changes the column title of the VOTable to get the same title independently of the band, ie: <property>. In this way the module "Cat_n-tables" will be able to concat the list of values in a VOTable |
lines
|
votable
|
Outputs (1)
Name |
Description |
votable |
VOtable with all the information needed to execute Sextractor, Galfit and ellipse.
The columns of this votable are:
- image: Path of the fits image
- cat: File path where sextractor results is allocated.
- sex: File path where the sextractor config file is allocated (one for each galaxy).
- sexparam: File path for general sextractor configuration file (the same for all the galaxies)
- checkimage_name: File path where the sextractor image result is allocated
- galfit: File path where the input for the first galfit execution is allocated.
- galfit_exp: File path where the output for the first galfit execution is allocated.
- galfit2nd: File path where the input for the second galfit execution is allocated.
- galfitgal: File path where the output for the second galfit execution is allocated.
- model: File path where the galfit image result is allocated.
- ellip_tab: File path where the output for the first ellipse execution is allocated.
- ellip_resultheader: File path that contains the column descriptions for the ellipse results (first iteration).
- ellip_resultdata: File path that contains an ascii table with the ellipse results (first iteration).
- ellip_tab2: File path where the output for the second ellipse execution is allocated.
- ellip_resultheader2: File path that contains the column descriptions for the ellipse results (second iteration).
- ellip_resultdata2: File path that contains an ascii table with the ellipse results (second iteration).
- ellip_script1: File path where python the script that is used run pyraf is allocated (first iteration)
- ellip_script2: File path where python the script that is used run pyraf is allocated (second iteration)
- ellip_plot: File path where the plot that represent galfit and ellipse results is allocated.
- band: Band (g,r,i,z,u) of the image
- psf: Path of the psf file
- ra: Right ascension
- dec: Declination
- saturation: saturation level
- gain:Gain Averaged over Amplifiers
- nx :NAXIS1
- ny: NAXIS2
- bar: 1 or 0, indicating if the galaxy is barred or not.
- aa: Zero-point
- kk: Extinction coefficient
- airmass: Airmass for star at frame center (mid exposure)
- zp: it is calculated as -( aa + kk * airmass )
- mag_zeropoint: It is calculated as zp + 2.5 * log10(53.907456)
- xconvsize: it is calculated as roundUp(nx/10)
-yconvsize: it is calculated as roundUp(ny/10)
|
Datalinks (16)
Source |
Sink |
init_table |
Extract_SDSS_field_i:input_table |
preprocessing_config |
Extract_SDSS_field_i:config_preprocessing |
Extract_SDSS_field_i:aa |
Joining_VOtables_wit:aa |
Extract_SDSS_field_i:airmass |
Joining_VOtables_wit:air |
Extract_SDSS_field_i:band |
Joining_VOtables_wit:band |
Extract_SDSS_field_i:bar |
Joining_VOtables_wit:bar |
Extract_SDSS_field_i:dec |
Joining_VOtables_wit:dec |
Extract_SDSS_field_i:filenames |
Joining_VOtables_wit:filenames |
Extract_SDSS_field_i:gain |
Joining_VOtables_wit:gain |
Extract_SDSS_field_i:kk |
Joining_VOtables_wit:kk |
Extract_SDSS_field_i:nx |
Joining_VOtables_wit:nx |
Extract_SDSS_field_i:ny |
Joining_VOtables_wit:ny |
Extract_SDSS_field_i:psf |
Joining_VOtables_wit:psf |
Extract_SDSS_field_i:ra |
Joining_VOtables_wit:ra |
Extract_SDSS_field_i:saturation |
Joining_VOtables_wit:satur_level |
Joining_VOtables_wit:votable |
votable |
Uploader
License
All versions of this Workflow are
licensed under:
Version 3
(of 4)
Credits (1)
(People/Groups)
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 (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