Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJ/766/109 into FORTRAN code for reading data files line by line.
Note that special values are assigned to unknown or unspecified
numbers (also called NULL numbers);
when necessary, the coordinate components making up the right ascension
and declination are converted into floating-point numbers
representing these angles in degrees.
program load_ReadMe
C=============================================================================
C F77-compliant program generated by readme2f_1.81 (2015-09-23), on 2026-Aug-15
C=============================================================================
* This code was generated from the ReadMe file documenting a catalogue
* according to the "Standard for Documentation of Astronomical Catalogues"
* currently in use by the Astronomical Data Centers (CDS, ADC, A&A)
* (see full documentation at URL http://vizier.u-strasbg.fr/doc/catstd.htx)
* Please report problems or questions to
C=============================================================================
implicit none
* Unspecified or NULL values, generally corresponding to blank columns,
* are assigned one of the following special values:
* rNULL__ for unknown or NULL floating-point values
* iNULL__ for unknown or NULL integer values
real*4 rNULL__
integer*4 iNULL__
parameter (rNULL__=--2147483648.) ! NULL real number
parameter (iNULL__=(-2147483647-1)) ! NULL int number
integer idig ! testing NULL number
C=============================================================================
Cat. J/ApJ/766/109 Color/age/metallicity gradients of E galaxies (Kim+, 2013)
*================================================================================
*Optical-near-infrared color gradients and merging history of elliptical
*galaxies.
* Kim D., Im M.
* <Astrophys. J., 766, 109 (2013)>
* =2013ApJ...766..109K
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! List of ellipticals and their properties
integer*4 nr__
parameter (nr__=205) ! Number of records
character*108 ar__ ! Full-size record
integer*4 Seq ! [24/3726] Kaviraj, 2010, J/MNRAS/406/382
* catalog identifier
real*4 z ! [0.01/0.05] redshift
real*4 reffr ! (arcsec) [1.6/27] The r band effective radius
real*4 reffK ! (arcsec) [1.6/18] The K band effective radius
real*4 g_g_r ! The (g-r) color gradient (1)
real*4 e_g_g_r ! Uncertainty in g(g-r)
real*4 g_r_K ! [-1.8/1.1] The (r-K) color gradient (1)
real*4 e_g_r_K ! Uncertainty in g(r-K)
real*4 g_g_K ! The (g-K) color gradient (1)
real*4 e_g_g_K ! Uncertainty in g(g-K)
real*4 g_t ! [-1.4/4.8] The age gradient (2)
real*4 e_g_t ! [0/3.3] Uncertainty in g(t)
real*4 g_Z ! [-2.7/1.7] The metallicity gradient (2)
real*4 e_g_Z ! Uncertainty in g(Z)
real*4 KMag ! (mag) [-24.4/-21.3] Absolute K band AB magnitude
real*4 e_KMag ! (mag) [0/0.05] Uncertainty in KMag
real*4 logM_ ! ([Msun]) [10.6/11.9] Log stellar mass from KMag
real*4 e_logM_ ! ([Msun]) [0/0.02] Uncertainty in logM*
real*4 B_T ! [0.5/1] Bulge to total light ratio
character*1 Type ! [RTD] Morpological type: R=relaxed,
* T=tidal-feature, D=dust-feature.
*Note (1): the gradient of color (a-b) g(a-b)={nabla}(a-b) is:
* {nabla}(a-b) = {Delta}(SB(a)-SB(b))/{Delta}log(r/r_eff_(b))
*Note (2): grandients defined by:
* {nabla}(t) = {Delta}log(t)/{Delta}log(r/r_eff_(K))
* {nabla}(Z) = {Delta}log(Z)/{Delta}log(r/r_eff_(K))
C=============================================================================
C Loading file 'table2.dat' ! List of ellipticals and their properties
C Format for file interpretation
1 format(
+ I4,1X,F6.4,1X,F5.2,1X,F5.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,
+ F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,F6.2,1X,F4.2,
+ 1X,F5.2,1X,F4.2,1X,F4.2,1X,A1)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,205
read(1,'(A108)')ar__
read(ar__,1)
+ Seq,z,reffr,reffK,g_g_r,e_g_g_r,g_r_K,e_g_r_K,g_g_K,e_g_g_K,
+ g_t,e_g_t,g_Z,e_g_Z,KMag,e_KMag,logM_,e_logM_,B_T,Type
c ..............Just test output...........
write(6,1)
+ Seq,z,reffr,reffK,g_g_r,e_g_g_r,g_r_K,e_g_r_K,g_g_K,e_g_g_K,
+ g_t,e_g_t,g_Z,e_g_Z,KMag,e_KMag,logM_,e_logM_,B_T,Type
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end