Conversion of standardized ReadMe file for
file /./home/cats/J/AJ/152/208 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-May-10
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/AJ/152/208 Ages and metallicities for M31 star clusters (Fan+, 2016)
*================================================================================
*Lick indices and spectral energy distribution analysis based on an M31 star
*cluster sample: comparisons of methods and models.
* Fan Z., de Grijs R., Chen B., Jiang L., Bian F., Li Z.
* <Astron. J., 152, 208-208 (2016)>
* =2016AJ....152..208F (SIMBAD/NED BibCode)
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Observations of our sample globular clusters
integer*4 nr__
parameter (nr__=22) ! Number of records
character*66 ar__ ! Full-size record
C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg ! (deg) Right Ascension J2000
real*8 DEdeg ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
character*10 Name ! Globular cluster identification
integer*4 RAh ! (h) Hour of Right Ascension (J2000) (1)
integer*4 RAm ! (min) Minute of Right Ascension (J2000) (1)
real*4 RAs ! (s) Second of Right Ascension (J2000) (1)
character*1 DE_ ! Sign of the Declination (1)
integer*4 DEd ! (deg) Degree of Declination (J2000) (1)
integer*4 DEm ! (arcmin) Arcminute of Declination (J2000) (1)
real*4 DEs ! (arcsec) Arcsecond of Declination (J2000) (1)
real*4 Rp ! (kpc) Projected radius from the galaxy center
* (r_p_) (1)
real*4 Vmag ! (mag) V-band magnitude (1)
integer*4 Exp ! (s) Exposure time of individual observation
integer*4 Nexp ! ? Number of exposures
character*11 Date ! ("Y:M:D") Date of observation
*Note (1): The coordinates, r_p_ and V-band magnitudes were taken from the
* Revised Bologna Catalog (RBC) v.5. (Galleti et al. 2012, Cat. V/143).
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Radial velocities, V_r_, of our sample globular
clusters as well as previously published
measurements
integer*4 nr__1
parameter (nr__1=22) ! Number of records
character*39 ar__1 ! Full-size record
character*10 Name_1 ! Globular cluster identification
character*1 f_Name ! [1a] Flag on Name (2)
integer*4 RV1 ! (km/s) [-673/45] Radial velocity fitted with ULySS
* based on the model of Vazdekis et al. 2010
* (Cat. J/MNRAS/404/1639) (3)
integer*4 e_RV1 ! (km/s) [1/120] Uncertainty in RV1 (3)
integer*4 RV2 ! (km/s) [-681/54] Radial velocity fitted with ULySS
* based on the PEGASE-HR model (3)
integer*4 e_RV2 ! (km/s) [1/60] Uncertainty in RV2 (3)
integer*4 RV3 ! (km/s) [-561/33]? Radial velocity from the Revised
* Bologna Catalog (RBC) v.5. (Galleti et al.
* 2012, Cat. V/143)
integer*4 e_RV3 ! (km/s) [1/47]? Uncertainty in RV3
character*1 f_RV3 ! [a] Flag 'a' on RV3 indicates that the RBC
* radial velocity was modified in -188+/-26km/s
* at CDS (4)
*Note (2): Flag defined as follows:
* 1 = This flag was not explained in the text;
* a = In Table2, the repeated object G339-BA30 (in the paper) was modified in
* B339-G077 at CDS.
*Note (3): Fitted with Universite de Lyon Spectroscopic analysis Software (ULySS;
* http://ulyss.univ-lyon1.fr/; see Koleva et al. 2009A&A...501.1269K,
* Chen et al. 2016, Cat. J/AJ/152/45).
*Note (4): In Table2 of the paper, the RBC radial velocity of G339-BA30 was
* 33+/-30km/s. As we modified G339-BA30 in B339-G077 at CDS, we changed the
* RBC radial velocity in -188+/-26km/s (from the Revised Bologna Catalog v.5.
* of Galleti et al. 2012, Cat. V/143).
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! Ages and metallicities derived from the Lick
absorption-line indices fitted with ULySS
integer*4 nr__2
parameter (nr__2=22) ! Number of records
character*62 ar__2 ! Full-size record
character*10 Name_2 ! Globular cluster identification
real*4 logAge1 ! (yr) [9.3/10.25] Log of age for the Vazdekis et
* al. 2010 (Cat. J/MNRAS/404/1639) SSP
* model (5)
real*4 e_logAge1 ! (yr) [0/0.07] Error in logAge1 (5)
real*4 logAge2 ! (yr) [9.4/10.4] Log of age for the PEGASE-HR SSP
* model (6)
real*4 e_logAge2 ! (yr) [0/0.042] Error in logAge2 (6)
real*4 v_Fe_H_1 ! ([Sun]) [-2.32/-0.35] Metallicity for the Vazdekis et
* al. 2010 (Cat. J/MNRAS/404/1639) SSP
* model (5)
real*4 e__Fe_H_1 ! ([Sun]) [0.01/0.04] Error in [Fe/H]1 (5)
real*4 v_Fe_H_2 ! ([Sun]) [-2.3/-0.4] Metallicity for the PEGASE-HR SSP
* model (6)
real*4 e__Fe_H_2 ! ([Sun]) [0.01/0.03] Error in [Fe/H]2 (6)
*Note (5): Logarithmic age and metallicity derived based on the Lick
* absorption-line index and fitted with Universite de Lyon Spectroscopic
* analysis Software (ULySS; http://ulyss.univ-lyon1.fr/; see Koleva et al.
* 2009A&A...501.1269K, Chen et al. 2016, Cat. J/AJ/152/45), for the Vazdekis
* et al. 2010 (Cat. J/MNRAS/404/1639) Simple Stellar Population (SSP) model.
*Note (6): Logarithmic age and metallicity derived based on the Lick
* absorption-line index and fitted with ULySS, for PEGASE-HR Simple Stellar
* Population (SSP) model (provided by Le Borgne et al. 2004A&A...425..881L).
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! Ages and metallicities derived from the Lick
absorption-line indices fitted with EZ_Ages
integer*4 nr__3
parameter (nr__3=22) ! Number of records
character*34 ar__3 ! Full-size record
character*10 Name_3 ! Globular cluster identification
real*4 logAge3 ! (Gyr) [2/12.21]?=99.99 Age derived with EZ_Ages (7)
real*4 v_Fe_H_3 ! ([Sun]) [-1.12/-0.18]?=99.99 Metallicity derived with
* EZ_Ages (7)
real*4 v_Fe_H_4 ! ([Sun]) [-2.25/-0.35] Metallicity derived from [MgFe] (8)
real*4 v_Fe_H_5 ! ([Sun]) [-2.95/-0.39] Metallicity derived from <Fe> (9)
*Note (7): Ages and metallicities derived from the Lick absorption-line indices
* fitted with EZ_Ages.
*Note (8):
* [MgFe]=(Mgb*<Fe>)^1/2^, where <Fe> =(Fe5270+Fe5335)/2.
* Thus, the metallicity can be calculated following Galleti et al. 2009
* (Cat. J/A+A/508/1285), using
* [Fe/H]_[MgFe]_=-2.563+1.119[MgFe]-0.106[MgFe]^2^+/-0.15dex(rms) Eq. (1).
*Note (9): Derived from <Fe> =(Fe5270+Fe5335)/2 following Caldwell et al. 2011
* (Cat. J/AJ/141/61).
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5.dat' ! Ages and metallicities derived from the Lick
absorption-line indices fitted with the
Thomas et al. 2011MNRAS.412.2183T models
integer*4 nr__4
parameter (nr__4=22) ! Number of records
character*75 ar__4 ! Full-size record
character*10 Name_4 ! Globular cluster identification
real*4 logAge4 ! (yr) [8/10.2] Log of age derived from the Lick
* absorption-line index fitted with the Thomas
* et al. 2011MNRAS.412.2183T models (10)
real*4 e_logAge4 ! (yr) [0/0.22] Negative error in logAge4
real*4 E_logAge4_1 ! (yr) [0/0.19] Positive error in logAge4
real*4 v_Z_H_ ! ([Sun]) [-2.2/-0.29] Metallicity derived from the Lick
* absorption-line index fitted with the Thomas
* et al. 2011MNRAS.412.2183T models (10)
real*4 e__Z_H_ ! ([Sun]) [0.09/0.47] Negative error in [Z/H]
real*4 E__Z_H__1 ! ([Sun]) [0.1/0.75] Positive error in [Z/H]
real*4 v_a_Fe_ ! ([Sun]) [-0.3/0.5] [{alpha}/Fe] ratio derived from the
* Lick absorption-line index fitted with the
* Thomas et al. 2011MNRAS.412.2183T models (10)
real*4 e__a_Fe_ ! ([Sun]) [0/0.8] Negative error in [a/Fe]
real*4 E__a_Fe__1 ! ([Sun]) [0/0.8] Positive error in [a/Fe]
*Note (10): For the evolutionary tracks of Cassisi et al. 1997A&A...317..108C and
* the Padova models of Thomas et al. 2011MNRAS.412.2183T.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table6.dat' ! Ages and metallicities derived from the Lick
absorption-line indices fitted with the GALEV
models
integer*4 nr__5
parameter (nr__5=22) ! Number of records
character*52 ar__5 ! Full-size record
character*10 Name_5 ! Globular cluster identification
real*4 logAge5 ! (yr) [6.6/10.2] Log of age derived from the Lick
* absorption-line index fitted with the GALEV
* models (11)
real*4 e_logAge5 ! (yr) [0/0.315] Negative error in logAge5
real*4 E_logAge5_1 ! (yr) [0/0.85] Positive error in logAge5
real*4 v_Fe_H_6 ! ([Sun]) [-2.2/0.24] Metallicity derived from the Lick
* absorption-line index fitted with the GALEV
* models (11)
real*4 e__Fe_H_6 ! ([Sun]) [0.075/0.76] Negative error in [Fe/H]
real*4 E__Fe_H_6_1 ! ([Sun]) [0.001/1.5] Positive error in [Fe/H]
*Note (11): Fitted with the Galaxy Evolutionary Synthesis Models (GALEV; Lilly &
* Fritze-v. Alvensleben 2006A&A...457..467L; Kotulla et al.
* 2009MNRAS.396..462K; see also Section 4.3 for additional details about the
* GALEV models).
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table7.dat' ! Lick/IDS index {chi}_min_^2^ fit results using
Bruzual & Charlot 2003MNRAS.344.1000B models
integer*4 nr__6
parameter (nr__6=88) ! Number of records
character*142 ar__6 ! Full-size record
character*1 IMF ! Initial Mass Function (C=Chabrier, or
* S=Salpeter) (1)
character*3 SET ! Stellar Evolutionary Tracks (P00 or P94) (2)
character*10 Name_6 ! Globular cluster identification
real*4 logAge6 ! (yr) [6.4/10.1] Lick/IDS log of age (3)
real*4 e_logAge6 ! (yr) [0.02/0.45] Negative error in logAge6
real*4 E_logAge6_1 ! (yr) [0.024/0.44] Positive error in logAge6
real*4 v_Fe_H_7 ! ([Sun]) [-2.25/0.28] Lick/IDS metallicity (3)
real*4 e__Fe_H_7 ! ([Sun]) [0/0.5] Negative error in [Fe/H]7
real*4 E__Fe_H_7_1 ! ([Sun]) [0.048/0.55] Positive error in [Fe/H]7
real*4 logAge7 ! (yr) [8.9/10.2] SED log of age (4)
real*4 e_logAge7 ! (yr) [0.004/0.62] Negative error in logAge7
real*4 E_logAge7_1 ! (yr) [0/0.63] Positive error in logAge7
real*4 v_Fe_H_8 ! ([Sun]) [-2.25/0.56] SED metallicity (4)
real*4 e__Fe_H_8 ! ([Sun]) [0/0.74] Negative error in [Fe/H]8
real*4 E__Fe_H_8_1 ! ([Sun]) [0/0.86] Positive error in [Fe/H]8
real*4 logAge8 ! (yr) [6.6/10.14] Log of age from both fits (5)
real*4 e_logAge8 ! (yr) [0.01/0.7] Negative error in logAge8
real*4 E_logAge8_1 ! (yr) [0/3.5] Positive error in logAge8
real*4 v_Fe_H_9 ! ([Sun]) [-2.25/-0.17] Metallicity from both fits (5)
real*4 e__Fe_H_9 ! ([Sun]) [0/0.57] Negative error in [Fe/H]9
real*4 E__Fe_H_9_1 ! ([Sun]) [0.06/0.73] Positive error in [Fe/H]9
*Note (1): Source of the stellar initial mass function:
* S = Stellar initial mass function (IMF) of Salpeter 1955ApJ...121..161S;
* C = Stellar initial mass function (IMF) of Chabrier 2003PASP..115..763C.
*Note (2): Source of stellar evolutionary tracks:
* P00 = 2000 Padova stellar evolutionary tracks;
* P94 = 1994 Padova stellar evolutionary tracks.
*Note (3): Derived only from Lick/IDS absorption-line index fits.
*Note (4): Derived, only based on Spectral Energy Distribution (SED) fitting.
*Note (5): Derived from both the Lick/IDS absorption indices and the SED fits.
C=============================================================================
C Loading file 'table1.dat' ! Observations of our sample globular clusters
C Format for file interpretation
1 format(
+ A10,1X,I2,1X,I2,1X,F6.3,1X,A1,I2,1X,I2,1X,F5.2,1X,F5.2,1X,
+ F5.2,1X,I3,1X,I1,1X,A11)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,22
read(1,'(A66)')ar__
read(ar__,1)
+ Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Rp,Vmag,Exp,Nexp,Date
if(ar__(54:54) .EQ. '') Nexp = iNULL__
RAdeg = rNULL__
DEdeg = rNULL__
c Derive coordinates RAdeg and DEdeg from input data
c (RAdeg and DEdeg are set to rNULL__ when unknown)
if(RAh .GT. -180) RAdeg=RAh*15.
if(RAm .GT. -180) RAdeg=RAdeg+RAm/4.
if(RAs .GT. -180) RAdeg=RAdeg+RAs/240.
if(DEd .GE. 0) DEdeg=DEd
if(DEm .GE. 0) DEdeg=DEdeg+DEm/60.
if(DEs .GE. 0) DEdeg=DEdeg+DEs/3600.
if(DE_.EQ.'-'.AND.DEdeg.GE.0) DEdeg=-DEdeg
c ..............Just test output...........
write(6,1)
+ Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,Rp,Vmag,Exp,Nexp,Date
write(6,'(6H Pos: 2F8.4)') RAdeg,DEdeg
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Radial velocities, V_r_, of our sample globular
* clusters as well as previously published
* measurements
C Format for file interpretation
2 format(A10,1X,A1,1X,I4,1X,I3,1X,I4,1X,I2,1X,I4,1X,I2,1X,A1)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,22
read(1,'(A39)')ar__1
read(ar__1,2)Name_1,f_Name,RV1,e_RV1,RV2,e_RV2,RV3,e_RV3,f_RV3
if(ar__1(31:34) .EQ. '') RV3 = iNULL__
if(ar__1(36:37) .EQ. '') e_RV3 = iNULL__
c ..............Just test output...........
write(6,2)Name_1,f_Name,RV1,e_RV1,RV2,e_RV2,RV3,e_RV3,f_RV3
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! Ages and metallicities derived from the Lick
* absorption-line indices fitted with ULySS
C Format for file interpretation
3 format(
+ A10,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,1X,F5.3,1X,F6.3,
+ 1X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,22
read(1,'(A62)')ar__2
read(ar__2,3)
+ Name_2,logAge1,e_logAge1,logAge2,e_logAge2,v_Fe_H_1,e__Fe_H_1,
+ v_Fe_H_2,e__Fe_H_2
c ..............Just test output...........
write(6,3)
+ Name_2,logAge1,e_logAge1,logAge2,e_logAge2,v_Fe_H_1,e__Fe_H_1,
+ v_Fe_H_2,e__Fe_H_2
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! Ages and metallicities derived from the Lick
* absorption-line indices fitted with EZ_Ages
C Format for file interpretation
4 format(A10,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,22
read(1,'(A34)')ar__3
read(ar__3,4)Name_3,logAge3,v_Fe_H_3,v_Fe_H_4,v_Fe_H_5
c ..............Just test output...........
write(6,4)Name_3,logAge3,v_Fe_H_3,v_Fe_H_4,v_Fe_H_5
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5.dat' ! Ages and metallicities derived from the Lick
* absorption-line indices fitted with the
* Thomas et al. 2011MNRAS.412.2183T models
C Format for file interpretation
5 format(
+ A10,3X,F6.3,2X,F5.3,2X,F5.3,1X,F6.3,2X,F5.3,2X,F5.3,1X,F6.3,
+ 2X,F5.3,2X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table5.dat')
write(6,*) '....Loading file: table5.dat'
do i__=1,22
read(1,'(A75)')ar__4
read(ar__4,5)
+ Name_4,logAge4,e_logAge4,E_logAge4_1,v_Z_H_,e__Z_H_,E__Z_H__1,
+ v_a_Fe_,e__a_Fe_,E__a_Fe__1
c ..............Just test output...........
write(6,5)
+ Name_4,logAge4,e_logAge4,E_logAge4_1,v_Z_H_,e__Z_H_,E__Z_H__1,
+ v_a_Fe_,e__a_Fe_,E__a_Fe__1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table6.dat' ! Ages and metallicities derived from the Lick
* absorption-line indices fitted with the GALEV
* models
C Format for file interpretation
6 format(A10,1X,F6.3,2X,F5.3,2X,F5.3,1X,F6.3,2X,F5.3,2X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table6.dat')
write(6,*) '....Loading file: table6.dat'
do i__=1,22
read(1,'(A52)')ar__5
read(ar__5,6)
+ Name_5,logAge5,e_logAge5,E_logAge5_1,v_Fe_H_6,e__Fe_H_6,
+ E__Fe_H_6_1
c ..............Just test output...........
write(6,6)
+ Name_5,logAge5,e_logAge5,E_logAge5_1,v_Fe_H_6,e__Fe_H_6,
+ E__Fe_H_6_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table7.dat' ! Lick/IDS index {chi}_min_^2^ fit results using
* Bruzual & Charlot 2003MNRAS.344.1000B models
C Format for file interpretation
7 format(
+ A1,1X,A3,1X,A10,1X,F6.3,2X,F5.3,2X,F5.3,1X,F6.3,2X,F5.3,2X,
+ F5.3,1X,F6.3,2X,F5.3,2X,F5.3,1X,F6.3,2X,F5.3,2X,F5.3,1X,F6.3,
+ 2X,F5.3,2X,F5.3,1X,F6.3,2X,F5.3,2X,F5.3)
C Effective file loading
open(unit=1,status='old',file=
+'table7.dat')
write(6,*) '....Loading file: table7.dat'
do i__=1,88
read(1,'(A142)')ar__6
read(ar__6,7)
+ IMF,SET,Name_6,logAge6,e_logAge6,E_logAge6_1,v_Fe_H_7,
+ e__Fe_H_7,E__Fe_H_7_1,logAge7,e_logAge7,E_logAge7_1,v_Fe_H_8,
+ e__Fe_H_8,E__Fe_H_8_1,logAge8,e_logAge8,E_logAge8_1,v_Fe_H_9,
+ e__Fe_H_9,E__Fe_H_9_1
c ..............Just test output...........
write(6,7)
+ IMF,SET,Name_6,logAge6,e_logAge6,E_logAge6_1,v_Fe_H_7,
+ e__Fe_H_7,E__Fe_H_7_1,logAge7,e_logAge7,E_logAge7_1,v_Fe_H_8,
+ e__Fe_H_8,E__Fe_H_8_1,logAge8,e_logAge8,E_logAge8_1,v_Fe_H_9,
+ e__Fe_H_9,E__Fe_H_9_1
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end